IFlowFieldValueRepository.cs 911 B

12345678910111213141516171819202122232425262728
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Entity.WorkFlow;
  4. using Datory;
  5. namespace GxPress.Repository.Interface.WorkFlow
  6. {
  7. public interface IFlowFieldValueRepository : IRepository
  8. {
  9. Task<int> InsertAsync(FlowFieldValue item);
  10. Task<IEnumerable<FlowFieldValue>> GetListAsync(int flowId);
  11. Task<bool> DeleteAllAsync(int flowId);
  12. Task<IEnumerable<int>> GetFlowIdListAsync(IEnumerable<int> flowIdList, string keyword);
  13. Task<IEnumerable<FlowFieldValue>> GetAllAsync(SqlKata.Query query);
  14. /// <summary>
  15. /// 查询是否有记录
  16. /// </summary>
  17. /// <param name="processId"></param>
  18. /// <param name="flowId"></param>
  19. /// <param name="keyword"></param>
  20. /// <returns></returns>
  21. Task<bool> IsSearchKeywordFlowFieldValue(int processId, int flowId, string keyword);
  22. }
  23. }