授权用户添加事务

2.X
RuoYi 4 years ago
parent ee7607bcca
commit 2bc80c4c07

@ -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);

Loading…
Cancel
Save