1.1.0版本发布 #126

Merged
wangqiong123 merged 4 commits from prod into dev 2024-03-19 10:18:06 +00:00
Showing only changes of commit c97c5965f9 - Show all commits
@@ -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 {