Merge remote-tracking branch 'origin/v2.0.5_dev' into v2.0.5_dev

This commit is contained in:
HuangXin 2021-01-20 15:09:58 +08:00
commit f3f9ea13ca
1 changed files with 8 additions and 2 deletions

View File

@ -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());