浏览代码

【CHG】修改图表查询条件

zhaomn 1 年之前
父节点
当前提交
4d6fb35c15

+ 1 - 1
railway-business/src/main/java/com/railway/business/bi/controller/ShowBdycController.java

@@ -73,7 +73,7 @@ public class ShowBdycController extends BaseController {
     startPage();
     showBdyc.setFoundMode(YcxxFoundModeEnum.PUSH.getCode());
     showBdyc.setRectifyResult(YcxxRectifyResultEnum.NOT_FINISHED.getCode());
-    if (showBdyc.getSsgq().equals("变配电修试队")) {
+    if (null == showBdyc.getSsgq() || showBdyc.getSsgq().equals("变配电修试队")) {
       showBdyc.setSsgq(null);
     }
     List<ShowBdyc> list = showBdycService.getList(showBdyc);

+ 1 - 1
railway-business/src/main/java/com/railway/business/bi/controller/ShowDlycController.java

@@ -73,7 +73,7 @@ public class ShowDlycController extends BaseController {
     startPage();
     showDlyc.setFoundMode(YcxxFoundModeEnum.PUSH.getCode());
     showDlyc.setRectifyResult(YcxxRectifyResultEnum.NOT_FINISHED.getCode());
-    if (showDlyc.getSsgq().equals("电力维修队")) {
+    if (null == showDlyc.getSsgq() || showDlyc.getSsgq().equals("电力维修队")) {
       showDlyc.setSsgq(null);
     }
     List<ShowDlyc> list = showDlycService.getList(showDlyc);