추론실행할때 회차 저장 제거
This commit is contained in:
@@ -419,6 +419,7 @@ public class InferenceDetailDto {
|
|||||||
private UUID m1ModelUuid;
|
private UUID m1ModelUuid;
|
||||||
private UUID m2ModelUuid;
|
private UUID m2ModelUuid;
|
||||||
private UUID m3ModelUuid;
|
private UUID m3ModelUuid;
|
||||||
|
private String uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(name = "AnalResultInfo", description = "추론결과 기본정보")
|
@Schema(name = "AnalResultInfo", description = "추론결과 기본정보")
|
||||||
|
|||||||
@@ -175,6 +175,9 @@ public class InferenceResultDto {
|
|||||||
@Schema(description = "기준년도")
|
@Schema(description = "기준년도")
|
||||||
private Integer targetYyyy;
|
private Integer targetYyyy;
|
||||||
|
|
||||||
|
@Schema(description = "uid")
|
||||||
|
private String uid;
|
||||||
|
|
||||||
@Schema(description = "상태명")
|
@Schema(description = "상태명")
|
||||||
@JsonProperty("statusName")
|
@JsonProperty("statusName")
|
||||||
public String statusName() {
|
public String statusName() {
|
||||||
|
|||||||
@@ -363,6 +363,7 @@ public class InferenceResultCoreService {
|
|||||||
inferenceBatchSheet.setM1ModelUuid(entity.getM1ModelUuid());
|
inferenceBatchSheet.setM1ModelUuid(entity.getM1ModelUuid());
|
||||||
inferenceBatchSheet.setM2ModelUuid(entity.getM2ModelUuid());
|
inferenceBatchSheet.setM2ModelUuid(entity.getM2ModelUuid());
|
||||||
inferenceBatchSheet.setM3ModelUuid(entity.getM3ModelUuid());
|
inferenceBatchSheet.setM3ModelUuid(entity.getM3ModelUuid());
|
||||||
|
inferenceBatchSheet.setUid(entity.getUid());
|
||||||
return inferenceBatchSheet;
|
return inferenceBatchSheet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -186,6 +186,9 @@ public class MapSheetLearnEntity {
|
|||||||
@Column(name = "m3_failed_jobs", nullable = false)
|
@Column(name = "m3_failed_jobs", nullable = false)
|
||||||
private int m3FailedJobs = 0;
|
private int m3FailedJobs = 0;
|
||||||
|
|
||||||
|
@Column(name = "uid", nullable = false)
|
||||||
|
private String uid;
|
||||||
|
|
||||||
public InferenceResultDto.ResultList toDto() {
|
public InferenceResultDto.ResultList toDto() {
|
||||||
return new InferenceResultDto.ResultList(
|
return new InferenceResultDto.ResultList(
|
||||||
this.uuid,
|
this.uuid,
|
||||||
@@ -199,6 +202,7 @@ public class MapSheetLearnEntity {
|
|||||||
this.applyYn,
|
this.applyYn,
|
||||||
this.applyDttm,
|
this.applyDttm,
|
||||||
this.compareYyyy,
|
this.compareYyyy,
|
||||||
this.targetYyyy);
|
this.targetYyyy,
|
||||||
|
this.uid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,6 +283,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
|
|||||||
INNER JOIN tb_map_sheet_anal_data_inference_geom msadig
|
INNER JOIN tb_map_sheet_anal_data_inference_geom msadig
|
||||||
ON msadi.data_uid = msadig.data_uid
|
ON msadi.data_uid = msadig.data_uid
|
||||||
WHERE msai.anal_uid = :analUid
|
WHERE msai.anal_uid = :analUid
|
||||||
|
AND msadig.class_before_cd IS NOT NULL
|
||||||
|
AND msadig.class_after_cd IS NOT NULL
|
||||||
GROUP BY
|
GROUP BY
|
||||||
msadig.compare_yyyy
|
msadig.compare_yyyy
|
||||||
,msadig.target_yyyy
|
,msadig.target_yyyy
|
||||||
|
|||||||
@@ -222,7 +222,6 @@ public class MapSheetInferenceJobService {
|
|||||||
List<InferenceResultsTestingDto.ShpDto> resultList =
|
List<InferenceResultsTestingDto.ShpDto> resultList =
|
||||||
inferenceResultCoreService.getInferenceResults(batchIds);
|
inferenceResultCoreService.getInferenceResults(batchIds);
|
||||||
String inferenceId = "";
|
String inferenceId = "";
|
||||||
boolean first = true;
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
for (InferenceResultsTestingDto.ShpDto dto : resultList) {
|
for (InferenceResultsTestingDto.ShpDto dto : resultList) {
|
||||||
@@ -233,12 +232,8 @@ public class MapSheetInferenceJobService {
|
|||||||
sb.append(",");
|
sb.append(",");
|
||||||
}
|
}
|
||||||
sb.append("\"").append(dto.getMapId()).append("\"");
|
sb.append("\"").append(dto.getMapId()).append("\"");
|
||||||
|
|
||||||
if (first) {
|
|
||||||
inferenceId = dto.getUid();
|
|
||||||
first = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
inferenceId = sheet.getUid();
|
||||||
String mapIds = sb.toString();
|
String mapIds = sb.toString();
|
||||||
String batchId = sheet.getM1BatchId() + "," + sheet.getM2BatchId() + "," + sheet.getM3BatchId();
|
String batchId = sheet.getM1BatchId() + "," + sheet.getM2BatchId() + "," + sheet.getM3BatchId();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user