|
@@ -165,13 +165,12 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
@@ -165,13 +165,12 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
165
|
BuyerOrder pbo = buildNode.buyerOrder;
|
165
|
BuyerOrder pbo = buildNode.buyerOrder;
|
166
|
SkupType skupType = SkupType.getSkupType(sellerOrderGoods.getAttributes());
|
166
|
SkupType skupType = SkupType.getSkupType(sellerOrderGoods.getAttributes());
|
167
|
Integer pboa = pbo.getAttributes();
|
167
|
Integer pboa = pbo.getAttributes();
|
168
|
- boolean isQuickDeliverDepositOrder = BuyerOrderUtils.isQuickDeliverDeposit(skupType, pbo);
|
168
|
+ boolean isQuickDeliver = SellerGoodsHelper.isQuickDeliver(skupType);
|
169
|
boolean isInstockDepositOrder = BuyerOrderUtils.isInstockDeposit(skupType, pboa);
|
169
|
boolean isInstockDepositOrder = BuyerOrderUtils.isInstockDeposit(skupType, pboa);
|
170
|
- boolean isQuickDeliverOrder = BuyerOrderUtils.isQuickDeliver(pboa);
|
|
|
171
|
- boolean isSpecialDepot = isInstockDepositOrder || isQuickDeliverOrder;
|
170
|
+ boolean isSpecialDepot = isInstockDepositOrder;
|
172
|
AppraiseAddressInfo aai = null;
|
171
|
AppraiseAddressInfo aai = null;
|
173
|
- //big prepare condition : not isQuickDeliverDepositOrder
|
|
|
174
|
- if(!isQuickDeliverDepositOrder){
|
172
|
+ //big prepare condition : not isQuickDeliver
|
|
|
173
|
+ if(!isQuickDeliver){
|
175
|
if (isSpecialDepot) {
|
174
|
if (isSpecialDepot) {
|
176
|
AppraiseAddressResp aaResp = appraiseAddressService.findByDepotType(DepotType.NJ.getCode());
|
175
|
AppraiseAddressResp aaResp = appraiseAddressService.findByDepotType(DepotType.NJ.getCode());
|
177
|
aai = AppraiseAddressService.convert2AppraiseAddressInfo(aaResp);
|
176
|
aai = AppraiseAddressService.convert2AppraiseAddressInfo(aaResp);
|
|
@@ -179,7 +178,7 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
@@ -179,7 +178,7 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
179
|
// 收货地址 and 用户信息
|
178
|
// 收货地址 and 用户信息
|
180
|
if (Objects.nonNull(buildNode.userAddress)) {
|
179
|
if (Objects.nonNull(buildNode.userAddress)) {
|
181
|
//卖家订单详情里才会有,买家没有
|
180
|
//卖家订单详情里才会有,买家没有
|
182
|
- aai= appraiseAddressService.findAppraiseAddress(sellerOrderGoods.getDepotNo(), buildNode.userAddress.getAreaCode());
|
181
|
+ aai = appraiseAddressService.findAppraiseAddress(sellerOrderGoods.getDepotNo(), buildNode.userAddress.getAreaCode());
|
183
|
}
|
182
|
}
|
184
|
}
|
183
|
}
|
185
|
orderDetailInfo.setAppraiseAddress(aai);
|
184
|
orderDetailInfo.setAppraiseAddress(aai);
|