모델,파일싱크 수정

This commit is contained in:
Moon
2026-01-23 18:29:58 +09:00
parent 1bb0ca2e40
commit d0d079f852
3 changed files with 21 additions and 7 deletions

View File

@@ -235,18 +235,18 @@ public class MapSheetMngFileJobService {
// List<String> mapSheetNums = new ArrayList<>();
// mapSheetNums.add(mapSheetNum);
int strtYyyy = mngYyyy - syncAutoExceptionBeforeYearCnt;
int endYyyy = mngYyyy - 1;
int strtYyyy = mngYyyy - syncAutoExceptionBeforeYearCnt + 1;
int endYyyy = mngYyyy;
// 이전년도가 3개년인 도엽 확인
// 본년도+이전년도가 3개년인 도엽 확인
Long beforeCnt =
mapSheetMngFileJobCoreService.findByHstMapSheetBeforeYyyyListCount(
strtYyyy, endYyyy, mapSheetNum);
System.out.println("mapSheetAutoExceptionUpdate mapSheetNum == " + mapSheetNum);
System.out.println("mapSheetAutoExceptionUpdate strtYyyy == " + strtYyyy);
System.out.println("mapSheetAutoExceptionUpdate endYyyy == " + endYyyy);
System.out.println("mapSheetAutoExceptionUpdate beforeCnt == " + beforeCnt);
//System.out.println("mapSheetAutoExceptionUpdate mapSheetNum == " + mapSheetNum);
//System.out.println("mapSheetAutoExceptionUpdate strtYyyy == " + strtYyyy);
//System.out.println("mapSheetAutoExceptionUpdate endYyyy == " + endYyyy);
//System.out.println("mapSheetAutoExceptionUpdate beforeCnt == " + beforeCnt);
if (beforeCnt == 0) {
System.out.println("mapSheetAutoExceptionUpdate inference == 자동추론제외");
mapSheetMngFileJobCoreService.updateException5kMapSheet(mapSheetNum);