using System.Collections.Generic; using System.Threading.Tasks; using Datory; namespace GxPress.Repository.Interface.FlowAttachment { public interface IFlowAttachmentRepository : IRepository { Task GetAsync(int id); Task GetAsync(SqlKata.Query query); Task> GetAllAsync(SqlKata.Query query); Task DeleteAsync(SqlKata.Query query); Task InsertAsync(Entity.WorkFlow.FlowAttachment flowAttachment); Task UpdateAsync(Entity.WorkFlow.FlowAttachment flowAttachment); Task UpdateAsync(SqlKata.Query query); /// /// 添加工作流附件 /// /// /// Task InsertsAsync(List flowAttachments); Task DeleteAllAsync(int flowId); Task> GetAllAsync(int flowId); } }