StableVersion4.3/HL_FristAidPlatform_Bussiness/Service/T_Service_Apoplexy_Surgical...

46 lines
1.4 KiB
C#
Raw Normal View History

2024-03-11 09:47:34 +08:00
using HL_FristAidPlatform_DataBase;
using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_IDataBase;
using HL_FristAidPlatform_Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HL_FristAidPlatform_Bussiness
{
public class T_Service_Apoplexy_SurgicalProcedureBLL
{
IT_Service_Apoplexy_SurgicalProcedure SurgicalProcedure = new T_Service_Apoplexy_SurgicalProcedureDB();
/// <summary>
/// 保存手术信息
/// </summary>
/// <param name="procedure"></param>
/// <returns></returns>
public MessageModel<bool> SaveSurgicalProcedure(T_Service_Apoplexy_SurgicalProcedure procedure)
{
if (SurgicalProcedure.SaveSurgicalProcedure(procedure))
{
return new MessageModel<bool> { Success = true, Msg = "保存成功" };
}
else
{
return new MessageModel<bool> { Success = false, Msg = "保存失败" };
}
}
/// <summary>
/// 获取对象
/// </summary>
/// <param name="patientGuid"></param>
/// <returns></returns>
public T_Service_Apoplexy_SurgicalProcedure GetByPatientGUID(string patientGuid)
{
return SurgicalProcedure.GetByPatientGUID(patientGuid);
}
}
}