From f75b25502e82c600765ef86c501def86d652491f Mon Sep 17 00:00:00 2001 From: wangxin Date: Mon, 9 Jul 2018 10:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=96=E6=B6=88=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E4=B8=8D=E5=BE=80maat=E5=8F=91=E9=80=81=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nis/web/service/configuration/IpCfgService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/nis/web/service/configuration/IpCfgService.java b/src/main/java/com/nis/web/service/configuration/IpCfgService.java index 85b0486e7..c5d520b65 100644 --- a/src/main/java/com/nis/web/service/configuration/IpCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/IpCfgService.java @@ -252,8 +252,8 @@ public class IpCfgService extends CrudService { 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 ipList=new ArrayList<>(); InlineIp ip=convertCallBackIp(cfg,null); ipList.add(ip); @@ -269,7 +269,7 @@ public class IpCfgService extends CrudService { logger.info("IP配置取消配置失败"); throw e; } - }else{ + }else if(maatType==Constants.MAAT_TYPE){ maatCfg.setCompileId(cfg.getCompileId()); maatCfg.setServiceId(cfg.getServiceId()); maatCfg.setIsValid(0);//无效