|
@@ -379,7 +379,7 @@ public class TradeOrderQueryServiceImpl implements TradeOrderQueryService {
|
|
|
throw exception(EXPRESS_NOT_EXISTS);
|
|
|
}
|
|
|
// 查询物流轨迹
|
|
|
- return getSelf().getExpressTrackList(express.getCode(), order.getLogisticsNo(), order.getReceiverMobile());
|
|
|
+ return getSelf().getExpressTrackList(express.getCode(), order.getLogisticsNo(), order.getReceiverMobile(),order.getId());
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -393,8 +393,8 @@ public class TradeOrderQueryServiceImpl implements TradeOrderQueryService {
|
|
|
* @return 物流轨迹
|
|
|
*/
|
|
|
@Cacheable(cacheNames = RedisKeyConstants.EXPRESS_TRACK, key = "#code + '-' + #logisticsNo + '-' + #receiverMobile", condition = "#result != null")
|
|
|
- public List<ExpressTrackRespDTO> getExpressTrackList(String code, String logisticsNo, String receiverMobile) {
|
|
|
- return expressClientFactory.getDefaultExpressClient().getExpressTrackList(new ExpressTrackQueryReqDTO().setExpressCode(code).setLogisticsNo(logisticsNo).setPhone(receiverMobile));
|
|
|
+ public List<ExpressTrackRespDTO> getExpressTrackList(String code, String logisticsNo, String receiverMobile, Long orderId) {
|
|
|
+ return expressClientFactory.getDefaultExpressClient().getExpressTrackList(new ExpressTrackQueryReqDTO().setExpressCode(code).setLogisticsNo(logisticsNo).setPhone(receiverMobile).setOrderId(orderId));
|
|
|
}
|
|
|
|
|
|
|