...
|
...
|
@@ -4,6 +4,7 @@ import com.google.common.collect.Maps; |
|
|
import com.yoho.error.ServiceError;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yohobuy.ufo.model.order.bo.TimeoutBo;
|
|
|
import com.yohobuy.ufo.model.order.common.ButtonShow;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderAttributes;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderListType;
|
|
|
import com.yohobuy.ufo.model.order.common.TabType;
|
...
|
...
|
@@ -154,10 +155,8 @@ public class BuyerOrderListServiceImpl extends AbsOrderListService implements IO |
|
|
oli.setLeftTime(leftTime);
|
|
|
oli.setTimeLimit(timeoutBo.getTimelimit());
|
|
|
removeButtonIfRequired(leftTime, oli.getStatus(), oli.getButtons());
|
|
|
/*
|
|
|
if (oli.getLeftTime()!=null && oli.getLeftTime()<=0){
|
|
|
oli.getButtons().removeIf(x-> x!=null && ButtonShow.NOW_BUY.getCode().equals(x.getCode()));
|
|
|
}*/
|
|
|
// 寄存订单不可以修改地址
|
|
|
removeButtonIf(BuyerOrderUtils.isDeposit(oli.getAttributes()), oli.getButtons(),ButtonShow.MODIFY_ADDRESS);
|
|
|
});
|
|
|
}
|
|
|
}
|
...
|
...
|
|