还空瓶时写数量记录为记录行数量而不是归还的总数
This commit is contained in:
parent
384dbc7577
commit
c42c28125d
|
@ -346,7 +346,7 @@ namespace DM_Weight.Report
|
|||
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}'";
|
||||
|
||||
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.QuerySQL = SQL;
|
||||
|
|
Loading…
Reference in New Issue