yuanchao 2 долоо хоног өмнө
parent
commit
833e90cbc3

+ 1 - 1
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotopeationfill/IotOpeationFillController.java

@@ -430,7 +430,7 @@ public class IotOpeationFillController {
         List<IotModelTemplateAttrsDO1> resut = new ArrayList<>();
         List<IotModelTemplateAttrsDO1> resut = new ArrayList<>();
         List<IotModelTemplateAttrsDO> list = iotOpeationFillService.getAttrsById(vo );
         List<IotModelTemplateAttrsDO> list = iotOpeationFillService.getAttrsById(vo );
 
 
-        if(fillDO1.getIsReport()==1){
+        if(fillDO1.getIsReport() !=null && fillDO1.getIsReport()==1){
 
 
             IotOpeationFillDO fillDO2 = iotOpeationFillService.orderDO(fillDO);
             IotOpeationFillDO fillDO2 = iotOpeationFillService.orderDO(fillDO);