using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
namespace HL_FristAidPlatform_IDataBase
{
///
/// 接口层 会议表
///
public interface IT_Service_Meeting
{
#region 增
///
/// 增加一条数据
///
/// 实体
///
bool Add(T_Service_Meeting model);
///
/// 新增 仅更新赋值的字段
///
///
///
int AddNotNullColumns(T_Service_Meeting model);
///
/// 新增 仅更新赋值的字段
/// 用于移动端
///
/// 实体类
///
int AddForApp(T_Service_Meeting model);
#endregion
#region 删
///
/// 删除数据
///
bool Delete(long ID);
///
/// 逻辑删除
///
/// 实体类
///
int LogicalDelete(T_Service_Meeting model);
///
/// 删除
/// 用于移动端
///
/// 实体类,ID必填
///
int DeleteForApp(T_Service_Meeting model);
#endregion
#region 改
///
/// 更新一条数据
///
/// 实体
///
bool Update(T_Service_Meeting model);
///
/// 仅更新赋值的字段
///
/// 实体类
///
int UpdateNotNullColumns(T_Service_Meeting model);
///
/// 修改--仅更新赋值的字段
/// 用于移动端
///
/// 实体类
///
int UpdateForApp(T_Service_Meeting model);
#endregion
#region 查
///
/// 得到一个对象实体
///
/// 主键
///
T_Service_Meeting GetModel(long ID);
///
/// 得到一个对象实体
/// 用于移动端
///
/// 患者编号
/// GUID
///
TableModel GetModelForApp(long id, string guid);
///
/// 根据分页获得数据列表
///
/// 起始页
/// 每页条数
/// 院区编号
/// 所属系统
/// 会议类型 -1:全部 1:典型病例讨论会 2:质量分析会 3:联合例会 99:其他会议
/// 关键词
///
TableModel GetPageList(int pageIndex, int pageSize, string hospitalGuid, long systemModuleID, int type, string keyWord);
///
/// 根据分页获得数据列表
/// 用于移动端
///
/// 起始页
/// 每页条数
/// 院区编号
/// 所属系统
/// 会议类型 -1:全部 1:典型病例讨论会 2:质量分析会 3:联合例会 99:其他会议
/// 关键词
///
TableModel GetPageListForApp(int pageIndex, int pageSize, string hospitalGuid, long systemModuleID, int type, string keyWord);
///
/// 获得数据列表
///
/// 院区编号
/// 所属系统
/// 会议类型 -1:全部 1:典型病例讨论会 2:质量分析会 3:联合例会 99:其他会议
/// 取前N条,按预定召开时间排序
/// 关键词
///
string GetList(string hospitalGuid, long systemModuleID, int type, int topNumber, string keyWord);
#endregion
}
}