영상관리 - 자동추론제외 수정, uploadPair 수정
This commit is contained in:
@@ -132,15 +132,6 @@ public class MapSheetMngFileJobService {
|
||||
|
||||
if (tfwCnt == 0 && tifCnt == 0) {
|
||||
syncState = "NOFILE";
|
||||
|
||||
item.setUseInference("EXCEPT"); // hst 테이블 use_inference EXCEPT 하기
|
||||
// tb_map_inkx_5k 테이블 자동 추론제외 update
|
||||
mapSheetMngFileJobCoreService.updateException5kMapSheet(
|
||||
item.getMapSheetNum(), CommonUseStatus.AUTO_EXCEPT);
|
||||
} else {
|
||||
// tb_map_inkx_5k 테이블 자동 추론제외 해제 -> 사용으로 처리
|
||||
mapSheetMngFileJobCoreService.updateException5kMapSheet(
|
||||
item.getMapSheetNum(), CommonUseStatus.USE);
|
||||
}
|
||||
|
||||
for (Basic item2 : basicList) {
|
||||
@@ -199,9 +190,19 @@ public class MapSheetMngFileJobService {
|
||||
// 도엽별 파일 체크 완료로 변경
|
||||
item.setDataState("DONE");
|
||||
|
||||
// syncState가 DONE 이 아닐 때 자동추론 제외, DONE 이면 사용 처리
|
||||
if (syncState.isEmpty()) {
|
||||
syncState = "DONE";
|
||||
// tb_map_inkx_5k 테이블 자동 추론제외 해제 -> 사용으로 처리
|
||||
mapSheetMngFileJobCoreService.updateException5kMapSheet(
|
||||
item.getMapSheetNum(), CommonUseStatus.USE);
|
||||
} else {
|
||||
item.setUseInference("EXCEPT"); // hst 테이블 use_inference EXCEPT 하기
|
||||
// tb_map_inkx_5k 테이블 자동 추론제외 update
|
||||
mapSheetMngFileJobCoreService.updateException5kMapSheet(
|
||||
item.getMapSheetNum(), CommonUseStatus.AUTO_EXCEPT);
|
||||
}
|
||||
|
||||
item.setSyncState(syncState);
|
||||
|
||||
mngHstDataSyncStateUpdate(item);
|
||||
|
||||
Reference in New Issue
Block a user