TWarehouseAgreementMapper.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. package com.ruoyi.warehouseBusiness.mapper;
  2. import com.ruoyi.basicData.domain.TGoods;
  3. import com.ruoyi.common.core.domain.entity.TWarehouse;
  4. import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreement;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.springframework.security.core.parameters.P;
  7. import java.util.List;
  8. import java.util.Map;
  9. /**
  10. * 仓储费Mapper接口
  11. *
  12. * @author ruoyi
  13. * @date 2020-12-11
  14. */
  15. public interface TWarehouseAgreementMapper {
  16. /**
  17. * 查询仓储费
  18. *
  19. * @param fId 仓储费ID
  20. * @return 仓储费
  21. */
  22. public TWarehouseAgreement selectTWarehouseAgreementById(Long fId);
  23. /**
  24. * 查询仓储费列表
  25. *
  26. * @param tWarehouseAgreement 仓储费
  27. * @return 仓储费集合
  28. */
  29. public List<Map<String, Object>> selectTWarehouseAgreementList1(TWarehouseAgreement tWarehouseAgreement);
  30. /**
  31. * 查询仓储费列表
  32. *
  33. * @param tWarehouseAgreement 仓储费
  34. * @return 仓储费集合
  35. */
  36. public List<TWarehouseAgreement> selectTWarehouseAgreementList(TWarehouseAgreement tWarehouseAgreement);
  37. /**
  38. * 根据商品类别 ids 获取商品类别数据
  39. */
  40. List<TGoods> selectTGoodsTypeByTypeId(@Param("typeIds") int[] typeIds);
  41. /**
  42. * 根据仓库 ids 获取仓库数据
  43. */
  44. List<TWarehouse> selectTWarehouseByIds(@Param("fIds") int[] fIds);
  45. /**
  46. * 新增仓储费
  47. *
  48. * @param tWarehouseAgreement 仓储费
  49. * @return 结果
  50. */
  51. public int insertTWarehouseAgreement(TWarehouseAgreement tWarehouseAgreement);
  52. /**
  53. * 修改仓储费
  54. *
  55. * @param tWarehouseAgreement 仓储费
  56. * @return 结果
  57. */
  58. public int updateTWarehouseAgreement(TWarehouseAgreement tWarehouseAgreement);
  59. /**
  60. * 删除仓储费
  61. *
  62. * @param fId 仓储费ID
  63. * @return 结果
  64. */
  65. public int deleteTWarehouseAgreementById(Long fId);
  66. /**
  67. * 批量删除仓储费
  68. *
  69. * @param fIds 需要删除的数据ID
  70. * @return 结果
  71. */
  72. public int deleteTWarehouseAgreementByIds(Long[] fIds);
  73. List<TWarehouseAgreement> selectTWarehouseAgreementListOrderyByBeginDate(TWarehouseAgreement tWarehouseAgreement);
  74. /**
  75. * 协议提醒
  76. *
  77. * @param tWarehouseAgreement 仓储费
  78. * @return 仓储费集合
  79. */
  80. public List<Map<String, Object>> agreementRemind(TWarehouseAgreement tWarehouseAgreement);
  81. /**
  82. * bi大屏协议数量
  83. *
  84. * @return
  85. */
  86. public Map<String, Object> biContractCount(@Param("beginDate") String beginDate,
  87. @Param("endDate") String endDate,
  88. @Param("external") String external,
  89. @Param("customerId") Long customerId);
  90. /**
  91. * 仓储协议列表
  92. *
  93. * @return 仓储费集合
  94. */
  95. public List<Map<String, Object>> biContractList(@Param("external") String external,
  96. @Param("customerId") Long customerId);
  97. }