style: 修改聚合跟类命名
This commit is contained in:
@@ -3,9 +3,9 @@ using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.Rbac.Domain.Repositories
|
||||
{
|
||||
public interface IDeptRepository : ISqlSugarRepository<DeptEntity, Guid>
|
||||
public interface IDeptRepository : ISqlSugarRepository<DeptAggregateRoot, Guid>
|
||||
{
|
||||
Task<List<Guid>> GetChildListAsync(Guid deptId);
|
||||
Task<List<DeptEntity>> GetListRoleIdAsync(Guid roleId);
|
||||
Task<List<DeptAggregateRoot>> GetListRoleIdAsync(Guid roleId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,20 +5,20 @@ using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.Rbac.Domain.Repositories
|
||||
{
|
||||
public interface IUserRepository : ISqlSugarRepository<UserEntity>
|
||||
public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取用户的所有信息
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
Task<UserEntity> GetUserAllInfoAsync(Guid userId);
|
||||
Task<UserAggregateRoot> GetUserAllInfoAsync(Guid userId);
|
||||
/// <summary>
|
||||
/// 批量获取用户的所有信息
|
||||
/// </summary>
|
||||
/// <param name="userIds"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<UserEntity>> GetListUserAllInfoAsync(List<Guid> userIds);
|
||||
Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user