授权用户添加事务

zmy
RuoYi 2021-07-09 21:13:09 +08:00
parent ee7607bcca
commit 2bc80c4c07
1 changed files with 1 additions and 0 deletions

View File

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