영상관리 자동추론제외 로직 수정
This commit is contained in:
@@ -64,9 +64,18 @@ public class MapSheetMngFileJobService {
|
||||
|
||||
for (MngHstDto item : mapSheetFileNotYetList) {
|
||||
|
||||
// mng_yyyy 가 완전 최초로 등록되는 것인지 확인
|
||||
Long mngCnt = mapSheetMngFileJobCoreService.findMngYyyyCnt(item.getMngYyyy());
|
||||
|
||||
// 5K도엽 자동추론제외
|
||||
Long exceptCheckCnt =
|
||||
this.mapSheetAutoExceptionUpdate(item.getMngYyyy(), item.getMapSheetNum());
|
||||
Long exceptCheckCnt = 0L;
|
||||
|
||||
if (mngCnt == 0) { // 최초 등록이면 도엽의 추론제외여부를 확인
|
||||
exceptCheckCnt =
|
||||
mapSheetMngFileJobCoreService.findMapSheetUseExceptCnt(item.getMapSheetNum());
|
||||
} else { // 등록된 영상 년도가 있으면 자동추론제외 확인
|
||||
exceptCheckCnt = this.mapSheetAutoExceptionUpdate(item.getMngYyyy(), item.getMapSheetNum());
|
||||
}
|
||||
|
||||
// 도엽별 파일 체크 진행중으로 변경
|
||||
item.setDataState("PROCESSING");
|
||||
|
||||
Reference in New Issue
Block a user