48 lines
1.1 KiB
C#
48 lines
1.1 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 BMedicalDict
|
|
{
|
|
public static void Add(MedicalDict MedicalDictObj)
|
|
{
|
|
try
|
|
{
|
|
DMedicalDict.Add(MedicalDictObj);
|
|
MessageBox.Show("增加成功!");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("增加失败!"+ex.Message);
|
|
}
|
|
}
|
|
|
|
|
|
public static MedicalDict GetModel(int Id)
|
|
{
|
|
return DMedicalDict.GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable(int DrugKindId)
|
|
{
|
|
return DMedicalDict.GetDataTable(DrugKindId);
|
|
}
|
|
public static DataTable GetDataTableByName(string Name)
|
|
{
|
|
return DMedicalDict.GetDataTableByName(Name);
|
|
}
|
|
|
|
public static bool Exists(string No)
|
|
{
|
|
return DMedicalDict.Exists(No);
|
|
}
|
|
}
|
|
}
|