납품데이터셋 업로드 geojson 파일 수정 #174

Merged
teddy merged 1 commits from feat/training_260324 into develop 2026-03-27 10:15:32 +09:00
Showing only changes of commit 3cb9840248 - Show all commits

View File

@@ -64,11 +64,20 @@ public class DatasetBatchService {
if (fileNameStr.length < 4) {
log.error("파일명 파싱 실패: {}", fileName);
throw new IllegalArgumentException("잘못된 파일명 형식: " + fileName);
return;
// throw new IllegalArgumentException("잘못된 파일명 형식: " + fileName);
}
int compareYyyy = 0;
int targetYyyy = 0;
try {
compareYyyy = parseInt(fileNameStr[1], "compareYyyy", fileName);
targetYyyy = parseInt(fileNameStr[2], "targetYyyy", fileName);
} catch (Exception e) {
log.error("기준년도 파싱 실패: {}", fileName);
return;
}
int compareYyyy = parseInt(fileNameStr[1], "compareYyyy", fileName);
int targetYyyy = parseInt(fileNameStr[2], "targetYyyy", fileName);
String mapSheetNum = fileNameStr[3];
// JSON 유효성 체크