You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
731 B
C#

using NPin.Framework.SqlSugarCore.Abstractions;
using NPin.Framework.Upms.Domain.Entities;
namespace NPin.Framework.Upms.Domain.Repositories;
public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
{
/// <summary>
/// 获取用户所有信息,即所有的关联关系
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
Task<UserAggregateRoot> GetAllInfoAsync(Guid userId);
/// <summary>
/// 获取用户列表
/// 包含所有信息,即所有的关联关系
/// </summary>
/// <param name="userIds"></param>
/// <returns></returns>
Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
8 months ago
}