liyg 2 년 전
부모
커밋
d0a3c2c8aa
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/main/java/com/steerinfo/dil/controller/BmsshipContractPriceController.java

+ 3 - 1
src/main/java/com/steerinfo/dil/controller/BmsshipContractPriceController.java

@@ -110,7 +110,9 @@ public class BmsshipContractPriceController extends BaseRESTfulController {
         if (con != null && con.length() != 0) {
             mapValue.put("con","%" + con + "%");
         }
-        PageHelper.startPage(pageNum, pageSize);
+        if(pageNum!=null && pageSize!=null){
+            PageHelper.startPage(pageNum, pageSize);
+        }
         //初始化过滤
         List<Map<String, Object>> columnList = bmsshipContractPriceService.bmsshipContractPriceList(mapValue);
         PageListAdd data = columnDataUtil.tableColumnData(apiId, null, columnList);