处方专用账册添加按处方日期字段排序

This commit is contained in:
maqiao 2024-12-06 18:23:56 +08:00
parent 8f7cd84b08
commit ddbd41b3dc
1 changed files with 1 additions and 1 deletions

View File

@ -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;