into Release-1.2

Conflicts:
	src/main/resources/applicationConfig-rule.properties
This commit is contained in:
RenKaiGe-Office
2018-09-11 18:22:11 +08:00
6 changed files with 78 additions and 11 deletions

View File

@@ -469,6 +469,28 @@ public class CompileVal {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中action不能为空",
RestBusinessCode.ActionIsNull.getValue());
}
if (StringUtil.isEmpty(configCompile.getContType())) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中contType不能为空",
RestBusinessCode.ContTypeIsNull.getValue());
}
if (StringUtil.isEmpty(configCompile.getAttrType())) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中attrType不能为空",
RestBusinessCode.AttrTypeIsNull.getValue());
}
if (StringUtil.isEmpty(configCompile.getTaskId())) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中taskId不能为空",
RestBusinessCode.TaskIdIsNull.getValue());
}
if (StringUtil.isEmpty(configCompile.getContLabel())) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中contLabel不能为空",
RestBusinessCode.ContLabelIsNull.getValue());
}
if (StringUtil.isEmpty(configCompile.getAffairId())) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中affairId不能为空",
RestBusinessCode.AffairIdIsNull.getValue());
}
if (null == configCompile.getDoBlacklist()) {
throw new RestServiceException("编译配置id为" + compileId + "的编译配置中doBlacklist不能为空",
RestBusinessCode.DoBlacklistIsNull.getValue());