IExamOrgService.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using YBEE.EQM.Application;
  2. using YBEE.EQM.Core;
  3. namespace YBEE.EQM.Application;
  4. /// <summary>
  5. /// 被监测机构管理服务
  6. /// </summary>
  7. public interface IExamOrgService
  8. {
  9. /// <summary>
  10. /// 添加机构
  11. /// </summary>
  12. /// <param name="input"></param>
  13. /// <returns></returns>
  14. Task AddList(AddExamOrgListInput input);
  15. /// <summary>
  16. /// 移出机构
  17. /// </summary>
  18. /// <param name="input"></param>
  19. /// <returns></returns>
  20. Task Remove(DelExamOrgInput input);
  21. /// <summary>
  22. /// 根据监测计划ID获取监测机构列表
  23. /// </summary>
  24. /// <param name="examPlanId"></param>
  25. /// <returns></returns>
  26. Task<List<ExamOrgOutput>> GetListByExamPlanId(int examPlanId);
  27. /// <summary>
  28. /// 分页查询监测机构列表
  29. /// </summary>
  30. /// <param name="input"></param>
  31. /// <returns></returns>
  32. Task<PageResult<ExamOrgOutput>> QueryPageList(ExamOrgPageInput input);
  33. /// <summary>
  34. /// 分页查询未加入的机构
  35. /// </summary>
  36. /// <param name="input"></param>
  37. /// <returns></returns>
  38. Task<PageResult<SysOrgLiteOutput>> QueryNotInSysOrgPageList(ExamOrgNotInPageInput input);
  39. /// <summary>
  40. /// 分页查询机构监测计划列表
  41. /// </summary>
  42. /// <param name="input"></param>
  43. /// <returns></returns>
  44. Task<PageResult<ExamPlanOutput>> QueryExamPlanPageList(ExamPlanPageInput input);
  45. }