Authored by qinchao

物流查看兼容:多订单一个物流号,add日志

@@ -594,9 +594,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -594,9 +594,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
594 //原来的情况,根据订单号直接查询物流,如果存在物流信息,则直接返回,否则有可能是多单一号 594 //原来的情况,根据订单号直接查询物流,如果存在物流信息,则直接返回,否则有可能是多单一号
595 List<ExpressInfo> list = expressInfoMapper.selectByOrderCodeAndType(orderCode, convertExpressType(expressType)); 595 List<ExpressInfo> list = expressInfoMapper.selectByOrderCodeAndType(orderCode, convertExpressType(expressType));
596 if(CollectionUtils.isNotEmpty(list)) { 596 if(CollectionUtils.isNotEmpty(list)) {
  597 + LOGGER.info("getExpressInfoListByStage success have data in express info orderCode = {} ,expressType = {} ",orderCode,expressType);
597 return list; 598 return list;
598 } 599 }
599 600
  601 + LOGGER.info("getExpressInfoListByStage begin query express record ,orderCode = {} ,expressType = {} ",orderCode,expressType);
600 List<String> orderCodeList = Lists.newArrayList(); 602 List<String> orderCodeList = Lists.newArrayList();
601 orderCodeList.add(orderCode); 603 orderCodeList.add(orderCode);
602 List<ExpressRecord> records = expressRecordMapper.selectByOrderCodeListAndType(orderCodeList,convertExpressType(expressType)); 604 List<ExpressRecord> records = expressRecordMapper.selectByOrderCodeListAndType(orderCodeList,convertExpressType(expressType));