...
|
...
|
@@ -82,12 +82,13 @@ public class BuyerOrderDetailService extends AbsOrderDetailService implements IO |
|
|
|
|
|
}
|
|
|
|
|
|
private final static List<Integer> buyerViewExpressStatus = Arrays.asList(OrderStatus.WAITING_RECEIVE.getCode());
|
|
|
|
|
|
private static final List<Integer> SHOW_EXPRESS_STATUS_LIST = Arrays.asList(OrderStatus.WAITING_RECEIVE.getCode(),
|
|
|
OrderStatus.DONE.getCode()
|
|
|
);
|
|
|
|
|
|
@Override
|
|
|
ExpressInfoDetail getExpressInfoDetail(OrderStatus orderStatus, long orderCode) {
|
|
|
if (!buyerViewExpressStatus.contains(orderStatus.getCode())){
|
|
|
if (!SHOW_EXPRESS_STATUS_LIST.contains(orderStatus.getCode())){
|
|
|
return null;
|
|
|
}
|
|
|
Integer type = ExpressInfoConstant.EXPRESS_TYPE_2;
|
...
|
...
|
@@ -118,9 +119,7 @@ public class BuyerOrderDetailService extends AbsOrderDetailService implements IO |
|
|
return userAddress;
|
|
|
}
|
|
|
|
|
|
private static final List<Integer> SHOW_EXPRESS_STATUS_LIST = Arrays.asList(OrderStatus.WAITING_RECEIVE.getCode(),
|
|
|
OrderStatus.DONE.getCode()
|
|
|
);
|
|
|
|
|
|
|
|
|
protected OrderDetailInfo.StatusDetail getStatusDetail(BuyerOrder buyerOrder,OrderStatus orderStatus, TabType tabType) {
|
|
|
OrderDetailInfo.StatusDetail statusDetail = OrderDetailInfo.StatusDetail.builder()
|
...
|
...
|
|