diff --git a/Myshipping.Application/Service/EmailParserServerManage/EmaiReceiveRecordService.cs b/Myshipping.Application/Service/EmailParserServerManage/EmaiReceiveRecordService.cs index 69f85d0d..36706771 100644 --- a/Myshipping.Application/Service/EmailParserServerManage/EmaiReceiveRecordService.cs +++ b/Myshipping.Application/Service/EmailParserServerManage/EmaiReceiveRecordService.cs @@ -242,7 +242,7 @@ namespace Myshipping.Application entityOrderCol = MapsterExtHelper.GetAdaptProperty(QuerySearch.SortField); var entities = await query - .OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc ")) + .OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc ")) .ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize); diff --git a/Myshipping.Application/Service/EmailParserServerManage/EmailExcuteCodeInjectConfigService.cs b/Myshipping.Application/Service/EmailParserServerManage/EmailExcuteCodeInjectConfigService.cs index 6e1e7ff8..fd61724c 100644 --- a/Myshipping.Application/Service/EmailParserServerManage/EmailExcuteCodeInjectConfigService.cs +++ b/Myshipping.Application/Service/EmailParserServerManage/EmailExcuteCodeInjectConfigService.cs @@ -314,7 +314,7 @@ namespace Myshipping.Application.Service.EmailParserServerManage entityOrderCol = MapsterExtHelper.GetAdaptProperty(QuerySearch.SortField); var entities = await query - .OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc ")) + .OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc ")) .ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize); diff --git a/Myshipping.Application/Service/EmailParserServerManage/EmailParserConfigService.cs b/Myshipping.Application/Service/EmailParserServerManage/EmailParserConfigService.cs index 4d1424bc..aaf6d3f6 100644 --- a/Myshipping.Application/Service/EmailParserServerManage/EmailParserConfigService.cs +++ b/Myshipping.Application/Service/EmailParserServerManage/EmailParserConfigService.cs @@ -349,7 +349,7 @@ namespace Myshipping.Application entityOrderCol = MapsterExtHelper.GetAdaptProperty(QuerySearch.SortField); var entities = await query - .OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc ")) + .OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc ")) .ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize); diff --git a/Myshipping.Application/Service/EmailParserServerManage/EmailUserAccountService.cs b/Myshipping.Application/Service/EmailParserServerManage/EmailUserAccountService.cs index faf86dd1..f1d71e4f 100644 --- a/Myshipping.Application/Service/EmailParserServerManage/EmailUserAccountService.cs +++ b/Myshipping.Application/Service/EmailParserServerManage/EmailUserAccountService.cs @@ -371,7 +371,7 @@ namespace Myshipping.Application entityOrderCol = MapsterExtHelper.GetAdaptProperty(QuerySearch.SortField); var entities = await query - .OrderBy(entityOrderCol + (QuerySearch.descSort ? " asc " : " desc ")) + .OrderBy(entityOrderCol + (QuerySearch.descSort ? " desc " : " asc ")) .ToPagedListAsync(QuerySearch.PageNo, QuerySearch.PageSize);