|
@@ -116,7 +116,7 @@ namespace GxPress.Repository.Implement
|
|
|
public async Task<IEnumerable<Department>> GetListAsync(DepartmentUserRequest request)
|
|
|
{
|
|
|
return await _repository.GetAllAsync(Q.Where(nameof(Department.ParentId), request.DepartmentId)
|
|
|
- .WhereNot(nameof(Department.Id), request.SourceDepartmentId).OrderByDesc(nameof(Department.Sort)));
|
|
|
+ .WhereNot(nameof(Department.Id), request.SourceDepartmentId).OrderBy(nameof(Department.Sort)));
|
|
|
}
|
|
|
|
|
|
/// <summary>
|