This commit is contained in:
linfso 2024-12-05 11:48:49 +08:00
parent 98b16313aa
commit f32b906d61

View File

@ -1068,10 +1068,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
} }
// 运单修改 // 运单修改
else{ else{
if( !"0".equals(emisWaybillSave.getWaybillStatus()) ){ if( !"0".equals(emisWaybillOld.getWaybillStatus()) ){
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"已揽件,不能修改!"); throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"已揽件,不能修改!");
} }
if(OrderStatus.CANCEL.statusCode.equals(emisWaybillSave.getOrderStatus()) ){
if(OrderStatus.CANCEL.statusCode.equals(emisWaybillOld.getOrderStatus()) ){
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"已取消,不能修改!"); throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"已取消,不能修改!");
} }