mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-17 17:42:37 +00:00
授权用户添加事务
This commit is contained in:
@@ -275,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService
|
|||||||
* @param roleIds 角色组
|
* @param roleIds 角色组
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional
|
||||||
public void insertUserAuth(Long userId, Long[] roleIds)
|
public void insertUserAuth(Long userId, Long[] roleIds)
|
||||||
{
|
{
|
||||||
userRoleMapper.deleteUserRoleByUserId(userId);
|
userRoleMapper.deleteUserRoleByUserId(userId);
|
||||||
|
Reference in New Issue
Block a user