1、基础协议和隧道协议入库改为只入NTC(2)库,删除阀门(5)库;
2、编译配置添加CONT_TYPE、ATTR_TYPE、CONT_LABEL、TASK_ID、AFFAIR_ID不能为空的验证; 3、添加配置文件:说话人识别(0x10C、0x18C)、台标识别(0x10D、0x18D)、人脸识别(0x10E、0x18E)
This commit is contained in:
@@ -139,6 +139,31 @@ public enum RestBusinessCode {
|
||||
*/
|
||||
OpTimeIsNull(4001019, "Maat配置的opTime不能为空"),
|
||||
|
||||
/**
|
||||
* 编译配置的contType不能为空
|
||||
*/
|
||||
ContTypeIsNull(4001020, "Maat配置的contType不能为空"),
|
||||
|
||||
/**
|
||||
* 编译配置的attrType不能为空
|
||||
*/
|
||||
AttrTypeIsNull(4001021, "Maat配置的attrType不能为空"),
|
||||
|
||||
/**
|
||||
* 编译配置的taskId不能为空
|
||||
*/
|
||||
TaskIdIsNull(4001022, "Maat配置的taskId不能为空"),
|
||||
|
||||
/**
|
||||
* 编译配置的contLabel不能为空
|
||||
*/
|
||||
ContLabelIsNull(4001023, "Maat配置的contLabel不能为空"),
|
||||
|
||||
/**
|
||||
* 编译配置的affairId不能为空
|
||||
*/
|
||||
AffairIdIsNull(4001024, "Maat配置的affairId不能为空"),
|
||||
|
||||
//分组配置数据完整性业务码10100~
|
||||
|
||||
/**
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user