IExamOrgDataReportService.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测机构上报类型服务
  5. /// </summary>
  6. public interface IExamOrgDataReportService
  7. {
  8. /// <summary>
  9. /// 提交上报
  10. /// </summary>
  11. /// <param name="input"></param>
  12. /// <returns></returns>
  13. Task Submit(SubmitExamOrgDataReportInput input);
  14. /// <summary>
  15. /// 添加特殊学生佐证材料
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task AddAttachment(AddExamOrgDataReportAttachmentInput input);
  20. /// <summary>
  21. /// 删除特殊学生佐证材料
  22. /// </summary>
  23. /// <param name="input"></param>
  24. /// <returns></returns>
  25. Task DelAttachment(DeleteExamOrgDataReportAttachmentInput input);
  26. /// <summary>
  27. /// 退回机构上报
  28. /// </summary>
  29. /// <param name="input"></param>
  30. /// <returns></returns>
  31. Task ReportReject(BaseId input);
  32. /// <summary>
  33. /// 获取监测机构上报类型列表
  34. /// </summary>
  35. /// <param name="examPlanId"></param>
  36. /// <param name="sysOrgId">不传取当前机构ID</param>
  37. /// <returns></returns>
  38. Task<List<ExamOrgDataReportUnionOutput>> GetListByExamPlanId(int examPlanId, short? sysOrgId = null);
  39. /// <summary>
  40. /// 根据监测计划ID和上报类型获取机构上报信息
  41. /// </summary>
  42. /// <param name="type"></param>
  43. /// <param name="examPlanId"></param>
  44. /// <param name="sysOrgId">不传取当前机构ID</param>
  45. /// <returns></returns>
  46. Task<ExamOrgDataReportUnionOutput> GetByTypeExamPlanId(DataReportType type, int examPlanId, short? sysOrgId = null);
  47. /// <summary>
  48. /// 分页查询机构上报类型列表
  49. /// </summary>
  50. /// <param name="input"></param>
  51. /// <returns></returns>
  52. Task<PageResult<ExamPlanOrgDataReportOutput>> QueryPageList(ExamOrgDataReportPageInput input);
  53. Task RefreshFileSize();
  54. }