...
|
...
|
@@ -292,8 +292,8 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
.build();
|
|
|
|
|
|
// 待付款时 或待发货,剩余时间
|
|
|
|
|
|
Integer leftTime = getPayLeftTime(TabType.SELL, skupStatus.getCode(), order.getCreateTime());
|
|
|
Integer leftTime = getPayLeftTime4Seller(OrderCodeType.SELLER_TYPE,
|
|
|
skupStatus.getCode(), order.getCreateTime());
|
|
|
statusDetail.setLeftTime(leftTime);
|
|
|
|
|
|
return statusDetail;
|
...
|
...
|
@@ -341,7 +341,6 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
orderDetailInfo.setUserAddress(addressInfo);
|
|
|
//卖家
|
|
|
assembleSoldPrdCompute(orderDetailInfo, order.getUid(), sellerOrderGoods.getId());
|
|
|
|
|
|
OrderDetailInfo.StatusDetail statusDetail = getStatusDetail(order, skupStatus);
|
|
|
|
|
|
if(SHOW_OVER_FLOW_PRICE_STATUS.contains(skupStatus.getCode())) {
|
...
|
...
|
@@ -404,11 +403,15 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I |
|
|
|
|
|
@Override
|
|
|
protected void resetDynamicProporties(OrderDetailInfo orderDetailInfo) {
|
|
|
|
|
|
Integer leftTime = getLeftTime(TabType.SELL, orderDetailInfo.getUid(), orderDetailInfo.getOrderCode(),
|
|
|
orderDetailInfo.getStatusDetail().getStatus(), orderDetailInfo.getSecendLevelCreateTime());
|
|
|
|
|
|
orderDetailInfo.getStatusDetail().setLeftTime(leftTime);
|
|
|
long orderCode = orderDetailInfo.getOrderCode();
|
|
|
CodeMeta codeMeta = orderCodeGenerator.expId(orderCode);
|
|
|
//TabType tabType = TabType.SELL;
|
|
|
Integer orderStatus = orderDetailInfo.getStatusDetail().getStatus();
|
|
|
if (codeMeta!=null) {
|
|
|
OrderCodeType orderCodeType = OrderCodeType.getOrderCodeType(codeMeta.getType());
|
|
|
Integer leftTime = getPayLeftTime4Seller(orderCodeType, orderStatus, orderDetailInfo.getSecendLevelCreateTime());
|
|
|
orderDetailInfo.getStatusDetail().setLeftTime(leftTime);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@Override
|
...
|
...
|
|