...
|
...
|
@@ -279,6 +279,22 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
List<ExpressInfo> expressInfoList = expressInfoMapper.selectAllExpressInfo(uid, orderCode, expressType);
|
|
|
processExpressInfo(expressInfoList, expressInfoRespBo);
|
|
|
|
|
|
//没有物流详情,但是有物流单号信息
|
|
|
if(CollectionUtils.isEmpty(expressInfoList)){
|
|
|
ExpressRecord expressRecord = expressRecordMapper.selectByUidAndOrderCodeAndExpressType(uid,orderCode,expressType);
|
|
|
if(expressRecord!=null){
|
|
|
expressInfoRespBo.setExpressInfoDetailList(new ArrayList<>());
|
|
|
// 快递单号
|
|
|
expressInfoRespBo.setWayBillCode(expressRecord.getWaybillCode());
|
|
|
//物流类型
|
|
|
expressInfoRespBo.setExpressType(expressRecord.getExpressType());
|
|
|
//物流发货方
|
|
|
expressInfoRespBo.setExpressSender(EnumExpressSender.getSenderName(expressInfoRespBo.getExpressType().intValue()));
|
|
|
// 快递公司名称
|
|
|
expressInfoRespBo.setExpressCompanyName(expressCompanyService.getExpressName(expressRecord.getLogisticsType()));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//获取上一阶段的辅助物流信息
|
|
|
List<ExpressInfoDetail> supplementExpressInfoDetailList = Lists.newArrayList();
|
|
|
expressInfoRespBo.setSupplementExpressInfoDetailList(supplementExpressInfoDetailList);
|
...
|
...
|
|