From d71d19327c2d0948197812651bd526f7aace1a4b Mon Sep 17 00:00:00 2001 From: tangyunhao <3122282384@qq.com> Date: Wed, 23 Apr 2025 14:30:12 +0800 Subject: [PATCH] =?UTF-8?q?TRS-ZS-326=E4=BA=92=E6=8D=A2=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E4=B9=A6-=E7=A1=AE=E8=AE=A4=E4=B9=A6?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=9A=84=E6=8E=92=E5=88=97=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E5=BA=94=E9=BB=98=E8=AE=A4=E6=8C=89=E7=85=A7=E5=B9=B3=E4=BB=93?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E8=BF=9B=E8=A1=8C=E6=8E=92=E5=BA=8F=EF=BC=88?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E7=9A=84=E5=9C=A8=E5=89=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/Modules/SwapModule/SwapEndConfirmService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpDAL/Modules/SwapModule/SwapEndConfirmService.cs b/YLErpDAL/Modules/SwapModule/SwapEndConfirmService.cs index 151cf8da..27695354 100644 --- a/YLErpDAL/Modules/SwapModule/SwapEndConfirmService.cs +++ b/YLErpDAL/Modules/SwapModule/SwapEndConfirmService.cs @@ -60,7 +60,7 @@ namespace YLErp.Modules.SwapModule swap_position = position, ConfirmContractR = tcrConfirm, }; - query = query.OrderByDescending(s => s.swap_flow_event.id); + query = query.OrderByDescending(s => s.swap_flow_event.UnwindDate); var retListResult = query.ToSearchList(req, isWithOrder: false); var tradeIds = retListResult.rows.Select(s => s.swap_flow_event.SwapTradeId).Distinct().ToList();