Authored by LUOXC

refact to service model

... ... @@ -56,7 +56,6 @@ public abstract class AbsOrderViewService {
private void removeUnnecessaryButton(BuyerOrder buyerOrder, List<ButtonShowBo> buttons, ViewType viewType){
disableBuyAgainIfOffline(buyerOrder, buttons, viewType);
//
}
private void removeCancelButtonOfPaidOverseasOrder(BuyerOrder buyerOrder, List<ButtonShowBo> buttons){
... ...
... ... @@ -227,8 +227,6 @@ public class BuyerOrderDetailService extends AbsOrderDetailService implements IO
orderDetailInfo.getStatusDetail().setLeftTime(leftTime);
}
removeButtonIfRequired(leftTime, orderStatusCode, orderDetailInfo.getButtons());
// 寄存订单不可以修改地址
removeButtonIf(BuyerOrderUtils.isDeposit(oac), orderDetailInfo.getButtons(),ButtonShow.MODIFY_ADDRESS);
}
... ...
... ... @@ -155,8 +155,6 @@ public class BuyerOrderListServiceImpl extends AbsOrderListService implements IO
oli.setLeftTime(leftTime);
oli.setTimeLimit(timeoutBo.getTimelimit());
removeButtonIfRequired(leftTime, oli.getStatus(), oli.getButtons());
// 寄存订单不可以修改地址
removeButtonIf(BuyerOrderUtils.isDeposit(oli.getAttributes()), oli.getButtons(),ButtonShow.MODIFY_ADDRESS);
});
}
}
... ...