Просмотр исходного кода

修复创建新版本时,using为true的bug

周浩 9 лет назад
Родитель
Сommit
2f31459812

+ 1 - 0
hsweb-web-service-impl-common/src/main/java/org/hsweb/web/service/impl/form/FormServiceImpl.java

@@ -66,6 +66,7 @@ public class FormServiceImpl extends AbstractServiceImpl<Form, String> implement
         old.setVersion(old.getVersion() + 1);
         old.setCreate_date(new Date());
         old.setUpdate_date(null);
+        old.setUsing(false);
         getMapper().insert(new InsertParam<>(old));
         return old.getU_id();
     }