处方专用账册按时间去掉倒序排列
This commit is contained in:
		
							parent
							
								
									8558386d81
								
							
						
					
					
						commit
						9083f525d6
					
				| 
						 | 
					@ -460,7 +460,7 @@ namespace DM_Weight.Report
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                SQL += " AND ac.drug_id='" + drug_id + "' ";
 | 
					                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.DetailGrid.Recordset.QuerySQL = SQL;
 | 
				
			||||||
            Report.PrintPreview(true);
 | 
					            Report.PrintPreview(true);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue