TFeeMapper.java 5.1 KB

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