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>
|
2024-04-09 17:45:12 +08:00
|
|
|
|
/// 获取用户的所有信息
|
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);
|
2024-04-09 17:45:12 +08:00
|
|
|
|
/// <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
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|