Преглед изворни кода

입금관리 그리드 리스트 조회 버그 수정

marseyes пре 2 година
родитељ
комит
1374ffc4ac
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/main/java/com/oqpo/api/service/loanmng/DsptMngService.java

+ 3 - 0
src/main/java/com/oqpo/api/service/loanmng/DsptMngService.java

@@ -46,6 +46,9 @@ public class DsptMngService extends CommonService {
46 46
         int gridPage = gridRequest.getGridPage();
47 47
         int gridSize = gridRequest.getGridSize();
48 48
 
49
+        fromDt = fromDt == null ? null : fromDt.replace(".", "");
50
+        toDt = toDt == null ? null : toDt.replace(".", "");
51
+
49 52
         int gridRecords = dsptMngMapper.selectDsptMngGridCnt(sBrandId, sStoreId, sDpstStCd, fromDt, toDt);
50 53
         int gridTotal = fnCalculateGridTotal(gridSize, gridRecords);
51 54
         List<LoanMgntDsptProcEntity> entities = dsptMngMapper.selectDsptMngGridList(sBrandId, sStoreId, sDpstStCd, fromDt, toDt, gridRequest);