parent
75ede9c934
commit
58064fc479
|
@ -61,7 +61,9 @@ public class PlatformServiceImpl implements IPlatformService {
|
||||||
Object key = entry.getKey();
|
Object key = entry.getKey();
|
||||||
// 设置数据源类型
|
// 设置数据源类型
|
||||||
DynamicDataSourceContextHolder.setDataSourceType(key.toString());
|
DynamicDataSourceContextHolder.setDataSourceType(key.toString());
|
||||||
List<Platform> list = selectList(new Platform());
|
Platform platform = new Platform();
|
||||||
|
platform.setStopStatus(Boolean.FALSE);
|
||||||
|
List<Platform> list = selectList(platform);
|
||||||
for (Platform pp : list) {
|
for (Platform pp : list) {
|
||||||
redisCache.setCacheObject(getCacheKey(pp.getPlatformCode()), pp);
|
redisCache.setCacheObject(getCacheKey(pp.getPlatformCode()), pp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue