|
@@ -898,7 +898,7 @@ namespace GxPress.Repository.Implement
|
|
|
if (request.VipTypeId > 0)
|
|
|
query.Where(nameof(User.TypeId), request.VipTypeId);
|
|
|
if (request.DisableTypeId > 0)
|
|
|
- query.Where(nameof(User.IsDisable), request.VipTypeId == 1);
|
|
|
+ query.Where(nameof(User.IsDisable), request.DisableTypeId == 1);
|
|
|
result.Total = await _repository.CountAsync(query);
|
|
|
var items = await _repository.GetAllAsync(query.ForPage(request.Page, request.PerPage));
|
|
|
result.Items = items.Select(n => _mapper.Map<UserDetail>(n));
|