修复取消审核不往maat发送的bug
This commit is contained in:
@@ -252,8 +252,8 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}else if(cfg.getIsAudit()==Constants.AUDIT_NOT_YET){
|
||||
if(Constants.DROP_ACTION==cfg.getAction()||Constants.LOOP_ACTION==cfg.getAction()){
|
||||
}else if(cfg.getIsAudit()==Constants.AUDIT_NOT_YES){
|
||||
if(maatType==Constants.CALLBACK_TYPE){
|
||||
List<InlineIp> ipList=new ArrayList<>();
|
||||
InlineIp ip=convertCallBackIp(cfg,null);
|
||||
ipList.add(ip);
|
||||
@@ -269,7 +269,7 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
||||
logger.info("IP配置取消配置失败");
|
||||
throw e;
|
||||
}
|
||||
}else{
|
||||
}else if(maatType==Constants.MAAT_TYPE){
|
||||
maatCfg.setCompileId(cfg.getCompileId());
|
||||
maatCfg.setServiceId(cfg.getServiceId());
|
||||
maatCfg.setIsValid(0);//无效
|
||||
|
||||
Reference in New Issue
Block a user