TCntrnoMapper.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. package com.ruoyi.shipping.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.shipping.domain.TCntrno;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 集装箱号Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-03-22
  11. */
  12. public interface TCntrnoMapper
  13. {
  14. /**
  15. * 查询集装箱号
  16. *
  17. * @param fId 集装箱号ID
  18. * @return 集装箱号
  19. */
  20. public TCntrno selectTCntrnoById(Long fId);
  21. /**
  22. * 查询集装箱号列表
  23. *
  24. * @param tCntrno 集装箱号
  25. * @return 集装箱号集合
  26. */
  27. public List<TCntrno> selectTCntrnoList(TCntrno tCntrno);
  28. /**
  29. * 查询集装箱信息
  30. * @param tCntrno
  31. * @return
  32. */
  33. public List<TCntrno> selectTcntrnoMessage(@Param("tc") TCntrno tCntrno,
  34. @Param("address") String address,
  35. @Param("typeidName") String typeidName,
  36. @Param("cntrstatusName") String cntrstatusName,
  37. @Param("updateEFName") String updateEFName);
  38. /**
  39. * 新增集装箱号
  40. *
  41. * @param tCntrno 集装箱号
  42. * @return 结果
  43. */
  44. public int insertTCntrno(TCntrno tCntrno);
  45. /**
  46. * 修改集装箱号
  47. *
  48. * @param tCntrno 集装箱号
  49. * @return 结果
  50. */
  51. public int updateTCntrno(TCntrno tCntrno);
  52. /**
  53. * 删除集装箱号
  54. *
  55. * @param fId 集装箱号ID
  56. * @return 结果
  57. */
  58. public int deleteTCntrnoById(Long fId);
  59. /**
  60. * 批量删除集装箱号
  61. *
  62. * @param fIds 需要删除的数据ID
  63. * @return 结果
  64. */
  65. public int deleteTCntrnoByIds(Long[] fIds);
  66. /**
  67. * 批量更新数据状态
  68. * @param fIds
  69. * @return
  70. */
  71. public int updateTcntrnoStatus(Long[] fIds);
  72. /**
  73. * 获取箱动态分布信息
  74. * @param sql
  75. * @param tCntrno
  76. * @return
  77. */
  78. public List<Map<String, Object>> getTCntrnoMessage(@Param("sql") String sql,
  79. @Param("tCntrno") TCntrno tCntrno);
  80. /**
  81. * 查询编号唯一性
  82. * @param tCntrno
  83. * @return
  84. */
  85. public TCntrno selectTCntrnoFNo(TCntrno tCntrno);
  86. }