using HL_FristAidPlatform_Help;
using HL_FristAidPlatform_Models;
namespace HL_FristAidPlatform_IDataBase
{
///
/// 接口层T_Service_Image
///
public interface IT_Service_Image
{
#region 成员方法
///
/// 增加一条数据
///
bool Add(T_Service_Image model);
///
/// 更新一条数据
///
bool Update(T_Service_Image model);
///
/// 删除数据
///
bool Delete(long ID);
///
/// 逻辑删除
///
/// 编号:大于0删除当前编号的数据,小于或等于0删除当前病人+当前模块+当前图片类型的所有图片
/// 患者编号(GUID)
/// 所属系统模块编号
/// 图片类型:1:CT检查;2:院前首份心电图;3:院内首份心电图
///
int LogicalDelete(long id, string patientGuid, long systemModuleID, int fileType);
///
/// 获取单个数据
///
T_Service_Image Get(string id);
///
/// 分页
///
/// 起始页
/// 每页大小
/// 患者编号(Guid)
/// 所属系统编号
///
TableModel GetPageList(int pageIndex, int pageSize, string patientGuid, long systemModuleID);
///
/// 获取所有
///
/// 患者编号(Guid)
/// 所属系统编号
/// 查看图片类型:0查询所有
///
TableModel GetList(string patientGuid, long systemModuleID, int fileType);
///
/// 获取指定图片
///
/// 图片编号(Guid)
///
TableModel GetByGuid(string guid);
#endregion 成员方法
}
}