疯狂的狮子Li
2023-06-25 33c2d8e8333de791affe9780b99c7556e5161ceb
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/service/impl/SysUserServiceImpl.java
@@ -330,9 +330,7 @@
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void insertUserAuth(Long userId, Long[] roleIds) {
        userRoleMapper.delete(new LambdaQueryWrapper<SysUserRole>()
            .eq(SysUserRole::getUserId, userId));
        insertUserRole(userId, roleIds, false);
        insertUserRole(userId, roleIds, true);
    }
    /**