Exemplo n.º 1
0
 public void RefreshMedicalItemData()
 {
     HIS.MZDoc_BLL.BaseMedical medical = HIS.MZDoc_BLL.MedicalApplyFactory.CreateMedicalApplyObject(_view.CurrentApplyType);
     medical.LoadMedicalItem(_dataSet);
     //DataRow[] rows = dataSource.Select("DRUG_FLAG=0");
     //_dataSet.Tables["MedicalItem"].Rows.Clear();
     //foreach (DataRow row in rows)
     //{
     //    _dataSet.Tables["MedicalItem"].Rows.Add(row.ItemArray);
     //}
 }
Exemplo n.º 2
0
 /// <summary>
 /// 加载医技项目列表
 /// </summary>
 public void LoadMedicalItem()
 {
     HIS.MZDoc_BLL.BaseMedical medical = HIS.MZDoc_BLL.MedicalApplyFactory.CreateMedicalApplyObject(_view.CurrentApplyType);
     _view.MecicalItem = (List <HIS.MZDoc_BLL.Medical_Order_Item>)HIS.MZDoc_BLL.Public.Function.DataTableToList <HIS.MZDoc_BLL.Medical_Order_Item>(medical.LoadMedicalItem(_dataSet, _view.CurrentMecicalDept, _view.CurrentMecicalClass));
     LoadApplyList();
 }