오류내역 검색 수정

This commit is contained in:
Moon
2025-12-23 14:16:58 +09:00
parent c3cbad15bd
commit a8b649519b

View File

@@ -311,6 +311,7 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
mapSheetMngHstEntity.syncState.ne("DONE").and(mapSheetMngHstEntity.syncState.ne("NOTYET"))); mapSheetMngHstEntity.syncState.ne("DONE").and(mapSheetMngHstEntity.syncState.ne("NOTYET")));
if (searchReq.getSyncState() != null && !searchReq.getSyncState().isEmpty()) { if (searchReq.getSyncState() != null && !searchReq.getSyncState().isEmpty()) {
/*
if (searchReq.getSyncState().equals("NOTPAIR")) { if (searchReq.getSyncState().equals("NOTPAIR")) {
whereBuilder.and( whereBuilder.and(
mapSheetMngHstEntity mapSheetMngHstEntity
@@ -326,6 +327,8 @@ public class MapSheetMngRepositoryImpl extends QuerydslRepositorySupport
} else { } else {
whereBuilder.and(mapSheetMngHstEntity.syncState.eq(searchReq.getSyncState())); whereBuilder.and(mapSheetMngHstEntity.syncState.eq(searchReq.getSyncState()));
} }
*/
whereBuilder.and(mapSheetMngHstEntity.syncState.eq(searchReq.getSyncState()));
} }
if (searchReq.getSyncCheckState() != null && !searchReq.getSyncCheckState().isEmpty()) { if (searchReq.getSyncCheckState() != null && !searchReq.getSyncCheckState().isEmpty()) {