IExamOrgResultService.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测机构反馈结果管理服务
  5. /// </summary>
  6. public interface IExamOrgResultService
  7. {
  8. /// <summary>
  9. /// 添加结果文件
  10. /// </summary>
  11. /// <param name="input"></param>
  12. /// <returns></returns>
  13. Task Add(AddExamOrgResultInput input);
  14. /// <summary>
  15. /// 删除文件
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task Del(BaseId input);
  20. /// <summary>
  21. /// 保存下载记录
  22. /// </summary>
  23. /// <param name="id"></param>
  24. /// <returns></returns>
  25. Task SaveDownloadRecord(int id);
  26. /// <summary>
  27. /// 获取ID获取监测机构反馈文件信息
  28. /// </summary>
  29. /// <param name="id"></param>
  30. /// <returns></returns>
  31. Task<ExamOrgResultOutput> GetById(int id);
  32. /// <summary>
  33. /// 根据监测计划获取机构反馈文件列表
  34. /// </summary>
  35. /// <param name="examPlanId"></param>
  36. /// <returns></returns>
  37. Task<List<ExamDataPublishOrgResultOutput>> GetByExamPlanId(int examPlanId);
  38. /// <summary>
  39. /// 根据发布内容ID获取机构文件列表
  40. /// </summary>
  41. /// <param name="publishId"></param>
  42. /// <returns></returns>
  43. Task<List<ExamOrgResultOutput>> GetByPublishId(int publishId);
  44. }