...
|
...
|
@@ -274,8 +274,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;
|
...
|
...
|
@@ -323,7 +323,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())) {
|
...
|
...
|
@@ -383,12 +382,16 @@ 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());
|
|
|
|
|
|
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
|
|
|
public Logger getLogger() {
|
...
|
...
|
|