|
|
package com.yohoufo.order.service.impl;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.yohobuy.ufo.model.order.common.ButtonShow;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderStatus;
|
|
|
import com.yohobuy.ufo.model.order.common.TabType;
|
|
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoDetail;
|
...
|
...
|
@@ -125,6 +126,10 @@ public class BuyerOrderDetailService extends AbsOrderDetailService implements IO |
|
|
Integer leftTime = getLeftTime(TabType.BUY, orderDetailInfo.getUid(), orderDetailInfo.getOrderCode(),
|
|
|
orderDetailInfo.getStatusDetail().getStatus(), orderDetailInfo.getSecendLevelCreateTime());
|
|
|
|
|
|
if (leftTime!=null && leftTime<=0){
|
|
|
orderDetailInfo.getButtons().removeIf(x -> x!=null && ButtonShow.NOW_BUY.getCode().equals(x.getCode()));
|
|
|
}
|
|
|
|
|
|
orderDetailInfo.getStatusDetail().setLeftTime(leftTime);
|
|
|
}
|
|
|
|
...
|
...
|
|