unfit 업데이트 수정 #127

Merged
gina merged 1 commits from feat/infer_dev_260211 into develop 2026-03-04 13:21:38 +09:00
2 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import static com.kamco.cd.kamcoback.postgres.entity.QMapSheetAnalInferenceEntit
import static com.kamco.cd.kamcoback.postgres.entity.QMapSheetLearnEntity.mapSheetLearnEntity;
import static com.kamco.cd.kamcoback.postgres.entity.QPnuEntity.pnuEntity;
import com.kamco.cd.kamcoback.common.enums.ImageryFitStatus;
import com.kamco.cd.kamcoback.gukyuin.dto.ChngDetectMastDto.Basic;
import com.kamco.cd.kamcoback.gukyuin.dto.ChngDetectMastDto.LabelSendDto;
import com.kamco.cd.kamcoback.gukyuin.dto.ChngDetectMastDto.LearnKeyDto;
@@ -366,7 +367,7 @@ public class GukYuinRepositoryImpl implements GukYuinRepositoryCustom {
queryFactory
.update(mapSheetAnalDataInferenceGeomEntity)
.set(mapSheetAnalDataInferenceGeomEntity.pnu, 1L)
.set(mapSheetAnalDataInferenceGeomEntity.fitState, "Y")
.set(mapSheetAnalDataInferenceGeomEntity.fitState, ImageryFitStatus.UNFIT.getId())
.set(mapSheetAnalDataInferenceGeomEntity.fitStateDttm, ZonedDateTime.now())
.where(mapSheetAnalDataInferenceGeomEntity.geoUid.eq(geoUid))
.execute();

View File

@@ -74,11 +74,12 @@ file:
pt-FileName: v5-best.pt
inference:
nfs: C:/Users/gyparkkamco-nfs
nfs: C:/Users/gypark/kamco-nfs
url: http://10.100.0.11:8000/jobs
batch-url: http://10.100.0.11:8000/batches
jar-path: jar/shp-exporter.jar
inference-server-name: server1,server2,server3,server4
output-dir: ${inference.nfs}/model_output/export
gukyuin:
#url: http://localhost:8080
@@ -90,3 +91,6 @@ layer:
wms-path: geoserver/cd
wmts-path: geoserver/cd/gwc/service
workspace: cd
training-data:
geojson-dir: /kamco-nfs/dataset/request/