From e32f5e33d93410d5a532af328bec7bbe42957f45 Mon Sep 17 00:00:00 2001 From: "gayoun.park" Date: Sat, 28 Feb 2026 00:34:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EB=A1=A0=20=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=EC=97=90=20=EC=83=81=ED=83=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/kamcoback/inference/dto/InferenceDetailDto.java | 9 ++++++++- .../Inference/MapSheetLearnRepositoryImpl.java | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceDetailDto.java b/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceDetailDto.java index 27705cc1..d587750b 100644 --- a/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceDetailDto.java +++ b/src/main/java/com/kamco/cd/kamcoback/inference/dto/InferenceDetailDto.java @@ -458,6 +458,7 @@ public class InferenceDetailDto { private String bboxGeom; private String bboxCenterPoint; private UUID inferenceUuid; + private String status; public AnalResultInfo( String analTitle, @@ -474,7 +475,8 @@ public class InferenceDetailDto { String subUid, Boolean applyYn, ZonedDateTime applyDttm, - UUID inferenceUuid) { + UUID inferenceUuid, + String status) { this.analTitle = analTitle; this.modelVer1 = modelVer1; this.modelVer2 = modelVer2; @@ -489,6 +491,7 @@ public class InferenceDetailDto { this.subUid = subUid; this.applyYn = applyYn; this.applyDttm = applyDttm; + this.status = status; Duration elapsed = (inferStartDttm != null && inferEndDttm != null) ? Duration.between(inferStartDttm, inferEndDttm) @@ -538,6 +541,10 @@ public class InferenceDetailDto { public Boolean getApplyYn() { return this.applyYn != null && this.applyYn; } + + public String getStatusNm() { + return InferenceResultDto.Status.getDescByCode(this.status); + } } @Getter diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/MapSheetLearnRepositoryImpl.java b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/MapSheetLearnRepositoryImpl.java index 9441f4f2..49c210e7 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/MapSheetLearnRepositoryImpl.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/MapSheetLearnRepositoryImpl.java @@ -315,7 +315,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto Expressions.stringTemplate("substring({0} from 1 for 8)", mapSheetLearnEntity.uid), mapSheetLearnEntity.applyYn, mapSheetLearnEntity.applyDttm, - mapSheetAnalInferenceEntity.uuid)) + mapSheetAnalInferenceEntity.uuid, + mapSheetLearnEntity.status)) .from(mapSheetLearnEntity) .leftJoin(m1) .on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))