diff --git a/DM_Weight/Report/GridReportUtil.cs b/DM_Weight/Report/GridReportUtil.cs index 75340fa..289f58a 100644 --- a/DM_Weight/Report/GridReportUtil.cs +++ b/DM_Weight/Report/GridReportUtil.cs @@ -310,7 +310,7 @@ namespace DM_Weight.Report { SQL += $" and oi.order_no='{orderNo}'"; } - SQL += " order by di.drug_id"; + SQL += " order by di.drug_id,oi.recv_date"; Report.DetailGrid.Recordset.ConnectionString = gridConnectionString; Report.DetailGrid.Recordset.QuerySQL = SQL;