md
This commit is contained in:
parent
124c22639f
commit
c27974cbdf
@ -1425,8 +1425,10 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
}
|
||||
|
||||
// 非当前网点不允许接其他网点的运单
|
||||
if(!emisWaybillOld.getSendSiteCode().equals(getCurrentUser().getOwnerSiteCode())){
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL,"非当前网点运单,不允许操作!");
|
||||
if(!getCurrentUser().isTopSite()) {
|
||||
if (!emisWaybillOld.getSendSiteCode().equals(getCurrentUser().getOwnerSiteCode())) {
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL, "非当前网点运单,不允许操作!");
|
||||
}
|
||||
}
|
||||
|
||||
emisWaybill.setBillCode(emisWaybillOld.getBillCode());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user