Explorar el Código

미납금관리 버그 수정

marseyes hace 2 años
padre
commit
61b31707b3

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

@@ -31,6 +31,9 @@ public class UnpaidMngService extends CommonService {
31 31
         int gridPage = gridRequest.getGridPage();
32 32
         int gridSize = gridRequest.getGridSize();
33 33
 
34
+        fromDt = fromDt == null ? null : fromDt.replace(".", "");
35
+        toDt = toDt == null ? null : toDt.replace(".", "");
36
+
34 37
         int gridRecords = unpaidMngMapper.selectUnpaidMngGridCnt(sBrandId, sStoreId, fromDt, toDt);
35 38
         int gridTotal = fnCalculateGridTotal(gridSize, gridRecords);
36 39
         List<StlMgntBaseInfoEntity> entities = unpaidMngMapper.selectUnpaidMngGridList(sBrandId, sStoreId, fromDt, toDt, gridRequest);