TFeeMapper.java 4.4 KB

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