md
This commit is contained in:
parent
c2ad2d17f4
commit
f72fb32287
@ -407,7 +407,7 @@ public class EmisBaseService {
|
|||||||
|
|
||||||
|
|
||||||
// 根据城市获取目的地
|
// 根据城市获取目的地
|
||||||
if(areaId==null && !StringUtils.isEmpty(city)) {
|
if( (areaId==null || areaId==0) && !StringUtils.isEmpty(city)) {
|
||||||
EmisRegion regionCity = getRegionByCode(city);
|
EmisRegion regionCity = getRegionByCode(city);
|
||||||
if (regionCity != null) {
|
if (regionCity != null) {
|
||||||
areaId = regionCity.getAreaId();
|
areaId = regionCity.getAreaId();
|
||||||
@ -415,7 +415,7 @@ public class EmisBaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 根据省获取目的地
|
// 根据省获取目的地
|
||||||
if(areaId==null && !StringUtils.isEmpty(province)){
|
if((areaId==null || areaId==0) && !StringUtils.isEmpty(province)){
|
||||||
EmisRegion regionProvice= getRegionByCode(province);
|
EmisRegion regionProvice= getRegionByCode(province);
|
||||||
if(regionProvice!=null){
|
if(regionProvice!=null){
|
||||||
areaId=regionProvice.getAreaId();
|
areaId=regionProvice.getAreaId();
|
||||||
@ -423,7 +423,7 @@ public class EmisBaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 根据大区获取目的网点
|
// 根据大区获取目的网点
|
||||||
if(areaId!=null) {
|
if(areaId!=null && areaId>0) {
|
||||||
EmisDestination queryEmisDestination = new EmisDestination();
|
EmisDestination queryEmisDestination = new EmisDestination();
|
||||||
queryEmisDestination.setCountryAreaId(areaId);
|
queryEmisDestination.setCountryAreaId(areaId);
|
||||||
queryEmisDestination.setStatus(1);
|
queryEmisDestination.setStatus(1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user