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:
@@ -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