|
@@ -64,7 +64,13 @@ public class TdCityServiceImpl extends ServiceImpl<TdCityMapper, TdCity> impleme
|
64
|
64
|
queryWrapper.eq("leveltype",2);
|
65
|
65
|
List<TdCity> tdCities = tdCityMapper.selectList(queryWrapper);
|
66
|
66
|
if (tdCities.size() > 0){
|
67
|
|
- return tdCities.get(0);
|
|
67
|
+ List<TdCity> cityList = selectWxCity(null, orgId);
|
|
68
|
+ Integer cityId = tdCities.get(0).getId();
|
|
69
|
+ for (TdCity tdCity : cityList){
|
|
70
|
+ if (tdCity.getId().equals(cityId)){
|
|
71
|
+ return tdCity;
|
|
72
|
+ }
|
|
73
|
+ }
|
68
|
74
|
}
|
69
|
75
|
// return null;
|
70
|
76
|
}
|