From 1e687e332503482692cfddf9c5fc897476704e0c Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Thu, 18 May 2023 14:30:22 +0800 Subject: [PATCH] 1 --- .../Service/BookingOrder/BookingOrderService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index 40b25a2b..a2ee5649 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -5663,7 +5663,7 @@ namespace Myshipping.Application var Forwarder = _cache.GetAllCodeForwarder().Result.Take(10).ToList(); var GoodsName = _paraGoodsInfoRepository.AsQueryable().OrderBy("GOODS_CODE asc").Take(50).ToList().Select(t => t.Adapt()).ToList(); var YFXY = _paraContractNoInfoRepository.AsQueryable().OrderBy("CONTRACT_NO asc").Take(10).ToList().Select(t => t.Adapt()).ToList(); ; - var User = await _repUser.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.Status == CommonStatus.ENABLE && x.IsDeleted == false).OrderByDescending(x => x.Name).ToListAsync(); + var User = await _repUser.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.Status == CommonStatus.ENABLE && x.IsDeleted == false).ToListAsync(); var Service = _cache.GetAllCodeService().Result.Take(10).ToList(); dynamic obj = new { @@ -5679,7 +5679,7 @@ namespace Myshipping.Application WTDW = WTDW, DCDL = DCDL, GoodsName = GoodsName, - User = User.OrderByDescending(x => x.Name).ToList(), + User = User.OrderBy(x => x.Name).ToList(), Forwarder = Forwarder, Service = Service, contractno = YFXY,