Parcourir la source

iaw 修改地址

master
chenchaod il y a 1 mois
Parent
révision
d4922157a6

+ 3
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManageImpl.java Voir le fichier

@@ -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("当前订单阶段不可修改地址");
}
//存在换货记录,更改换货表,否则更改订单拓展表

Chargement…
Annuler
Enregistrer