chore: 构建稳定版本
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using Yi.Framework.Rbac.Domain.Entities;
|
||||
using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.Rbac.Domain.Repositories
|
||||
{
|
||||
public interface IDeptRepository : ISqlSugarRepository<DeptEntity, Guid>
|
||||
{
|
||||
Task<List<Guid>> GetChildListAsync(Guid deptId);
|
||||
Task<List<DeptEntity>> GetListRoleIdAsync(Guid roleId);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
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<UserEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取当前登录用户的所有信息
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
Task<UserRoleMenuDto> GetUserAllInfoAsync(Guid userId);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user