Преглед на файлове

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

dzx преди 6 месеца
родител
ревизия
dc768d8702
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      src/main/java/com/xjrsoft/module/organization/service/impl/UserPostRelationServiceImpl.java

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