parent
d2453597e6
commit
3c708c4012
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue