修改排序
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9a40cf66cc
commit
a8af33a30a
|
|
@ -127,7 +127,7 @@ public class SegmentationService(IRepository<Segmentation> _segmentationReposito
|
||||||
.WhereIf(inQuery.Id != null, x => x.Id == inQuery.Id)
|
.WhereIf(inQuery.Id != null, x => x.Id == inQuery.Id)
|
||||||
.ProjectTo<SegmentView>(_mapper.ConfigurationProvider);
|
.ProjectTo<SegmentView>(_mapper.ConfigurationProvider);
|
||||||
|
|
||||||
var pageList = await segmentQueryable.ToPagedListAsync(inQuery);
|
var pageList = await segmentQueryable.ToPagedListAsync(inQuery,nameof(SegmentView.SegmentMumber));
|
||||||
|
|
||||||
return pageList;
|
return pageList;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue