IExamOrgService.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. /// 切换机构是否参与区统一监测
  23. /// </summary>
  24. /// <param name="input"></param>
  25. /// <returns></returns>
  26. Task SwitchRequiredSample(SwitchExamOrgRequiredSampleInput input);
  27. /// <summary>
  28. /// 根据监测计划ID获取监测机构列表
  29. /// </summary>
  30. /// <param name="examPlanId"></param>
  31. /// <returns></returns>
  32. Task<List<ExamOrgOutput>> GetListByExamPlanId(int examPlanId);
  33. /// <summary>
  34. /// 分页查询监测机构列表
  35. /// </summary>
  36. /// <param name="input"></param>
  37. /// <returns></returns>
  38. Task<PageResult<ExamOrgOutput>> QueryPageList(ExamOrgPageInput input);
  39. /// <summary>
  40. /// 分页查询未加入的机构
  41. /// </summary>
  42. /// <param name="input"></param>
  43. /// <returns></returns>
  44. Task<PageResult<SysOrgLiteOutput>> QueryNotInSysOrgPageList(ExamOrgNotInPageInput input);
  45. /// <summary>
  46. /// 分页查询机构监测计划列表
  47. /// </summary>
  48. /// <param name="input"></param>
  49. /// <returns></returns>
  50. Task<PageResult<ExamPlanOutput>> QueryExamPlanPageList(ExamPlanPageInput input);
  51. }