diff --git a/DM_Weight/Report/GridReportUtil.cs b/DM_Weight/Report/GridReportUtil.cs index 830d734..6749a9c 100644 --- a/DM_Weight/Report/GridReportUtil.cs +++ b/DM_Weight/Report/GridReportUtil.cs @@ -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);