using Lottomat.Application.Entity.AttachmentManage; using Lottomat.Util.WebControl; using System.Collections.Generic; namespace Lottomat.Application.IService.AttachmentManage { /// /// 版 本 1.0 /// Copyright (c) 2016-2017 /// 创 建:超级管理员 /// 日 期:2017-06-05 15:31 /// 描 述:附件 /// public interface AttachmentIService { #region 获取数据 /// /// 获取列表 /// /// 分页 /// 查询参数 /// 返回分页列表 IEnumerable GetPageList(Pagination pagination, string queryJson); /// /// 获取列表 /// /// 查询参数 /// 返回列表 IEnumerable GetList(string queryJson); /// /// 获取实体 /// /// 主键值 /// AttachmentEntity GetEntity(string keyValue); #endregion #region 提交数据 /// /// 删除数据 /// /// 主键 void RemoveForm(string keyValue); /// /// 保存表单(新增、修改) /// /// 主键值 /// 实体对象 /// void SaveForm(string keyValue, AttachmentEntity entity); /// /// 添加一条附件数据 /// /// 附件数据实体 /// AttachmentEntity AddOne(AttachmentEntity entity); #endregion } }