|
@@ -260,14 +260,8 @@ public class StoreManageServiceImpl implements StoreManageService {
|
|
|
|
|
|
@Override
|
|
|
public List<ExStore> getListStore() {
|
|
|
- CacheTool cacheTool = CacheTool.initStore();
|
|
|
- List<ExStore> stores = cacheTool.getBean(0 + "", ExStore.class);
|
|
|
- if (stores == null) {
|
|
|
- //LOG.record("从memcached获取所有门店,数量:" + stores.size());
|
|
|
- stores = exStoreMapper.selectByExample(new ExStoreExample());
|
|
|
-// stores.stream().forEach(store -> cacheTool.saveBean(store.getId() + "", store));
|
|
|
- return stores;
|
|
|
- }
|
|
|
+ List<ExStore> stores;
|
|
|
+ stores = exStoreMapper.selectByExample(new ExStoreExample());
|
|
|
return stores;
|
|
|
}
|
|
|
|