[KC-116] 추론 전체 실행 파일생성 수정
This commit is contained in:
@@ -170,7 +170,7 @@ public class InferenceResultApiController {
|
||||
@DeleteMapping("/end")
|
||||
public ApiResponseDto<Void> getInferenceGeomList() {
|
||||
inferenceResultService.deleteInferenceEnd();
|
||||
return null;
|
||||
return ApiResponseDto.ok(null);
|
||||
}
|
||||
|
||||
@Operation(summary = "분석 모델 선택 조회", description = "변화탐지 실행 정보 입력 모델선택 팝업 ")
|
||||
|
||||
@@ -540,6 +540,7 @@ public class InferenceResultService {
|
||||
request.setStatus(Status.END.getId());
|
||||
request.setUuid(dto.getUuid());
|
||||
request.setUpdateUid(userUtil.getId());
|
||||
request.setModelEndDttm(ZonedDateTime.now());
|
||||
inferenceResultCoreService.update(request);
|
||||
|
||||
// upsertGeomData
|
||||
|
||||
@@ -255,12 +255,13 @@ public class MapSheetMngCoreService {
|
||||
Path outputPath = Paths.get(targetDir, filename);
|
||||
|
||||
// 2) ALL일 때만 재사용
|
||||
if (isAll && Files.exists(outputPath)) {
|
||||
return outputPath.toString();
|
||||
}
|
||||
// if (isAll && Files.exists(outputPath)) {
|
||||
// return outputPath.toString();
|
||||
// }
|
||||
|
||||
// 3) 데이터 조회 (파일 없을 때만)
|
||||
// 3) 데이터 조회
|
||||
List<ImageFeature> sceneInference = mapSheetMngRepository.getSceneInference(yyyy, scenes);
|
||||
|
||||
if (sceneInference == null || sceneInference.isEmpty()) {
|
||||
log.warn(
|
||||
"NOT_FOUND_TARGET_YEAR: yyyy={}, isAll={}, scenesSize={}",
|
||||
|
||||
Reference in New Issue
Block a user