Commit 279da61f by wubh

包活干V2.2.0-增加日志打印

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@29301 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 60ec3d7e
......@@ -4639,6 +4639,8 @@ public class OrderServiceImpl implements IOrderService {
Class<? extends OrderSyncStrategy> beanClass = OrderSyncStrategyEnum.getBeanClass(channel);
OrderSyncStrategy strategy = SpringContextUtils.getBean(beanClass);
String syncUrl = PropertiesUtil.getProperty(BizConstants.ORDER_SYNC_PREFIX + channel);
this.logger.info("==== syncOrderCore syncCode = {}, channel = {}, syncUrl = {}",
syncCode, channel, syncUrl);
if(StringUtils.isEmpty(syncUrl)){
throw BusinessException.create(ResultCodeEnum.ORDER_SYNC_URL_NOT_CONFIGURED.getCode(),
ResultCodeEnum.ORDER_SYNC_URL_NOT_CONFIGURED.getMsg());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!