first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,30 @@
using F9WebAiTest.Application.Dtos.Common;
using F9WebAiTest.Application.Dtos.SYS.RBAC.Users;
using F9WebAiTest.Domain.Interfaces;
namespace F9WebAiTest.Application.Interfaces.Repositories.SYS.RBAC.Users;
/// <summary>用户读仓储(返回读模型 DTO)</summary>
public interface IUserReadRepository : IDInterface
{
// 单个用户查询
Task<UserReadDto_Edit> GetByIdAsync(long id);
// 通过 ID 集合查询用户集合
Task<List<UserReadDto_Edit>> GetByIdsAsync(List<long> ids);
// 通过登录名查询
Task<UserReadDto_Login> GetByLoginNameAsync(string loginName);
// 通过电话查询
Task<UserReadDto_Login> GetByPhoneAsync(string phone);
// 条件分页查询
Task<PagedResult<UserReadDto_View>> GetPagedAsync(long departmentId, string like, int page = 1, int pageSize = 10);
// 获取用户绑定角色集合
Task<List<UserRoleReadDto_Cache>> GetUserRolesByUserId(long userId);
// 通过角色 ID 集合查询用户集合
Task<List<UserReadDto_Edit>> GetByRoleIdsAsync(List<long> roleIds);
}