From 9c61e57fb0d0d3c40aa805f5da44f16f871587bc Mon Sep 17 00:00:00 2001 From: maqiao <625215135@qq.com> Date: Fri, 14 Mar 2025 15:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E6=96=B9=E8=B4=A6=E5=86=8C=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=8F=E5=8F=B7=E3=80=81=E5=A4=84=E6=96=B9?= =?UTF-8?q?=E5=BA=8F=E5=8F=B7=E5=AD=97=E6=AE=B5=20--=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8C=89=E5=BA=8F=E5=8F=B7=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DM_Weight/Report/GridReportUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DM_Weight/Report/GridReportUtil.cs b/DM_Weight/Report/GridReportUtil.cs index 79562ce..ca0a57d 100644 --- a/DM_Weight/Report/GridReportUtil.cs +++ b/DM_Weight/Report/GridReportUtil.cs @@ -313,7 +313,7 @@ namespace DM_Weight.Report { SQL += $" and oi.order_no='{orderNo}'"; } - SQL += " order by di.drug_id,oi.recv_date"; + SQL += " order by di.drug_id,oi.recv_date,dm.ordinalNum"; Report.DetailGrid.Recordset.ConnectionString = gridConnectionString; Report.DetailGrid.Recordset.QuerySQL = SQL;