|
@@ -105,8 +105,14 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv |
|
@@ -105,8 +105,14 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv |
105
|
AddressInfo hiddenBackAddress = null;
|
105
|
AddressInfo hiddenBackAddress = null;
|
106
|
AddressInfo noHiddenBackAddress = null;
|
106
|
AddressInfo noHiddenBackAddress = null;
|
107
|
if(serviceOrderProcessor.isGoodsServiceOrder(orderCode)){
|
107
|
if(serviceOrderProcessor.isGoodsServiceOrder(orderCode)){
|
108
|
- hiddenBackAddress = appraiseOrderMetaService.getHidderUserAddress(orderCode);
|
|
|
109
|
- noHiddenBackAddress = appraiseOrderMetaService.getNoHidderUserAddress(orderCode);
|
108
|
+ ServiceOrderProcessor.ExistenceNode existenceNode = serviceOrderProcessor.isAppraiseOrder(orderCode);
|
|
|
109
|
+ if (!existenceNode.isExisted()){
|
|
|
110
|
+ logger.warn(" buildPublishCtx fail , req {} StorageDeposit {}", qdosr, sd);
|
|
|
111
|
+ throw new UfoServiceException(501, "寄存商品支付订单丢失");
|
|
|
112
|
+ }
|
|
|
113
|
+ Long parentOrderCode = existenceNode.getAppraiseOrder().getParentOrderCode();
|
|
|
114
|
+ hiddenBackAddress = appraiseOrderMetaService.getHidderUserAddress(parentOrderCode);
|
|
|
115
|
+ noHiddenBackAddress = appraiseOrderMetaService.getNoHidderUserAddress(parentOrderCode);
|
110
|
}else{
|
116
|
}else{
|
111
|
hiddenBackAddress = buyerOrderMetaService.getHiddenAddressInfo(uid, orderCode);
|
117
|
hiddenBackAddress = buyerOrderMetaService.getHiddenAddressInfo(uid, orderCode);
|
112
|
noHiddenBackAddress = buyerOrderMetaService.getAddressInfo(uid, orderCode);
|
118
|
noHiddenBackAddress = buyerOrderMetaService.getAddressInfo(uid, orderCode);
|