using HL_FristAidPlatform_Help; using HL_FristAidPlatform_Models; namespace HL_FristAidPlatform_IDataBase { /// /// 接口层T_Service_ChestPain_TreatmentInfo /// 胸痛诊疗 V2.1版 /// public interface IT_Service_ChestPain_TreatmentInfo { #region 增 /// /// 增加一条数据 /// /// 实体 /// bool Add(T_Service_ChestPain_TreatmentInfo model); /// /// 新增 仅更新赋值的字段 /// /// /// int AddNotNullColumns(T_Service_ChestPain_TreatmentInfo model); /// /// 新增 仅更新赋值的字段 /// 用于移动端 /// /// 实体类 /// int AddForApp(T_Service_ChestPain_TreatmentInfo model); #endregion #region 删 /// /// 删除数据 /// bool Delete(long ID); #endregion #region 改 /// /// 更新一条数据 /// /// 实体 /// bool Update(T_Service_ChestPain_TreatmentInfo model); /// /// 仅更新赋值的字段 /// /// 实体类 /// int UpdateNotNullColumns(T_Service_ChestPain_TreatmentInfo model); int UpdateTime(T_Service_ChestPain_TreatmentInfo model); /// /// 修改--仅更新赋值的字段 /// 用于移动端 /// /// 实体类 /// int UpdateForApp(T_Service_ChestPain_TreatmentInfo model); #endregion #region 查 /// /// 得到一个对象实体 /// /// 主键 /// T_Service_ChestPain_TreatmentInfo GetModel(string GUID); /// /// 得到一个对象实体 /// /// 患者主键 /// T_Service_ChestPain_TreatmentInfo GetModelForUnit(string GUID); /// /// 根据分页获得数据列表 /// /// 起始页 /// 每页条数 /// TableModel GetPageList(int PageSize, int PageIndex); /// /// 根据患者编号(GUID) 获取数据信息 /// /// 病人编号(GUID) /// TableModel GetByPatientGuid(string patientGuid); /// /// 查--根据患者编号(GUID) 获取数据信息 /// 用于移动端 /// /// 病人编号(GUID) /// TableModel GetByPatientGuidForApp(string patientGuid); #endregion } }