IInspectInforService.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package com.ruoyi.system.service;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.InspectInfor;
  4. /**
  5. * 送检信息Service接口
  6. *
  7. * @author boman
  8. * @date 2021-12-27
  9. */
  10. public interface IInspectInforService
  11. {
  12. /**
  13. * 查询送检信息
  14. *
  15. * @param inspectId 送检信息主键
  16. * @return 送检信息
  17. */
  18. public InspectInfor selectInspectInforByInspectId(Long inspectId);
  19. /**
  20. * 查询送检信息列表
  21. *
  22. * @param inspectInfor 送检信息
  23. * @return 送检信息集合
  24. */
  25. public List<InspectInfor> selectInspectInforList(InspectInfor inspectInfor);
  26. /**
  27. * 新增送检信息
  28. *
  29. * @param inspectInfor 送检信息
  30. * @return 结果
  31. */
  32. public int insertInspectInfor(InspectInfor inspectInfor);
  33. /**
  34. * 修改送检信息
  35. *
  36. * @param inspectInfor 送检信息
  37. * @return 结果
  38. */
  39. public int updateInspectInfor(InspectInfor inspectInfor);
  40. /**
  41. * 批量删除送检信息
  42. *
  43. * @param inspectIds 需要删除的送检信息主键集合
  44. * @return 结果
  45. */
  46. public int deleteInspectInforByInspectIds(Long[] inspectIds);
  47. /**
  48. * 删除送检信息信息
  49. *
  50. * @param inspectId 送检信息主键
  51. * @return 结果
  52. */
  53. public int deleteInspectInforByInspectId(Long inspectId);
  54. /**
  55. * 校验样品名称的唯一性
  56. * @param inspectInfor
  57. * @return
  58. */
  59. String checkSampleNameUnique(InspectInfor inspectInfor);
  60. }