Sfoglia il codice sorgente

iaw 修改地址

master
chenchaod 1 mese fa
parent
commit
d4922157a6

+ 3
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManageImpl.java Vedi File

@Override @Override
public void updateAdress(UpdateAdressReqDTO reqDto) throws ManagerException { public void updateAdress(UpdateAdressReqDTO reqDto) throws ManagerException {
IssueOrderinfo orderinfo = checkOrder(reqDto.getOrderNo()); IssueOrderinfo orderinfo = checkOrder(reqDto.getOrderNo());
if (!IssueOrderStep.WAITING_SEND.equals(orderinfo.getOrderStep())) {
if(ShippingStatus.WAIT_SHIPPING.equals(orderinfo.getShippingStatus())&&
(!IssueOrderStep.WAITING_SEND.equals(orderinfo.getOrderStep()) ||
IssueOrderStep.WAITING_AUDIT.equals(orderinfo.getOrderStep()))) {
throw new ManagerException("当前订单阶段不可修改地址"); throw new ManagerException("当前订单阶段不可修改地址");
} }
//存在换货记录,更改换货表,否则更改订单拓展表 //存在换货记录,更改换货表,否则更改订单拓展表

Loading…
Annulla
Salva