|
@@ -101,7 +101,6 @@ namespace GxPress.Repository.Implement.SystemLabel
|
|
var result = new PagedList<SystemLabelResult>();
|
|
var result = new PagedList<SystemLabelResult>();
|
|
var query = Q.NewQuery();
|
|
var query = Q.NewQuery();
|
|
query.Where(nameof(Entity.SystemLabel.SystemLabel.IsDisable), false);
|
|
query.Where(nameof(Entity.SystemLabel.SystemLabel.IsDisable), false);
|
|
- query.Where(nameof(Entity.SystemLabel.SystemLabel.IsStarLable), false);
|
|
|
|
query.Where(nameof(Entity.SystemLabel.SystemLabel.IsStarLable),request.TypeValue);
|
|
query.Where(nameof(Entity.SystemLabel.SystemLabel.IsStarLable),request.TypeValue);
|
|
result.Total = await _repository.CountAsync(query);
|
|
result.Total = await _repository.CountAsync(query);
|
|
query.OrderByDesc(nameof(Entity.Navigations.Navigation.Sort));
|
|
query.OrderByDesc(nameof(Entity.Navigations.Navigation.Sort));
|