47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
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_ApoplexyProposalBLL
|
|
{
|
|
IT_Service_ApoplexyProposal Proposal = new T_Service_ApoplexyProposalDB();
|
|
|
|
/// <summary>
|
|
/// 保存指导治疗及建议
|
|
/// </summary>
|
|
/// <param name="pastHistory"></param>
|
|
/// <returns></returns>
|
|
public MessageModel<bool> SaveScreenProposal(T_Service_ApoplexyProposal proposal)
|
|
{
|
|
proposal.FillinStatus = "1";
|
|
if (Proposal.SaveScreenProposal(proposal))
|
|
{
|
|
return new MessageModel<bool> { Success = true, Msg = "保存成功" };
|
|
}
|
|
else
|
|
{
|
|
return new MessageModel<bool> { Success = false, Msg = "保存失败" };
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 获取指导治疗及建议
|
|
/// </summary>
|
|
/// <param name="guid"></param>
|
|
/// <returns></returns>
|
|
public T_Service_ApoplexyProposal GetScreenProposal(string patientGuid)
|
|
{
|
|
return Proposal.GetScreenProposal(patientGuid);
|
|
}
|
|
}
|
|
}
|