추론실행할때 회차 저장 제거

This commit is contained in:
2026-01-16 17:38:37 +09:00
parent d4bad6485e
commit c7db60cccc
6 changed files with 13 additions and 7 deletions

View File

@@ -363,6 +363,7 @@ public class InferenceResultCoreService {
inferenceBatchSheet.setM1ModelUuid(entity.getM1ModelUuid());
inferenceBatchSheet.setM2ModelUuid(entity.getM2ModelUuid());
inferenceBatchSheet.setM3ModelUuid(entity.getM3ModelUuid());
inferenceBatchSheet.setUid(entity.getUid());
return inferenceBatchSheet;
}

View File

@@ -186,6 +186,9 @@ public class MapSheetLearnEntity {
@Column(name = "m3_failed_jobs", nullable = false)
private int m3FailedJobs = 0;
@Column(name = "uid", nullable = false)
private String uid;
public InferenceResultDto.ResultList toDto() {
return new InferenceResultDto.ResultList(
this.uuid,
@@ -199,6 +202,7 @@ public class MapSheetLearnEntity {
this.applyYn,
this.applyDttm,
this.compareYyyy,
this.targetYyyy);
this.targetYyyy,
this.uid);
}
}

View File

@@ -283,6 +283,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
INNER JOIN tb_map_sheet_anal_data_inference_geom msadig
ON msadi.data_uid = msadig.data_uid
WHERE msai.anal_uid = :analUid
AND msadig.class_before_cd IS NOT NULL
AND msadig.class_after_cd IS NOT NULL
GROUP BY
msadig.compare_yyyy
,msadig.target_yyyy