|
|
@@ -405,7 +405,9 @@ public class IssueOrderManageImpl extends AbstractIawManager implements IssueOrd |
|
|
|
@Override |
|
|
|
public void updateAdress(UpdateAdressReqDTO reqDto) throws ManagerException { |
|
|
|
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("当前订单阶段不可修改地址"); |
|
|
|
} |
|
|
|
//存在换货记录,更改换货表,否则更改订单拓展表 |