Files
Yi.Admin/Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Domain/Repositories/IUserRepository.cs

25 lines
788 B
C#
Raw Normal View History

2023-12-11 09:55:12 +08:00
using Volo.Abp.Domain.Repositories;
using Yi.Framework.Rbac.Domain.Entities;
using Yi.Framework.Rbac.Domain.Shared.Dtos;
using Yi.Framework.SqlSugarCore.Abstractions;
namespace Yi.Framework.Rbac.Domain.Repositories
{
2024-05-22 14:35:08 +08:00
public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
2023-12-11 09:55:12 +08:00
{
/// <summary>
/// 获取用户的所有信息
2023-12-11 09:55:12 +08:00
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
2024-05-22 14:35:08 +08:00
Task<UserAggregateRoot> GetUserAllInfoAsync(Guid userId);
/// <summary>
/// 批量获取用户的所有信息
/// </summary>
/// <param name="userIds"></param>
/// <returns></returns>
2024-05-22 14:35:08 +08:00
Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
2023-12-11 09:55:12 +08:00
}
}