IProcessRequestLimitRepository.cs 613 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Entity.WorkProcess;
  4. using Datory;
  5. namespace GxPress.Repository.Interface.WorkProcess
  6. {
  7. public interface IProcessRequestLimitRepository : IRepository
  8. {
  9. Task<int> InsertAsync(ProcessRequestLimit limit);
  10. Task DeleteByProcessIdAsync(int processId);
  11. Task<IEnumerable<ProcessRequestLimit>> GetListAsync(int processId);
  12. Task<IEnumerable<int>> GetProcessIdListByDepartmentIdAsync(int departmentId);
  13. Task<IEnumerable<int>> GetProcessIdListByDepartmentIdAsync(List<int> departmentIds);
  14. }
  15. }