From 3c708c401257e12a0c812660844124b1d7c44991 Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Wed, 20 Jan 2021 15:08:37 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=E5=88=A0=E9=99=A4=E9=98=B2?= =?UTF-8?q?=E6=8A=A4=E5=AF=B9=E8=B1=A1=E6=97=B6=E6=B8=85=E9=99=A4=E7=9B=B8?= =?UTF-8?q?=E5=BA=94=E7=9A=84=E7=BC=93=E5=AD=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dispose/ability/impl/DpTechBypassAbilityImpl.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java index a3b85483..55c36239 100644 --- a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java @@ -128,9 +128,11 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { ret = getCleanTypePort().delBypassManualTractionStrategyForUMC(v.getPolicyName()); if (ret.getResultRetVal() == 0) { - log.debug("Remove Traction Strategy {} Succeed", v.getPolicyName()); + log.info("Remove Traction Strategy {} Succeed", v.getPolicyName()); + //清楚缓存信息 + dpBypassManager.getTractionStrategyName().remove(v.getPolicyName()); } else { - log.error("!!!!Remove Traction Strategy {} Error: {}", v.getPolicyName(), + log.info("!!!!Remove Traction Strategy {} Error: {}", v.getPolicyName(), ret.getResultInfo().getValue()); return ErrorCode.ERR_CALLDEVICE; } @@ -151,6 +153,8 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { if (ret.getResultRetVal() == 0) { log.debug("Disable Protection Strategy Template {} Succeed", objName); + //清楚缓存信息 + dpBypassManager.getProtectStrategy().remove(objName); } else { log.error("!!!!Disable Protection Strategy Template {} Error: {}", objName, ret.getResultInfo().getValue()); @@ -165,6 +169,8 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { if (ret.getResultRetVal() == 0) { log.debug("Delete Protection Object {} Succeed", objName); + //清楚缓存信息 + dpBypassManager.getProtectObject().remove(objName); } else { log.error("!!!!Delete Protection Object {} Error: {}", objName, ret.getResultInfo().getValue());