TFeeMapper.java 3.8 KB

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