Browse Source

检定完善

xiongchao 3 years ago
parent
commit
243f869e8d

+ 1 - 1
platform-service/src/main/java/com/platform/service/check/impl/CheckStandardServiceImpl.java

@@ -140,7 +140,7 @@ public class CheckStandardServiceImpl extends BaseServiceImpl<CheckStandardMappe
             model.setType(CheckStandardTypeEnum.POLLING.getValue());
         }
         if(model.getEnable() == null){
-            model.setType(1);
+            model.setEnable(1);
         }
         // 设置编码
         Weekend<CheckStandard> weekend = new Weekend<>(CheckStandard.class);