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
710 B
C#
22 lines
710 B
C#
using NPin.Framework.SqlSugarCore.Abstractions;
|
|
using NPin.Framework.Upms.Domain.Entities;
|
|
|
|
namespace NPin.Framework.Upms.Domain.Repositories;
|
|
|
|
public interface IUserRepository : ISqlSugarRepository<UserEntity>
|
|
{
|
|
/// <summary>
|
|
/// 获取用户所有信息,即所有的关联关系
|
|
/// </summary>
|
|
/// <param name="userId"></param>
|
|
/// <returns></returns>
|
|
Task<UserEntity> GetAllInfoAsync(Guid userId);
|
|
|
|
/// <summary>
|
|
/// 获取用户列表
|
|
/// 包含所有信息,即所有的关联关系
|
|
/// </summary>
|
|
/// <param name="userIds"></param>
|
|
/// <returns></returns>
|
|
Task<List<UserEntity>> GetListUserAllInfoAsync(List<Guid> userIds);
|
|
} |