enum @notBlank제거
This commit is contained in:
@@ -184,7 +184,6 @@ public class GeoJsonValidator {
|
||||
continue;
|
||||
}
|
||||
|
||||
foundUnique.add(sceneId);
|
||||
// foundUnique.add(sceneId)가 false면 "이미 같은 값이 있었다"는 뜻 => 중복
|
||||
if (!foundUnique.add(sceneId)) {
|
||||
duplicates.add(sceneId);
|
||||
|
||||
@@ -271,7 +271,7 @@ public class InferenceResultService {
|
||||
List<MngListDto> targetMngList =
|
||||
mapSheetMngCoreService.getMapSheetMngHst(targetYyyy, req.getMapSheetNum());
|
||||
|
||||
log.info("targetMngList size = {}", targetMngList.size());
|
||||
log.info("[runPrev] targetMngList size = {}", targetMngList.size());
|
||||
if (targetMngList == null || targetMngList.isEmpty()) {
|
||||
throw new CustomApiException("NOT_FOUND_TARGET_YEAR", HttpStatus.NOT_FOUND);
|
||||
}
|
||||
@@ -280,12 +280,12 @@ public class InferenceResultService {
|
||||
List<MngListDto> compareMngList =
|
||||
mapSheetMngCoreService.getMapSheetMngHst(compareYyyy, req.getMapSheetNum());
|
||||
|
||||
log.info("compareMngList size = {}", compareMngList.size());
|
||||
log.info("[runPrev] compareMngList size = {}", compareMngList.size());
|
||||
if (compareMngList == null || compareMngList.isEmpty()) {
|
||||
throw new CustomApiException("NOT_FOUND_COMPARE_YEAR", HttpStatus.NOT_FOUND);
|
||||
}
|
||||
|
||||
log.info("Difference in count = {}", targetMngList.size() - compareMngList.size());
|
||||
log.info("[runPrev] Difference in count = {}", targetMngList.size() - compareMngList.size());
|
||||
|
||||
// 로그용 원본 카운트 (이전도엽 추가 전)
|
||||
int targetTotal = targetMngList.size();
|
||||
@@ -306,14 +306,12 @@ public class InferenceResultService {
|
||||
.filter(num -> !compareSet0.contains(num))
|
||||
.toList();
|
||||
|
||||
log.info("targetOnlyMapSheetNums in count = {}", targetOnlyMapSheetNums.size());
|
||||
log.info("[runPrev] targetOnlyMapSheetNums in count = {}", targetOnlyMapSheetNums.size());
|
||||
|
||||
// 이전연도 초회 추가
|
||||
compareMngList.addAll(
|
||||
mapSheetMngCoreService.findFallbackCompareYearByMapSheets(
|
||||
compareYyyy, targetOnlyMapSheetNums));
|
||||
compareMngList.addAll(mapSheetMngCoreService.findFallbackCompareYearByMapSheets(compareYyyy, targetOnlyMapSheetNums));
|
||||
|
||||
log.info("fallback compare size= {}", compareMngList.size());
|
||||
log.info("[runPrev] fallback compare size= {}", compareMngList.size());
|
||||
|
||||
// 이전연도 추가 후 compare 총 개수
|
||||
int compareTotalAfterFallback = compareMngList.size();
|
||||
|
||||
Reference in New Issue
Block a user