mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 08:10:51 +08:00
25 lines
788 B
C#
25 lines
788 B
C#
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
|
|
{
|
|
public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
|
|
{
|
|
/// <summary>
|
|
/// 获取用户的所有信息
|
|
/// </summary>
|
|
/// <param name="userId"></param>
|
|
/// <returns></returns>
|
|
Task<UserAggregateRoot> GetUserAllInfoAsync(Guid userId);
|
|
/// <summary>
|
|
/// 批量获取用户的所有信息
|
|
/// </summary>
|
|
/// <param name="userIds"></param>
|
|
/// <returns></returns>
|
|
Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
|
|
|
|
}
|
|
}
|