45 lines
1.0 KiB
C#
45 lines
1.0 KiB
C#
using System;
|
|
using AIMSDAL;
|
|
using AIMSModel;
|
|
using AIMSObjectQuery;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Reflection;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AIMSBLL
|
|
{
|
|
public partial class BMedicamentPrice
|
|
{
|
|
public static bool Exists(int Id)
|
|
{
|
|
return DMedicamentPrice.Exists(Id);
|
|
}
|
|
|
|
public static void Add(MedicamentPrice MedicamentPriceObj)
|
|
{
|
|
try
|
|
{
|
|
DMedicamentPrice.Add(MedicamentPriceObj);
|
|
MessageBox.Show("增加成功!");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("修改失败!" + ex.Message);
|
|
}
|
|
}
|
|
|
|
public static MedicamentPrice GetModel(int Id)
|
|
{
|
|
return DMedicamentPrice.GetModel(Id);
|
|
}
|
|
|
|
|
|
public static DataTable GetDataTable(int MedicalItemId)
|
|
{
|
|
return DMedicamentPrice.GetDataTable(MedicalItemId);
|
|
}
|
|
}
|
|
}
|