TCntrnoMapper.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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(TCntrno tCntrno);
  34. /**
  35. * 新增集装箱号
  36. *
  37. * @param tCntrno 集装箱号
  38. * @return 结果
  39. */
  40. public int insertTCntrno(TCntrno tCntrno);
  41. /**
  42. * 修改集装箱号
  43. *
  44. * @param tCntrno 集装箱号
  45. * @return 结果
  46. */
  47. public int updateTCntrno(TCntrno tCntrno);
  48. /**
  49. * 删除集装箱号
  50. *
  51. * @param fId 集装箱号ID
  52. * @return 结果
  53. */
  54. public int deleteTCntrnoById(Long fId);
  55. /**
  56. * 批量删除集装箱号
  57. *
  58. * @param fIds 需要删除的数据ID
  59. * @return 结果
  60. */
  61. public int deleteTCntrnoByIds(Long[] fIds);
  62. /**
  63. * 批量更新数据状态
  64. * @param fIds
  65. * @return
  66. */
  67. public int updateTcntrnoStatus(Long[] fIds);
  68. /**
  69. * 获取箱动态分布信息
  70. * @param sql
  71. * @param tCntrno
  72. * @return
  73. */
  74. public List<Map<String, Object>> getTCntrnoMessage(@Param("sql") String sql,
  75. @Param("tCntrno") TCntrno tCntrno);
  76. }