using HL_FristAidPlatform_DataBase; using HL_FristAidPlatform_Help; using HL_FristAidPlatform_IDataBase; using HL_FristAidPlatform_Models; namespace HL_FristAidPlatform_Bussiness { /// /// CEA/CAS 手术操作表(CEACZ) /// public class T_Service_Apoplexy_CEACZBLL { private IT_Service_Apoplexy_CEACZ IService = new T_Service_Apoplexy_CEACZDB(); public T_Service_Apoplexy_CEACZ Add(T_Service_Apoplexy_CEACZ model) { return IService.Add(model); } public MessageModel Update(T_Service_Apoplexy_CEACZ model) { if (IService.Update(model) > 0) { return new MessageModel { Success = true, Msg = "操作成功" }; } else { return new MessageModel { Success = false, Msg = "操作失败" }; } } 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_CEACZ Get(long id) { return IService.Get(id); } public TableModel GetPageList(int pageIndex, int pageSize) { return IService.GetPageList(pageIndex, pageSize); } public TableModel GetByPatientGuidAndReportType(string patientGuid, int reportType) { return IService.GetByPatientGuidAndReportType(patientGuid, reportType); } } }