...
|
...
|
@@ -137,21 +137,16 @@ public class BuyerOrderDetailService extends AbsOrderDetailService implements IO |
|
|
return detailDesc;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
protected OrderDetailInfo.StatusDetail getStatusDetail(BuyerOrder buyerOrder,OrderStatus orderStatus, TabType tabType) {
|
|
|
OrderDetailInfo.StatusDetail statusDetail = OrderDetailInfo.StatusDetail.builder()
|
|
|
.status(orderStatus.getCode())
|
|
|
.statuStr(orderStatus.getStatusStr(tabType))
|
|
|
|
|
|
.build();
|
|
|
String detailDesc = formatDetailDesc(buyerOrder, orderStatus.getDetailDesc(tabType));
|
|
|
statusDetail.setDetailDesc(detailDesc);
|
|
|
OrderAttributes oa = OrderAttributes.getOrderAttributes(buyerOrder.getAttributes());
|
|
|
// 待付款时,剩余时间
|
|
|
/*
|
|
|
Integer leftTime = getLeftTime(tabType,buyerOrder.getUid(),
|
|
|
buyerOrder.getOrderCode(), orderStatus.getCode(),
|
|
|
buyerOrder.getCreateTime(), oa);
|
|
|
*/
|
|
|
TimeoutBo timeoutBo = calTimeout(tabType,buyerOrder.getUid(),
|
|
|
buyerOrder.getOrderCode(), orderStatus.getCode(),
|
|
|
buyerOrder.getCreateTime(), oa);
|
...
|
...
|
|