IReportDetailService.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package com.ruoyi.system.service;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.ReportDetail;
  4. /**
  5. * 报告信息Service接口
  6. *
  7. * @author boman
  8. * @date 2021-12-27
  9. */
  10. public interface IReportDetailService
  11. {
  12. /**
  13. * 查询报告信息
  14. *
  15. * @param reportId 报告信息主键
  16. * @return 报告信息
  17. */
  18. public ReportDetail selectReportDetailByReportId(Long reportId);
  19. /**
  20. * 查询报告信息列表
  21. *
  22. * @param reportDetail 报告信息
  23. * @return 报告信息集合
  24. */
  25. public List<ReportDetail> selectReportDetailList(ReportDetail reportDetail);
  26. /**
  27. * 新增报告信息
  28. *
  29. * @param reportDetail 报告信息
  30. * @return 结果
  31. */
  32. public int insertReportDetail(ReportDetail reportDetail);
  33. /**
  34. * 修改报告信息
  35. *
  36. * @param reportDetail 报告信息
  37. * @return 结果
  38. */
  39. public int updateReportDetail(ReportDetail reportDetail);
  40. /**
  41. * 批量删除报告信息
  42. *
  43. * @param reportIds 需要删除的报告信息主键集合
  44. * @return 结果
  45. */
  46. public int deleteReportDetailByReportIds(Long[] reportIds);
  47. /**
  48. * 删除报告信息信息
  49. *
  50. * @param reportId 报告信息主键
  51. * @return 结果
  52. */
  53. public int deleteReportDetailByReportId(Long reportId);
  54. /**
  55. * 校验报告编号唯一性
  56. * @return
  57. */
  58. public String checkReportNumberUnique(ReportDetail reportDetail);
  59. }