Browse Source

授权用户添加事务

tags/v3.1.0
RuoYi 3 years ago
parent
commit
2bc80c4c07
  1. 1
      ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java

1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java

@ -275,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService @@ -275,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService
* @param roleIds 角色组
*/
@Override
@Transactional
public void insertUserAuth(Long userId, Long[] roleIds)
{
userRoleMapper.deleteUserRoleByUserId(userId);

Loading…
Cancel
Save