liujs 3 years ago
parent
commit
01b4173905

+ 1 - 1
bsmanage-basic/src/main/java/cn/bs/bsmanagebasic/controller/ExpressDeptController.java

@@ -94,7 +94,7 @@ public class ExpressDeptController {
     /**
      * 通过id删除单条数据
      *
-     * @param data
+     * @param id
      * @return
      */
     @RequestMapping(value = "/delete/{id}", method = {RequestMethod.GET})

+ 2 - 8
bsmanage-basic/src/main/java/cn/bs/bsmanagebasic/service/impl/StoreManageServiceImpl.java

@@ -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;
     }