IMeetingOrderRepository.cs 772 B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Entity.WorkFlow;
  4. using GxPress.Request.App.Flow;
  5. using Datory;
  6. using GxPress.Entity.WorkMeeting;
  7. namespace GxPress.Repository.Interface.WorkMeeting
  8. {
  9. public interface IMeetingOrderRepository : IRepository
  10. {
  11. Task<int> InsertAsync(MeetingOrder item);
  12. Task<IEnumerable<MeetingOrder>> GetListAsync(int userId);
  13. Task<IEnumerable<MeetingOrder>> GetListByMeetingIdAsync(int meetingId);
  14. Task<IEnumerable<MeetingOrder>> GetListAsyncSinceNow(int roomId);
  15. Task<bool> DeleteAsync(int orderId);
  16. Task<bool> DeleteAsync(SqlKata.Query query);
  17. Task DeleteByRoomIdAsync(int roomId);
  18. Task DeleteByMeetingIdAsync(int meetingId);
  19. }
  20. }