parent
26283fe135
commit
ad0929e168
|
@ -272,7 +272,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
NtcRequestResultInfo ret;
|
NtcRequestResultInfo ret;
|
||||||
ErrorCode err = ErrorCode.ERR_OK;
|
ErrorCode err = ErrorCode.ERR_OK;
|
||||||
|
|
||||||
log.info("++++Begging Start Traction Strategy: {}, {}", objName, disposeObject);
|
log.debug("++++Begging Start Traction Strategy: {}, {}", objName, disposeObject);
|
||||||
|
|
||||||
// 获取旁路手动牵引策略名
|
// 获取旁路手动牵引策略名
|
||||||
String policyName = getTractionStrategyName(objName, disposeObject);
|
String policyName = getTractionStrategyName(objName, disposeObject);
|
||||||
|
@ -287,7 +287,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
log.error("----Error Start Traction Strategy: {}, {}, {}", objName, disposeObject,
|
log.error("----Error Start Traction Strategy: {}, {}, {}", objName, disposeObject,
|
||||||
ret.getResultInfo().getValue());
|
ret.getResultInfo().getValue());
|
||||||
} else {
|
} else {
|
||||||
log.info("----Finish Start Traction Strategy: {}, {}", objName, disposeObject);
|
log.debug("----Finish Start Traction Strategy: {}, {}", objName, disposeObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
@ -303,7 +303,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
private ErrorCode stopTractionStrategy(String objName, String disposeObject) {
|
private ErrorCode stopTractionStrategy(String objName, String disposeObject) {
|
||||||
NtcRequestResultInfo ret;
|
NtcRequestResultInfo ret;
|
||||||
|
|
||||||
log.info("++++Begging Stop Traction Strategy: {}, {}", objName, disposeObject);
|
log.debug("++++Begging Stop Traction Strategy: {}, {}", objName, disposeObject);
|
||||||
|
|
||||||
// 获取旁路手动牵引策略名
|
// 获取旁路手动牵引策略名
|
||||||
String policyName = getTractionStrategyName(objName, disposeObject);
|
String policyName = getTractionStrategyName(objName, disposeObject);
|
||||||
|
@ -560,9 +560,9 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
*/
|
*/
|
||||||
private void initCleanupDevices() {
|
private void initCleanupDevices() {
|
||||||
try {
|
try {
|
||||||
log.info("++++Begging DPTech Get All Protection Devices");
|
log.debug("++++Begging DPTech Get All Protection Devices");
|
||||||
allCleanupDevices = getCleanTypePort().getAllProtectDevices();
|
allCleanupDevices = getCleanTypePort().getAllProtectDevices();
|
||||||
log.info("----Finish DPTech Get All Protection Devices: {}", allCleanupDevices);
|
log.debug("----Finish DPTech Get All Protection Devices: {}", allCleanupDevices);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
log.error("----Exception DPTech Get All Protection Devices: {}", ex.getMessage());
|
log.error("----Exception DPTech Get All Protection Devices: {}", ex.getMessage());
|
||||||
}
|
}
|
||||||
|
@ -573,7 +573,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
*/
|
*/
|
||||||
private void upgradeTractionStrategy() {
|
private void upgradeTractionStrategy() {
|
||||||
try {
|
try {
|
||||||
log.info("++++Begging DPTech Upgrade Traction Strategy");
|
log.debug("++++Begging DPTech Upgrade Traction Strategy");
|
||||||
|
|
||||||
ArrayOfBypassManualTractionStrategyForService ret =
|
ArrayOfBypassManualTractionStrategyForService ret =
|
||||||
getCleanTypePort().getAllBypassManualTractionStrategyFromUMC();
|
getCleanTypePort().getAllBypassManualTractionStrategyFromUMC();
|
||||||
|
@ -613,7 +613,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("----Finish DPTech Upgrade Traction Strategy");
|
log.debug("----Finish DPTech Upgrade Traction Strategy");
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
log.error("----Exception DPTech Upgrade Traction Strategy: {}", ex.getMessage());
|
log.error("----Exception DPTech Upgrade Traction Strategy: {}", ex.getMessage());
|
||||||
}
|
}
|
||||||
|
@ -624,7 +624,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
*/
|
*/
|
||||||
private void getProtectionStrategyTemplateAssociation() {
|
private void getProtectionStrategyTemplateAssociation() {
|
||||||
try {
|
try {
|
||||||
log.info("++++Begging DPTech Get All Protection Strategy Association Relation");
|
log.debug("++++Begging DPTech Get All Protection Strategy Association Relation");
|
||||||
|
|
||||||
ArrayOfProtectionTargetWithStrategyForService ret =
|
ArrayOfProtectionTargetWithStrategyForService ret =
|
||||||
getCleanTypePort().getAllProtectionTargetWithStrategyAssociationRelationshipForUMC();
|
getCleanTypePort().getAllProtectionTargetWithStrategyAssociationRelationshipForUMC();
|
||||||
|
@ -635,7 +635,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret.getProtectionTargetWithStrategyForService().size() == 0) {
|
if (ret.getProtectionTargetWithStrategyForService().size() == 0) {
|
||||||
log.info("----Finish DPTech Get All Protection Strategy Association Relation");
|
log.debug("----Finish DPTech Get All Protection Strategy Association Relation");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -664,7 +664,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
log.info("----Finish DPTech Get All Protection Strategy Association Relation");
|
log.debug("----Finish DPTech Get All Protection Strategy Association Relation");
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
log.error("----Exception DPTech Get All Protection Strategy Association Relation: {}",
|
log.error("----Exception DPTech Get All Protection Strategy Association Relation: {}",
|
||||||
ex.getMessage());
|
ex.getMessage());
|
||||||
|
@ -697,7 +697,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
@Override
|
@Override
|
||||||
public void getDisposeDeviceProtectObject() {
|
public void getDisposeDeviceProtectObject() {
|
||||||
try {
|
try {
|
||||||
log.info("++++Begging DPTech Get All Protection Objects");
|
log.debug("++++Begging DPTech Get All Protection Objects");
|
||||||
ArrayOfProtectionObjectDataForService ret = getCleanTypePort().getAllProtectionObjectFromUMC();
|
ArrayOfProtectionObjectDataForService ret = getCleanTypePort().getAllProtectionObjectFromUMC();
|
||||||
|
|
||||||
if (ret == null) {
|
if (ret == null) {
|
||||||
|
@ -777,7 +777,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
log.info("----Finish DPTech Get All Protection Objects Succeed");
|
log.debug("----Finish DPTech Get All Protection Objects Succeed");
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
log.error("----Exception DPTech Get All Protection Objects: {}", ex.getMessage());
|
log.error("----Exception DPTech Get All Protection Objects: {}", ex.getMessage());
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ import com.dispose.common.ErrorCode;
|
||||||
import com.dispose.manager.UserBusinessManager;
|
import com.dispose.manager.UserBusinessManager;
|
||||||
import com.dispose.mapper.ServiceGroupMapper;
|
import com.dispose.mapper.ServiceGroupMapper;
|
||||||
import com.dispose.pojo.entity.ServiceInfo;
|
import com.dispose.pojo.entity.ServiceInfo;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -14,6 +15,7 @@ import java.util.List;
|
||||||
*
|
*
|
||||||
* @author <huangxin@cmhi.chinamoblie.com>
|
* @author <huangxin@cmhi.chinamoblie.com>
|
||||||
*/
|
*/
|
||||||
|
@Component
|
||||||
public class UserBusinessManagerImpl implements UserBusinessManager {
|
public class UserBusinessManagerImpl implements UserBusinessManager {
|
||||||
/**
|
/**
|
||||||
* The Service group mapper.
|
* The Service group mapper.
|
||||||
|
|
Loading…
Reference in New Issue