Commit 23bab394 authored by 赵啸非's avatar 赵啸非

添加窗口大厅站点选项

parent fa2b296a
...@@ -42,7 +42,7 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE ...@@ -42,7 +42,7 @@ public class AreaServiceImpl extends AbstractCRUDCacheServiceImpl<AreaDao, AreaE
//加载孩子关系 //加载孩子关系
if ("True".equalsIgnoreCase(data.getHaveSonArea())) { if ("True".equalsIgnoreCase(data.getHaveSonArea())) {
String childKey = super.getCacheName() + ":" + data.getIid(); String childKey = super.getCacheName() + ":" + data.getIid();
//cacheService.del(childKey); cacheService.del(childKey);
this.find(new AreaQuery().pid(data.getIid())).stream().forEach(item -> { this.find(new AreaQuery().pid(data.getIid())).stream().forEach(item -> {
cacheService.lpush(childKey, item); cacheService.lpush(childKey, item);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment