60 lines
1.8 KiB
C#
60 lines
1.8 KiB
C#
using HL_FristAidPlatform_DataBase;
|
|
using HL_FristAidPlatform_Help;
|
|
using HL_FristAidPlatform_IDataBase;
|
|
using HL_FristAidPlatform_Models;
|
|
|
|
namespace HL_FristAidPlatform_Bussiness
|
|
{
|
|
/// <summary>
|
|
/// 胸痛患者转归
|
|
/// </summary>
|
|
public class T_Service_Trauma_OutComeBLL
|
|
{
|
|
private IT_Service_Trauma_OutCome IService = new T_Service_Trauma_OutComeDB();
|
|
|
|
public T_Service_Trauma_OutCome Add(T_Service_Trauma_OutCome model)
|
|
{
|
|
return IService.Add(model);
|
|
}
|
|
|
|
public MessageModel<T_Service_Trauma_OutCome> Delete(int id)
|
|
{
|
|
if (IService.Delete(id))
|
|
{
|
|
return new MessageModel<T_Service_Trauma_OutCome> { Success = true, Msg = "操作成功" };
|
|
}
|
|
else
|
|
{
|
|
return new MessageModel<T_Service_Trauma_OutCome> { Success = false, Msg = "操作失败" };
|
|
}
|
|
}
|
|
|
|
public T_Service_Trauma_OutCome Get(long guid)
|
|
{
|
|
return IService.Get(guid);
|
|
}
|
|
|
|
public TableModel<T_Service_Trauma_OutCome> GetPageList(int pageIndex, int pageSize)
|
|
{
|
|
return IService.GetPageList(pageIndex, pageSize);
|
|
}
|
|
|
|
public MessageModel<T_Service_Trauma_OutCome> Update(T_Service_Trauma_OutCome model)
|
|
{
|
|
if (IService.Update(model))
|
|
{
|
|
return new MessageModel<T_Service_Trauma_OutCome> { Success = true, Msg = "操作成功" };
|
|
}
|
|
else
|
|
{
|
|
return new MessageModel<T_Service_Trauma_OutCome> { Success = false, Msg = "操作失败" };
|
|
}
|
|
}
|
|
|
|
public TableModel<T_Service_Trauma_OutCome> GetByPatientGuid(string patientGuid)
|
|
{
|
|
return IService.GetByPatientGuid(patientGuid);
|
|
}
|
|
}
|
|
}
|