|
@@ -48,8 +48,8 @@ public class BenyunCoreInit {
|
|
|
*/
|
|
|
@PostConstruct
|
|
|
public void initCityTierMap(){
|
|
|
-// if(redisTemplate.hasKey(RedisInitContant.INIT_CITY_TIER_MAP))
|
|
|
-// return;
|
|
|
+ if(redisTemplate.hasKey(RedisInitContant.INIT_CITY_TIER_MAP))
|
|
|
+ return;
|
|
|
System.out.println("正在加载CityTierMap");
|
|
|
QueryWrapper<AddrCategory> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("type","zone");
|