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