TWarehouseAgreementitemsMapper.java 2.2 KB

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