md
This commit is contained in:
parent
59d5d7997c
commit
334aae31ed
@ -221,8 +221,11 @@ public class EmisWaybillServiceImpl implements IEmisWaybillService
|
||||
|
||||
// 判断运单状态,如果已锁账,则不允许修改
|
||||
// 下单超过 24小时
|
||||
if( "1".equals(emisWaybillOld.getBlBill()) || isOutTime(emisWaybillOld.getCreateTime()) ) {
|
||||
throw new Exception("已锁账,不允许修改");
|
||||
|
||||
if(emisWaybillOld!=null ) {
|
||||
if ("1".equals(emisWaybillOld.getBlBill()) || isOutTime(emisWaybillOld.getCreateTime())) {
|
||||
throw new Exception("已锁账,不允许修改");
|
||||
}
|
||||
}
|
||||
|
||||
EmisWaybill emisWaybillNew = waybillOrder.toDb();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user