md
This commit is contained in:
parent
e06db5ebc0
commit
d13dcb0ff0
@ -1388,6 +1388,15 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
emisWaybillSave.setCalcFeeType("1");
|
emisWaybillSave.setCalcFeeType("1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 如果是仓库收货
|
||||||
|
if("1".equals(emisWaybillSave.getPickupMethod()) ){
|
||||||
|
if(StringUtils.isEmpty(emisWaybillSave.getIntoWarehouseCode()) ) {
|
||||||
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "仓库不能为空");
|
||||||
|
}else{
|
||||||
|
emisWaybillSave.setSendSiteCode(emisWaybillSave.getIntoWarehouseCode());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 寄件地址
|
// 寄件地址
|
||||||
if(StringUtils.isAnyEmpty(
|
if(StringUtils.isAnyEmpty(
|
||||||
emisWaybillSave.getSendCountry(),
|
emisWaybillSave.getSendCountry(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user