还空瓶时写数量记录为记录行数量而不是归还的总数

This commit is contained in:
maqiao 2025-06-05 11:27:55 +08:00
parent 384dbc7577
commit c42c28125d
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ namespace DM_Weight.Report
inner join drug_info di on dm.drug_id=di.drug_id inner join drug_info di on dm.drug_id=di.drug_id
where dm.type=32 and dm.machine_id = '{p_machine_id}' and dm.operation_time>'{p_startDate}' and dm.operation_time<'{p_endDate}'"; where dm.type=32 and dm.machine_id = '{p_machine_id}' and dm.operation_time>'{p_startDate}' and dm.operation_time<'{p_endDate}'";
SQL += " order by dm.operation_time,di.drug_id"; SQL += " order by di.drug_iddm.operation_time,";
Report.DetailGrid.Recordset.ConnectionString = gridConnectionString; Report.DetailGrid.Recordset.ConnectionString = gridConnectionString;
Report.DetailGrid.Recordset.QuerySQL = SQL; Report.DetailGrid.Recordset.QuerySQL = SQL;