TWarehouseAgreementitemsMapper.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.ruoyi.warehouseBusiness.mapper;
  2. import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreementitems;
  3. import com.ruoyi.warehouseBusiness.domain.dto.TWarehouseAgreementitem;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 仓储费明细表Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2020-12-11
  12. */
  13. public interface TWarehouseAgreementitemsMapper {
  14. /**
  15. * 查询仓储费明细表
  16. *
  17. * @param fId 仓储费明细表ID
  18. * @return 仓储费明细表
  19. */
  20. public TWarehouseAgreementitems selectTWarehouseAgreementitemsById(Long fId);
  21. /**
  22. * 查询仓储费明细表列表
  23. *
  24. * @param tWarehouseAgreementitems 仓储费明细表
  25. * @return 仓储费明细表集合
  26. */
  27. public List<TWarehouseAgreementitems> selectTWarehouseAgreementitemsList(TWarehouseAgreementitems tWarehouseAgreementitems);
  28. public List<Map<String, Object>> selectTWarehouseAgreementitemsList1(TWarehouseAgreementitems tWarehouseAgreementitems);
  29. public List<Map<String, Object>> selectTWarehouseAgreementitemList(TWarehouseAgreementitem tWarehouseAgreementitem);
  30. /**
  31. * 新增仓储费明细表
  32. *
  33. * @param tWarehouseAgreementitems 仓储费明细表
  34. * @return 结果
  35. */
  36. public int insertTWarehouseAgreementitems(TWarehouseAgreementitems tWarehouseAgreementitems);
  37. /**
  38. * 修改仓储费明细表
  39. *
  40. * @param tWarehouseAgreementitems 仓储费明细表
  41. * @return 结果
  42. */
  43. public int updateTWarehouseAgreementitems(TWarehouseAgreementitems tWarehouseAgreementitems);
  44. /**
  45. * 删除仓储费明细表
  46. *
  47. * @param fId 仓储费明细表ID
  48. * @return 结果
  49. */
  50. public int deleteTWarehouseAgreementitemsById(Long fId);
  51. /**
  52. * 批量删除仓储费明细表
  53. *
  54. * @param fIds 需要删除的数据ID
  55. * @return 结果
  56. */
  57. public int deleteTWarehouseAgreementitemsByIds(Long[] fIds);
  58. int deleteByFPid(Long fId);
  59. /**
  60. *
  61. * @param fCorpid 出库客户Id
  62. * @param fGoodsid 物资类型Id
  63. * @return
  64. */
  65. List<TWarehouseAgreementitems> getItemsBytWarehouseAgreementMsg(@Param("fCorpid") Long fCorpid,
  66. @Param("fGoodsid") String fGoodsid,
  67. @Param("cangKuZhi") String cangKuZhi,
  68. @Param("cangKey") String cangKey);
  69. /**
  70. * 根据主表id 更新主表对应状态
  71. *
  72. * @param fettle 对应状态
  73. * @param fPid 主表id
  74. * @return 结果
  75. */
  76. int agreementitemsFollowUpdate(@Param("fPid") Long fPid, @Param("fettle") Long fettle);
  77. }