视频会议
This commit is contained in:
+2
@@ -3232,6 +3232,8 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
||||
if (CollectionUtil.isNotEmpty(agentUser.getRoles())) {
|
||||
longList = agentUser.getRoles().stream().map(SysRole::getRoleId).collect(Collectors.toList());
|
||||
if (!longList.contains(roleId)) {
|
||||
// 删除之前关联的角色
|
||||
userRoleMapper.deleteUserRoleByUserId(agentUser.getUserId());
|
||||
userRoleMapper.insertUserRole(agentUser.getUserId(), roleId);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user