추론 결과 상세정보 inference 테이블 uuid 추가

This commit is contained in:
2026-01-26 15:33:01 +09:00
parent f1f8753fbb
commit 1ed4a1eeee
2 changed files with 8 additions and 2 deletions

View File

@@ -457,6 +457,7 @@ public class InferenceDetailDto {
private String bboxGeom;
private String bboxCenterPoint;
private UUID inferenceUuid;
public AnalResultInfo(
String analTitle,
@@ -472,7 +473,8 @@ public class InferenceDetailDto {
Integer stage,
String subUid,
Boolean applyYn,
ZonedDateTime applyDttm) {
ZonedDateTime applyDttm,
UUID inferenceUuid) {
this.analTitle = analTitle;
this.modelVer1 = modelVer1;
this.modelVer2 = modelVer2;
@@ -502,6 +504,7 @@ public class InferenceDetailDto {
this.elapsedDuration = String.format("%02d:%02d:%02d", h, m, s);
}
this.inferenceUuid = inferenceUuid;
}
@JsonProperty("bboxGeom")

View File

@@ -328,7 +328,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
mapSheetLearnEntity.stage,
Expressions.stringTemplate("substring({0} from 1 for 8)", mapSheetLearnEntity.uid),
mapSheetLearnEntity.applyYn,
mapSheetLearnEntity.applyDttm))
mapSheetLearnEntity.applyDttm,
mapSheetAnalInferenceEntity.uuid))
.from(mapSheetLearnEntity)
.leftJoin(m1)
.on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))
@@ -336,6 +337,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
.on(mapSheetLearnEntity.m2ModelUuid.eq(m2.uuid))
.leftJoin(m3)
.on(mapSheetLearnEntity.m3ModelUuid.eq(m3.uuid))
.leftJoin(mapSheetAnalInferenceEntity)
.on(mapSheetAnalInferenceEntity.learnId.eq(mapSheetLearnEntity.id))
.where(mapSheetLearnEntity.uuid.eq(uuid))
.fetchOne();
}