md
This commit is contained in:
parent
bb3ffface7
commit
e5437a80c9
@ -644,7 +644,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
|
|
||||||
// 寄件网点财务中心
|
// 寄件网点财务中心
|
||||||
EmisSite sendSite = getSiteByCode(emisWaybillSave.getSendSiteCode());
|
EmisSite sendSite = getSiteByCode(emisWaybillSave.getSendSiteCode());
|
||||||
|
if(sendSite!=null) {
|
||||||
emisWaybillSave.setSendCenterCode(sendSite.getParentSiteCode());
|
emisWaybillSave.setSendCenterCode(sendSite.getParentSiteCode());
|
||||||
|
}
|
||||||
|
|
||||||
if(StringUtils.isEmpty(emisWaybillSave.getPackType())){
|
if(StringUtils.isEmpty(emisWaybillSave.getPackType())){
|
||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"包装类型必填");
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"包装类型必填");
|
||||||
@ -665,9 +667,10 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
EmisSite destSite=getSiteByCode(emisWaybillSave.getDispatchUnderlingSiteCode());
|
EmisSite destSite=getSiteByCode(emisWaybillSave.getDispatchUnderlingSiteCode());
|
||||||
if(destSite!=null){
|
if(destSite!=null){
|
||||||
destSite3Code=destSite.getSizeCode2();
|
destSite3Code=destSite.getSizeCode2();
|
||||||
}
|
|
||||||
// 目的网点财务中心
|
// 目的网点财务中心
|
||||||
emisWaybillSave.setDestinationCenterCode(destSite.getParentSiteCode());
|
emisWaybillSave.setDestinationCenterCode(destSite.getParentSiteCode());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 目的地名称
|
// 目的地名称
|
||||||
EmisDestination destination=getDestinationByCode(emisWaybillSave.getDestinationCode());
|
EmisDestination destination=getDestinationByCode(emisWaybillSave.getDestinationCode());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user