浏览代码

修复修改部门下人员未能清除缓存的问题

dzx 6 月之前
父节点
当前提交
dc768d8702

+ 1 - 0
src/main/java/com/xjrsoft/module/organization/service/impl/UserPostRelationServiceImpl.java

@@ -98,6 +98,7 @@ public class UserPostRelationServiceImpl extends ServiceImpl<UserPostRelationMap
         }
 
         List<Long> finalUserIds1 = userIds;
+        finalUserIds1.addAll(userIdList);
         CompletableFuture.runAsync(() -> {
             List<UserPostRelation> userRelationList = this.list();
             redisUtil.set(GlobalConstant.USER_POST_RELATION_CACHE_KEY, userRelationList);