[KC-116] shp 파일 생성 기능 수정

This commit is contained in:
2026-01-19 10:48:38 +09:00
parent 1f43542b3b
commit 532757ebe7

View File

@@ -53,9 +53,7 @@ public class MapSheetInferenceJobService {
@Value("${inference.jar-path}") @Value("${inference.jar-path}")
private String jarPath; private String jarPath;
/** /** 추론 진행 배치 1분 */
* 추론 진행 배치 1분
*/
@Scheduled(fixedDelay = 60_000) @Scheduled(fixedDelay = 60_000)
public void runBatch() { public void runBatch() {
if (isLocalProfile()) { if (isLocalProfile()) {
@@ -414,8 +412,7 @@ public class MapSheetInferenceJobService {
// 4) 응답 파싱 // 4) 응답 파싱
try { try {
List<Map<String, Object>> list = List<Map<String, Object>> list =
objectMapper.readValue(result.body(), new TypeReference<>() { objectMapper.readValue(result.body(), new TypeReference<>() {});
});
if (list.isEmpty()) { if (list.isEmpty()) {
throw new IllegalStateException("Inference response is empty"); throw new IllegalStateException("Inference response is empty");
@@ -443,9 +440,7 @@ public class MapSheetInferenceJobService {
return "local".equalsIgnoreCase(profile); return "local".equalsIgnoreCase(profile);
} }
/** /** 모델별 추론 종료 update */
* 모델별 추론 종료 update
*/
private void updateProcessingEndTimeByModel( private void updateProcessingEndTimeByModel(
JobStatusDto dto, UUID uuid, ZonedDateTime dateTime, String type) { JobStatusDto dto, UUID uuid, ZonedDateTime dateTime, String type) {
SaveInferenceAiDto saveInferenceAiDto = new SaveInferenceAiDto(); SaveInferenceAiDto saveInferenceAiDto = new SaveInferenceAiDto();