TWarehousebillsCntritemsMapper.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package com.ruoyi.shipping.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.shipping.domain.TWarehousebillsCntritems;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 凯和箱明细Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-04-08
  11. */
  12. public interface TWarehousebillsCntritemsMapper
  13. {
  14. /**
  15. * 查询凯和箱明细
  16. *
  17. * @param fId 凯和箱明细ID
  18. * @return 凯和箱明细
  19. */
  20. public TWarehousebillsCntritems selectTWarehousebillsCntritemsById(Long fId);
  21. /**
  22. * 查询凯和箱明细
  23. *
  24. * @param fId 凯和箱明细ID
  25. * @return 凯和箱明细
  26. */
  27. public List<TWarehousebillsCntritems> selectTWarehousebillsCntritemsByPId(Long fId);
  28. /**
  29. * 查询凯和箱明细列表
  30. *
  31. * @param tWarehousebillsCntritems 凯和箱明细
  32. * @return 凯和箱明细集合
  33. */
  34. public List<TWarehousebillsCntritems> selectTWarehousebillsCntritemsList(TWarehousebillsCntritems tWarehousebillsCntritems);
  35. /**
  36. * 新增凯和箱明细
  37. *
  38. * @param tWarehousebillsCntritems 凯和箱明细
  39. * @return 结果
  40. */
  41. public int insertTWarehousebillsCntritems(TWarehousebillsCntritems tWarehousebillsCntritems);
  42. /**
  43. * 修改凯和箱明细
  44. *
  45. * @param tWarehousebillsCntritems 凯和箱明细
  46. * @return 结果
  47. */
  48. public int updateTWarehousebillsCntritems(TWarehousebillsCntritems tWarehousebillsCntritems);
  49. /**
  50. * 删除凯和箱明细
  51. *
  52. * @param fId 凯和箱明细ID
  53. * @return 结果
  54. */
  55. public int deleteTWarehousebillsCntritemsById(Long fId);
  56. /**
  57. * 批量删除凯和箱明细
  58. *
  59. * @param fIds 需要删除的数据ID
  60. * @return 结果
  61. */
  62. public int deleteTWarehousebillsCntritemsByIds(Long[] fIds);
  63. /**
  64. * 删除凯和箱明细
  65. *
  66. * @param fPid 凯和箱明细ID
  67. * @return 结果
  68. */
  69. public int deleteTWarehousebillsCntritemsfPid(Long fPid);
  70. /**
  71. * 批量删除凯和箱明细
  72. *
  73. * @param fPids 需要删除的数据ID
  74. * @return 结果
  75. */
  76. public int deleteTWarehousebillsCntritemsfPids(Long[] fPids);
  77. /**
  78. * 首页获取订舱排名
  79. * @return
  80. */
  81. public List<Map<String,Object>>bookingSpace();
  82. /**
  83. * 删除旧单箱信息
  84. *
  85. * @param fPid 凯和箱明细ID
  86. * @param fCntrno 箱号
  87. * @return 结果
  88. */
  89. public int deleteTWarehousebillsCntritemOlder(@Param("fPid") Long fPid,
  90. @Param("fCntrno") String fCntrno);
  91. }