xiongchao преди 3 години
родител
ревизия
243f869e8d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      platform-service/src/main/java/com/platform/service/check/impl/CheckStandardServiceImpl.java

+ 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);