IProcessNodeRepository.cs 498 B

123456789101112131415161718
  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 IProcessNodeRepository : IRepository
  8. {
  9. Task<IEnumerable<ProcessNode>> GetListAsync(int processId, int parentId);
  10. Task<int> InsertAsync(ProcessNode processNode);
  11. Task DeleteByProcessIdAsync(int processId);
  12. Task<IEnumerable<ProcessNode>> GetAllAsync(int processId);
  13. }
  14. }