Merge pull request '[KC-99] 추론상세 stage 추가' (#242) from feat/infer_dev_260107 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/242
This commit is contained in:
@@ -438,7 +438,7 @@ public class InferenceDetailDto {
|
||||
private String mapSheetScope;
|
||||
@JsonFormatDttm private ZonedDateTime inferStartDttm;
|
||||
@JsonFormatDttm private ZonedDateTime inferEndDttm;
|
||||
|
||||
private Integer stage;
|
||||
private String elapsedDuration;
|
||||
|
||||
public AnalResultInfo(
|
||||
@@ -451,7 +451,8 @@ public class InferenceDetailDto {
|
||||
String detectOption,
|
||||
String mapSheetScope,
|
||||
ZonedDateTime inferStartDttm,
|
||||
ZonedDateTime inferEndDttm) {
|
||||
ZonedDateTime inferEndDttm,
|
||||
Integer stage) {
|
||||
this.analTitle = analTitle;
|
||||
this.modelVer1 = modelVer1;
|
||||
this.modelVer2 = modelVer2;
|
||||
@@ -462,6 +463,7 @@ public class InferenceDetailDto {
|
||||
this.mapSheetScope = MapSheetScope.getDescByCode(mapSheetScope);
|
||||
this.inferStartDttm = inferStartDttm;
|
||||
this.inferEndDttm = inferEndDttm;
|
||||
this.stage = stage;
|
||||
Duration elapsed =
|
||||
(inferStartDttm != null && inferEndDttm != null)
|
||||
? Duration.between(inferStartDttm, inferEndDttm)
|
||||
|
||||
@@ -304,7 +304,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
||||
mapSheetLearnEntity.detectOption,
|
||||
mapSheetLearnEntity.mapSheetScope,
|
||||
mapSheetLearnEntity.inferStartDttm,
|
||||
mapSheetLearnEntity.inferEndDttm))
|
||||
mapSheetLearnEntity.inferEndDttm,
|
||||
mapSheetLearnEntity.stage))
|
||||
.from(mapSheetLearnEntity)
|
||||
.leftJoin(m1)
|
||||
.on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))
|
||||
|
||||
Reference in New Issue
Block a user