feat/infer_dev_260211 #126
@@ -458,6 +458,7 @@ public class InferenceDetailDto {
|
|||||||
private String bboxGeom;
|
private String bboxGeom;
|
||||||
private String bboxCenterPoint;
|
private String bboxCenterPoint;
|
||||||
private UUID inferenceUuid;
|
private UUID inferenceUuid;
|
||||||
|
private String status;
|
||||||
|
|
||||||
public AnalResultInfo(
|
public AnalResultInfo(
|
||||||
String analTitle,
|
String analTitle,
|
||||||
@@ -474,7 +475,8 @@ public class InferenceDetailDto {
|
|||||||
String subUid,
|
String subUid,
|
||||||
Boolean applyYn,
|
Boolean applyYn,
|
||||||
ZonedDateTime applyDttm,
|
ZonedDateTime applyDttm,
|
||||||
UUID inferenceUuid) {
|
UUID inferenceUuid,
|
||||||
|
String status) {
|
||||||
this.analTitle = analTitle;
|
this.analTitle = analTitle;
|
||||||
this.modelVer1 = modelVer1;
|
this.modelVer1 = modelVer1;
|
||||||
this.modelVer2 = modelVer2;
|
this.modelVer2 = modelVer2;
|
||||||
@@ -489,6 +491,7 @@ public class InferenceDetailDto {
|
|||||||
this.subUid = subUid;
|
this.subUid = subUid;
|
||||||
this.applyYn = applyYn;
|
this.applyYn = applyYn;
|
||||||
this.applyDttm = applyDttm;
|
this.applyDttm = applyDttm;
|
||||||
|
this.status = status;
|
||||||
Duration elapsed =
|
Duration elapsed =
|
||||||
(inferStartDttm != null && inferEndDttm != null)
|
(inferStartDttm != null && inferEndDttm != null)
|
||||||
? Duration.between(inferStartDttm, inferEndDttm)
|
? Duration.between(inferStartDttm, inferEndDttm)
|
||||||
@@ -538,6 +541,10 @@ public class InferenceDetailDto {
|
|||||||
public Boolean getApplyYn() {
|
public Boolean getApplyYn() {
|
||||||
return this.applyYn != null && this.applyYn;
|
return this.applyYn != null && this.applyYn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getStatusNm() {
|
||||||
|
return InferenceResultDto.Status.getDescByCode(this.status);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
|
|||||||
@@ -315,7 +315,8 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
|
|||||||
Expressions.stringTemplate("substring({0} from 1 for 8)", mapSheetLearnEntity.uid),
|
Expressions.stringTemplate("substring({0} from 1 for 8)", mapSheetLearnEntity.uid),
|
||||||
mapSheetLearnEntity.applyYn,
|
mapSheetLearnEntity.applyYn,
|
||||||
mapSheetLearnEntity.applyDttm,
|
mapSheetLearnEntity.applyDttm,
|
||||||
mapSheetAnalInferenceEntity.uuid))
|
mapSheetAnalInferenceEntity.uuid,
|
||||||
|
mapSheetLearnEntity.status))
|
||||||
.from(mapSheetLearnEntity)
|
.from(mapSheetLearnEntity)
|
||||||
.leftJoin(m1)
|
.leftJoin(m1)
|
||||||
.on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))
|
.on(mapSheetLearnEntity.m1ModelUuid.eq(m1.uuid))
|
||||||
|
|||||||
Reference in New Issue
Block a user