账册查询按不带时间的字段排序

This commit is contained in:
maqiao 2025-04-30 17:18:29 +08:00
parent a094e35fb5
commit 4e50d926f3
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ namespace DM_Weight.Report
{
SQL += " AND ab.drug_id='" + drug_id + "' ";
}
SQL += " ORDER BY ab.drug_id,ab.Manu_No,ab.create_time asc,ab.id ";
SQL += " ORDER BY ab.create_date asc,ab.drug_id,ab.Manu_No,ab.id ";
Report.DetailGrid.Recordset.QuerySQL = SQL;
Report.PrintPreview(true);