md
This commit is contained in:
parent
f1300277ad
commit
826496fc2f
@ -2656,9 +2656,10 @@ public class EmisBaseService {
|
||||
emisRegion.setRegionName(name);
|
||||
emisRegion.setParentCode(parentCode);
|
||||
|
||||
// 非身份则需要判断国家
|
||||
// 非省份则需要判断国家
|
||||
if(StringUtils.isEmpty(parentCode)){
|
||||
emisRegion.setCountryCode(countryCode);
|
||||
emisRegion.setRegionType(1);
|
||||
}
|
||||
List<EmisRegion> list=emisRegionMapper.selectEmisRegionList(emisRegion);
|
||||
if(!CollectionUtils.isEmpty(list)) {
|
||||
|
||||
@ -665,6 +665,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
if(receiveCountryCode==null){
|
||||
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "收件国家不正确");
|
||||
}
|
||||
|
||||
String rcvProviceCode=getChildRegionCodeByName(receiveCountryCode,null,emisWaybillSave.getReceiveProvince());
|
||||
if(rcvProviceCode==null){
|
||||
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "收件省不正确");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user