using HL_FristAidPlatform_DataBase; using HL_FristAidPlatform_Help; using HL_FristAidPlatform_IDataBase; using HL_FristAidPlatform_Models; namespace HL_FristAidPlatform_Bussiness { public class T_Service_Apoplexy_ZYYWBLL { private IT_Service_Apoplexy_ZYYW IService = new T_Service_Apoplexy_ZYYWDB(); public T_Service_Apoplexy_ZYYW Add(T_Service_Apoplexy_ZYYW model) { return IService.Add(model); } public MessageModel Delete(int id) { if (IService.Delete(id)) { return new MessageModel { Success = true, Msg = "操作成功" }; } else { return new MessageModel { Success = false, Msg = "操作失败" }; } } public T_Service_Apoplexy_ZYYW Get(long guid) { return IService.Get(guid); } public TableModel GetPageList(int pageIndex, int pageSize) { return IService.GetPageList(pageIndex, pageSize); } public MessageModel Update(T_Service_Apoplexy_ZYYW model) { if (IService.Update(model)) { return new MessageModel { Success = true, Msg = "操作成功" }; } else { return new MessageModel { Success = false, Msg = "操作失败" }; } } public TableModel GetByPatientGuid(string patientGuid) { return IService.GetByPatientGuid(patientGuid); } public TableModel GetModelByReport(string where) { return IService.GetModelByReport(where); } public T_Service_Apoplexy_ZYYW GetOfPatientGuid(string patientGuid) { return IService.GetOfPatientGuid(patientGuid); } } }