From b35498a75b66a044db000ddb4833d6ea5c02595c Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 26 Oct 2021 11:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/communityboss/impl/CommunityBossServiceImpl.java | 1 + .../service/userpoints/impl/UserPointsServiceImpl.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/cm/systemcity/service/communityboss/impl/CommunityBossServiceImpl.java b/src/main/java/com/cm/systemcity/service/communityboss/impl/CommunityBossServiceImpl.java index 0d5ae5f..daf2fa6 100755 --- a/src/main/java/com/cm/systemcity/service/communityboss/impl/CommunityBossServiceImpl.java +++ b/src/main/java/com/cm/systemcity/service/communityboss/impl/CommunityBossServiceImpl.java @@ -639,6 +639,7 @@ public class CommunityBossServiceImpl extends AbstractService implements ICommun // 清空网格员缓存 private void clearCommunityBossCollection() { mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_EASYUI_TREE.getCollection()); + mongoTemplate.remove(new Query(), MongoCollections.LIST_AREA_TREE.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_1.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_2.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_3.getCollection()); diff --git a/src/main/java/com/cm/systemcity/service/userpoints/impl/UserPointsServiceImpl.java b/src/main/java/com/cm/systemcity/service/userpoints/impl/UserPointsServiceImpl.java index dd992ae..86bf758 100755 --- a/src/main/java/com/cm/systemcity/service/userpoints/impl/UserPointsServiceImpl.java +++ b/src/main/java/com/cm/systemcity/service/userpoints/impl/UserPointsServiceImpl.java @@ -969,6 +969,7 @@ public class UserPointsServiceImpl extends AbstractService implements IUserPoint // 清空网格员缓存 private void clearCommunityBossCollection() { mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_EASYUI_TREE.getCollection()); + mongoTemplate.remove(new Query(), MongoCollections.LIST_AREA_TREE.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_1.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_2.getCollection()); mongoTemplate.remove(new Query(), MongoCollections.LIST_USER_AND_POINTS_BY_LEVEL_BY_GRID_SERVICE_3.getCollection());