61 lines
1.4 KiB
C#
61 lines
1.4 KiB
C#
using System;
|
|
using AIMSDAL;
|
|
using AIMSModel;
|
|
using AIMSObjectQuery;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using System.Data;
|
|
|
|
namespace AIMSBLL
|
|
{
|
|
public partial class BDrugKind
|
|
{
|
|
public static void Add(DrugKind DrugKindObj)
|
|
{
|
|
try
|
|
{
|
|
DDrugKind.Add(DrugKindObj);
|
|
MessageBox.Show("增加成功!");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("增加失败!" + ex.Message);
|
|
}
|
|
}
|
|
|
|
//public static void Update(DrugKind DrugKindObj)
|
|
//{
|
|
// try
|
|
// {
|
|
// new DDrugKind.Update(DrugKindObj);
|
|
// MessageBox.Show("修改成功!");
|
|
|
|
// }
|
|
// catch (Exception ex)
|
|
// {
|
|
// MessageBox.Show("修改失败!" + ex.Message);
|
|
// }
|
|
//}
|
|
|
|
public static DrugKind GetModel(int Id)
|
|
{
|
|
return DDrugKind.GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable()
|
|
{
|
|
return DDrugKind.GetDataTable();
|
|
}
|
|
public static List<DrugKind> GetModelList()
|
|
{
|
|
return DDrugKind.GetModelList();
|
|
}
|
|
|
|
public static DataTable GetDataTable(string MedicalItemKindId)
|
|
{
|
|
return DDrugKind.GetDataTable(MedicalItemKindId);
|
|
}
|
|
}
|
|
}
|