|
|
@@ -203,12 +203,18 @@ public class MztbController { |
|
|
|
+ " SET srg_party_id = CONCAT(srg_party_id,',' ,'" + String.join(",", ptIdList) + "') where srg_id = ? ", 927515588790587392L); // 角色组填报员 |
|
|
|
} |
|
|
|
// 将机构、用户信息放入缓存,或者刷新缓存 |
|
|
|
PartyCache.getInstance().putList(sysPartyList); |
|
|
|
UserCache.getInstance().putList(userList); |
|
|
|
UserPartyCache.getInstance().putList(userPartyList); |
|
|
|
DeptCache.getInstance().putList(deptList); |
|
|
|
UserRoleCache.getInstance().putList(userRoleList); |
|
|
|
UserStatuCache.getInstance().putList(userStatuList); |
|
|
|
// PartyCache.getInstance().putList(sysPartyList); |
|
|
|
PartyCache.getInstance().refresh(); |
|
|
|
// UserCache.getInstance().putList(userList); |
|
|
|
UserCache.getInstance().refresh(); |
|
|
|
// UserPartyCache.getInstance().putList(userPartyList); |
|
|
|
UserPartyCache.getInstance().refresh(); |
|
|
|
// DeptCache.getInstance().putList(deptList); |
|
|
|
DeptCache.getInstance().refresh(); |
|
|
|
// UserRoleCache.getInstance().putList(userRoleList); |
|
|
|
UserRoleCache.getInstance().refresh(); |
|
|
|
// UserStatuCache.getInstance().putList(userStatuList); |
|
|
|
UserStatuCache.getInstance().refresh(); |
|
|
|
RoleGroupCache.getInstance().refresh(); |
|
|
|
log.debug("机构缓存刷新完成!"); |
|
|
|
}); |
|
|
|