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());