打印模板取消必填校验

yun-zuoyi
汪云昊 6 years ago
parent 93b1479613
commit 2c1fee7cb2

@ -65,9 +65,7 @@ public class SysLabelTemplateController extends CoreBaseController {
.notNull("templateCode", sysLabelTemplate.getTemplateCode()) .notNull("templateCode", sysLabelTemplate.getTemplateCode())
.notNull("templateName", sysLabelTemplate.getTemplateName()) .notNull("templateName", sysLabelTemplate.getTemplateName())
.notNull("paramsPack", sysLabelTemplate.getParamsPack()) .notNull("paramsPack", sysLabelTemplate.getParamsPack())
.notNull("templateContent", sysLabelTemplate.getTemplateContent()) .notNull("templateContent", sysLabelTemplate.getTemplateContent());
.notNull("templateSoftType", sysLabelTemplate.getTemplateSoftType())
.notNull("templateGroupId", sysLabelTemplate.getTemplateGroupId());
//修改初始化 //修改初始化
ConvertBean.modelInitialize(sysLabelTemplate, user); ConvertBean.modelInitialize(sysLabelTemplate, user);
@ -129,9 +127,7 @@ public class SysLabelTemplateController extends CoreBaseController {
.notNull("templateCode", sysLabelTemplate.getTemplateCode()) .notNull("templateCode", sysLabelTemplate.getTemplateCode())
.notNull("templateName", sysLabelTemplate.getTemplateName()) .notNull("templateName", sysLabelTemplate.getTemplateName())
.notNull("paramsPack", sysLabelTemplate.getParamsPack()) .notNull("paramsPack", sysLabelTemplate.getParamsPack())
.notNull("templateContent", sysLabelTemplate.getTemplateContent()) .notNull("templateContent", sysLabelTemplate.getTemplateContent());
.notNull("templateSoftType", sysLabelTemplate.getTemplateSoftType())
.notNull("templateGroupId", sysLabelTemplate.getTemplateGroupId());
//添加初始化 //添加初始化
ConvertBean.modelUpdate(sysLabelTemplate, user); ConvertBean.modelUpdate(sysLabelTemplate, user);

Loading…
Cancel
Save