App相关保存,审核前台提示异常调整,审核异常后台日志打印修改为error级别

This commit is contained in:
wangxin
2018-09-27 14:27:47 +08:00
parent c36f8bf13f
commit 7345d741fd
2 changed files with 130 additions and 40 deletions

View File

@@ -76,7 +76,9 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
public void saveAsnIpCfg(CfgIndexInfo entity) {
Date crateTime=new Date();
ConfigGroupInfo groupInfo=specificServiceCfgDao.getConfigGroupInfoByGroupId(entity.getAsnIpGroup().intValue());
if(groupInfo==null) {
throw new RuntimeException("ConfigGroupInfo is null!");
}
if(groupInfo.getIsIssued()==1) {//如果已经下发,则需要下到综合服务中
if(entity.getAsnIpCfgs()!=null) {
for(AsnIpCfg cfg:entity.getAsnIpCfgs()) {