处方专用账册按时间去掉倒序排列

This commit is contained in:
马巧 2025-10-13 13:40:06 +08:00
parent 8558386d81
commit 9083f525d6
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ namespace DM_Weight.Report
{
SQL += " AND ac.drug_id='" + drug_id + "' ";
}
SQL += " ORDER BY di.drug_id,ac.create_time desc";
SQL += " ORDER BY di.drug_id,ac.create_time";
Report.DetailGrid.Recordset.QuerySQL = SQL;
Report.PrintPreview(true);