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