TFeeMapper.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. package com.ruoyi.finance.mapper;
  2. import com.ruoyi.finance.domain.TFee;
  3. import com.ruoyi.finance.domain.TWareHouseFees;
  4. import com.ruoyi.finance.excel.Detailed;
  5. import com.ruoyi.finance.shipping.FinancialTFee;
  6. import com.ruoyi.reportManagement.dto.TWarehousebill;
  7. import com.ruoyi.warehouseBusiness.excel.TWareHouseExcelItem;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * 财务数据主Mapper接口
  13. *
  14. * @author ruoyi
  15. * @date 2021-01-18
  16. */
  17. public interface TFeeMapper {
  18. /**
  19. * 查询财务数据主
  20. *
  21. * @param fId 财务数据主ID
  22. * @return 财务数据主
  23. */
  24. public TFee selectTFeeById(Long fId);
  25. /**
  26. * 查询财务数据主
  27. *
  28. * @param fId 财务数据主ID
  29. * @return 财务数据主
  30. */
  31. public TFee selectTFeeByIdNew(Long fId);
  32. /**
  33. * 查询财务数据主列表
  34. *
  35. * @param tFee 财务数据主
  36. * @return 财务数据主集合
  37. */
  38. public List<TFee> selectTFeeList(TFee tFee);
  39. public List<Map<String, Object>> selectTFeeList1(TFee tFee);
  40. /**
  41. * 凯和查询财务信息
  42. * @param tFee
  43. * @return
  44. */
  45. List<FinancialTFee> selectFinancialTFeeList(TFee tFee);
  46. /**
  47. * 凯和确认账单查询
  48. * @param tFee
  49. * @return
  50. */
  51. public List<Map<String, Object>> webVersionTFee(TFee tFee);
  52. /**
  53. * 新增财务数据主
  54. *
  55. * @param tFee 财务数据主
  56. * @return 结果
  57. */
  58. public int insertTFee(TFee tFee);
  59. /**
  60. * 修改财务数据主
  61. *
  62. * @param tFee 财务数据主
  63. * @return 结果
  64. */
  65. public int updateTFee(TFee tFee);
  66. /**
  67. * 删除财务数据主
  68. *
  69. * @param fId 财务数据主ID
  70. * @return 结果
  71. */
  72. public int deleteTFeeById(Long fId);
  73. /**
  74. * 批量删除财务数据主
  75. *
  76. * @param fIds 需要删除的数据ID
  77. * @return 结果
  78. */
  79. public int deleteTFeeByIds(Long[] fIds);
  80. /**
  81. * 查询 对账、 收费 数据
  82. * @return
  83. */
  84. public List<Map<String, Object>> warehouseBillsFeesList(@Param("map") Map<String, Object> map);
  85. public List<Map<String, Object>> warehouseBillsFeesListAccamount(@Param("map") Map<String, Object> map);
  86. //发票申请查询
  87. public List<Map<String, Object>> warehouseApplyFPFeesList(@Param("map") Map<String, Object> map);
  88. //开发票查询
  89. public List<Map<String, Object>> warehouseInvoiceFPFeesList(@Param("map") Map<String, Object> map);
  90. public List<Map<String, Object>> warehouseBillsKHFeesListAccamount(@Param("map") Map<String, Object> map);
  91. public List<Map<String, Object>> warehouseBillsFeesList1(TWareHouseFees tWareHouseFees);
  92. public List<Map<String, Object>> warehouseBillsFeesProfitList(TWareHouseFees tWareHouseFees);
  93. /**
  94. * 查询详情主表列表
  95. * @param fid
  96. * @return 详情主表集合
  97. */
  98. public List<TWareHouseExcelItem> selectTWarehousebillsItemsList(@Param("fId") Long fid);
  99. public List<Map<String, Object>> selectFeeList(TFee tFee);
  100. public List<Detailed> selectDetailedList(@Param("fId") Long fid);
  101. public List<Map<String, Object>> selectDetailedList1(TWarehousebill tWarehousebill);
  102. // 根据编号查询费用信息
  103. public TFee seletFeeByCode(@Param("code") String code);
  104. /**
  105. * 网页版发票查询
  106. * @param tFee
  107. * @return
  108. */
  109. public List<Map<String, Object>> webVersionInvoice(TFee tFee);
  110. /**
  111. * 凯和检索 对账、 收费 付费信息
  112. * @return
  113. */
  114. public List<Map<String, Object>> FinancialFeesList(@Param("map") Map<String, Object> map);
  115. /**
  116. * 凯和获取费用详情
  117. * @param fId
  118. * @return
  119. */
  120. FinancialTFee selectFinancialTFeeId (Long fId);
  121. }