[KC-99] 추론상세 stage 추가

This commit is contained in:
2026-01-15 13:37:25 +09:00
parent 85a1ffbcf0
commit 94077377f2
2 changed files with 6 additions and 3 deletions

View File

@@ -438,7 +438,7 @@ public class InferenceDetailDto {
private String mapSheetScope; private String mapSheetScope;
@JsonFormatDttm private ZonedDateTime inferStartDttm; @JsonFormatDttm private ZonedDateTime inferStartDttm;
@JsonFormatDttm private ZonedDateTime inferEndDttm; @JsonFormatDttm private ZonedDateTime inferEndDttm;
private Integer stage;
private String elapsedDuration; private String elapsedDuration;
public AnalResultInfo( public AnalResultInfo(
@@ -451,7 +451,8 @@ public class InferenceDetailDto {
String detectOption, String detectOption,
String mapSheetScope, String mapSheetScope,
ZonedDateTime inferStartDttm, ZonedDateTime inferStartDttm,
ZonedDateTime inferEndDttm) { ZonedDateTime inferEndDttm,
Integer stage) {
this.analTitle = analTitle; this.analTitle = analTitle;
this.modelVer1 = modelVer1; this.modelVer1 = modelVer1;
this.modelVer2 = modelVer2; this.modelVer2 = modelVer2;
@@ -462,6 +463,7 @@ public class InferenceDetailDto {
this.mapSheetScope = MapSheetScope.getDescByCode(mapSheetScope); this.mapSheetScope = MapSheetScope.getDescByCode(mapSheetScope);
this.inferStartDttm = inferStartDttm; this.inferStartDttm = inferStartDttm;
this.inferEndDttm = inferEndDttm; this.inferEndDttm = inferEndDttm;
this.stage = stage;
Duration elapsed = Duration elapsed =
(inferStartDttm != null && inferEndDttm != null) (inferStartDttm != null && inferEndDttm != null)
? Duration.between(inferStartDttm, inferEndDttm) ? Duration.between(inferStartDttm, inferEndDttm)

View File

@@ -304,7 +304,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
mapSheetLearnEntity.detectOption, mapSheetLearnEntity.detectOption,
mapSheetLearnEntity.mapSheetScope, mapSheetLearnEntity.mapSheetScope,
mapSheetLearnEntity.inferStartDttm, mapSheetLearnEntity.inferStartDttm,
mapSheetLearnEntity.inferEndDttm)) mapSheetLearnEntity.inferEndDttm,
mapSheetLearnEntity.stage))
.from(mapSheetLearnEntity) .from(mapSheetLearnEntity)
.leftJoin(m1) .leftJoin(m1)
.on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid)) .on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))