TWarehouseAgreementitemsMapper.java 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package com.ruoyi.warehouseBusiness.mapper;
  2. import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreementitems;
  3. import com.ruoyi.warehouseBusiness.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") Long fGoodsid,
  67. @Param("feeUnitid") Long feeUnitid);
  68. /**
  69. * 根据主表id 更新主表对应状态
  70. *
  71. * @param fettle 对应状态
  72. * @param fPid 主表id
  73. * @return 结果
  74. */
  75. int agreementitemsFollowUpdate(@Param("fPid") Long fPid, @Param("fettle") Long fettle);
  76. }