TVesselMapper.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package com.ruoyi.shipping.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.shipping.domain.TVessel;
  5. import org.apache.ibatis.annotations.Mapper;
  6. /**
  7. * 船名Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-04-02
  11. */
  12. @Mapper
  13. public interface TVesselMapper
  14. {
  15. /**
  16. * 查询船名
  17. *
  18. * @param fId 船名ID
  19. * @return 船名
  20. */
  21. public TVessel selectTVesselById(Long fId);
  22. /**
  23. * 查询船名列表
  24. *
  25. * @param tVessel 船名
  26. * @return 船名集合
  27. */
  28. public List<TVessel> selectTVesselList(TVessel tVessel);
  29. /**
  30. * 新增船名
  31. *
  32. * @param tVessel 船名
  33. * @return 结果
  34. */
  35. public int insertTVessel(TVessel tVessel);
  36. /**
  37. * 修改船名
  38. *
  39. * @param tVessel 船名
  40. * @return 结果
  41. */
  42. public int updateTVessel(TVessel tVessel);
  43. /**
  44. * 删除船名
  45. *
  46. * @param fId 船名ID
  47. * @return 结果
  48. */
  49. public int deleteTVesselById(Long fId);
  50. /**
  51. * 批量删除船名
  52. *
  53. * @param fIds 需要删除的数据ID
  54. * @return 结果
  55. */
  56. public int deleteTVesselByIds(Long[] fIds);
  57. /**
  58. * 验证编号唯一性
  59. * @param tVessel
  60. * @return
  61. */
  62. public TVessel selectTVesselfNo(TVessel tVessel);
  63. /**
  64. * 验证名称唯一性
  65. * @param tVessel
  66. * @return
  67. */
  68. public TVessel selectTVesselfName(TVessel tVessel);
  69. /**
  70. * 验证英文名唯一性
  71. * @param tVessel
  72. * @return
  73. */
  74. public TVessel selectTVesselfEname(TVessel tVessel);
  75. /**
  76. * 验证船舶呼号唯一性
  77. * @param tVessel
  78. * @return
  79. */
  80. public TVessel selectTVesselfImo(TVessel tVessel);
  81. /**
  82. * 获取船名信息
  83. * @return
  84. */
  85. public List<Map<String, Object>> selectTVesselfNumber(TVessel tVessel);
  86. }