zhangxiaofeng 10 months ago
commit 76f230ecca

@ -242,7 +242,7 @@ namespace Myshipping.Application
entityOrderCol = MapsterExtHelper.GetAdaptProperty<QueryEmaiReceiveRecordDto, EmaiReceiveRecordInfo>(QuerySearch.SortField);
var entities = await query
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc "))
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc "))
.ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize);

@ -314,7 +314,7 @@ namespace Myshipping.Application.Service.EmailParserServerManage
entityOrderCol = MapsterExtHelper.GetAdaptProperty<EmailExcuteCodeInjectConfigDto, EmailExcuteCodeInjectConfigInfo>(QuerySearch.SortField);
var entities = await query
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc "))
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc "))
.ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize);

@ -349,7 +349,7 @@ namespace Myshipping.Application
entityOrderCol = MapsterExtHelper.GetAdaptProperty<EmailParserConfigDto, EmailParserConfigInfo>(QuerySearch.SortField);
var entities = await query
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc "))
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc "))
.ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize);

@ -371,7 +371,7 @@ namespace Myshipping.Application
entityOrderCol = MapsterExtHelper.GetAdaptProperty<EmailUserAccountDto, EmailUserAccountInfo>(QuerySearch.SortField);
var entities = await query
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc "))
.OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc "))
.ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize);

Loading…
Cancel
Save