ITFeeService.java 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. package com.ruoyi.finance.service;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.common.core.domain.model.LoginUser;
  4. import com.ruoyi.finance.domain.TFee;
  5. import com.ruoyi.finance.domain.TWareHouseFees;
  6. import com.ruoyi.finance.excel.Charge;
  7. import com.ruoyi.finance.excel.Contrast;
  8. import com.ruoyi.finance.excel.Detailed;
  9. import com.ruoyi.finance.excel.Payment;
  10. import com.ruoyi.finance.shipping.FinancialTFee;
  11. import com.ruoyi.finance.shipping.FinancialTFeeDoExcel;
  12. import com.ruoyi.reportManagement.dto.TWarehousebill;
  13. import com.ruoyi.reportManagement.excel.Payable;
  14. import com.ruoyi.reportManagement.excel.Profit;
  15. import com.ruoyi.reportManagement.excel.Receivable;
  16. import com.ruoyi.shipping.domain.TAccount;
  17. import com.ruoyi.shipping.domain.TFeeInvoice;
  18. import com.ruoyi.shipping.excel.Account;
  19. import com.ruoyi.warehouseBusiness.excel.TWareHouseExcelItem;
  20. import java.util.List;
  21. import java.util.Map;
  22. /**
  23. * 财务数据主Service接口
  24. *
  25. * @author ruoyi
  26. * @date 2021-01-18
  27. */
  28. public interface ITFeeService {
  29. /**
  30. * 查询财务数据主
  31. *
  32. * @param fId 财务数据主ID
  33. * @return 财务数据主
  34. */
  35. public Map<String, Object> selectTFeeById(Long fId);
  36. /**
  37. * 查询财务数据主
  38. *
  39. * @param fId 财务数据主ID
  40. * @return 财务数据主
  41. */
  42. public Map<String, Object> selectTFeeByIdNew(Long fId);
  43. /**
  44. * 查询财务数据主列表
  45. *
  46. * @param tFee 财务数据主
  47. * @return 财务数据主集合
  48. */
  49. public List<TFee> selectTFeeList(TFee tFee);
  50. public List<Map<String, Object>> selectTFeeList1(TFee tFee);
  51. /**
  52. * 凯和确认账单查询
  53. * @param tFee
  54. * @return
  55. */
  56. public List<Map<String, Object>> webVersionTFee(TFee tFee);
  57. /**
  58. * 网页版对账查询明细
  59. * @param tAccount
  60. * @return
  61. */
  62. public List<Map<String,Object>> webVersionDetail(TAccount tAccount);
  63. /**
  64. * 网页版发票查询
  65. * @param tFee
  66. * @return
  67. */
  68. public List<Map<String, Object>> webVersionInvoice(TFee tFee);
  69. /**
  70. * 网页版发票查询明细
  71. * @param tFee
  72. * @return
  73. */
  74. public List<Map<String, Object>> webVersionInvoiceDetail(TFee tFee);
  75. /**
  76. * 网页版查询数据
  77. * @param tAccount
  78. * @return
  79. */
  80. public List<Map<String, Object>> webVersionList(TAccount tAccount);
  81. /**
  82. * 新增财务数据主
  83. *
  84. * @param tFee 财务数据主
  85. * @return 结果
  86. */
  87. public int insertTFee(TFee tFee);
  88. /**
  89. * 保存对账、收款
  90. * @param tfee
  91. * @param tfeeDo
  92. * @param loginUser
  93. * @param fBilltype
  94. * @return
  95. */
  96. public AjaxResult insertTFeeTFeeDo(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  97. /**
  98. * 保存对账、收款
  99. * @param tfee
  100. * @param loginUser
  101. * @param fBilltype
  102. * @return
  103. */
  104. public AjaxResult insertWebVersion(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  105. /**
  106. * 保存对账、收款
  107. * @param tfee
  108. * @param tfeeDo
  109. * @param loginUser
  110. * @param fBilltype
  111. * @return
  112. */
  113. public AjaxResult insertKHTFeeTFeeDo(String tfee, String tfeeDo,String tFeeInvoice,LoginUser loginUser,String fBilltype);
  114. /**
  115. * 修改财务数据主
  116. *
  117. * @param tFee 财务数据主
  118. * @return 结果
  119. */
  120. public int updateTFee(TFee tFee);
  121. /**
  122. * 批量删除财务数据主
  123. *
  124. * @param fIds 需要删除的财务数据主ID
  125. * @return 结果
  126. */
  127. public int deleteTFeeByIds(Long[] fIds);
  128. /**
  129. * 批量删除财务数据主
  130. *
  131. * @param fIds 需要删除的财务数据主ID
  132. * @return 结果
  133. */
  134. public AjaxResult deleteWebVersionByIds(Long[] fIds);
  135. /**
  136. * 删除财务数据主信息
  137. *
  138. * @param fId 财务数据主ID
  139. * @return 结果
  140. */
  141. public int deleteTFeeById(Long fId);
  142. /**
  143. * 对账、收费、付费
  144. * @param tWareHouseFees
  145. * @return
  146. */
  147. public List<Map<String, Object>> warehouseBillsFeesList(TWareHouseFees tWareHouseFees,String billsType);
  148. public List<Map<String, Object>> warehouseBillsFeesList(TWareHouseFees tWareHouseFees);
  149. public List<Map<String, Object>> warehouseBillsFeesProfitList(TWareHouseFees tWareHouseFees);
  150. /**
  151. * 财务: 对账、收费、付费 流程确认
  152. * @param tfee
  153. * @param tfeeDo
  154. * @param loginUser
  155. * @param fBilltype
  156. * @return
  157. */
  158. public AjaxResult confirm(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  159. /**
  160. *
  161. * @param fIds
  162. * @return
  163. */
  164. public AjaxResult webVersionConfirm(Long[] fIds,String billsType,LoginUser loginUser);
  165. /**
  166. * 凯和
  167. * @param tfee
  168. * @param tfeeDo
  169. * @param tFeeInvoice
  170. * @param loginUser
  171. * @param fBilltype
  172. * @return
  173. */
  174. public AjaxResult confirmKaiHe(String tfee, String tfeeDo,String tFeeInvoice,LoginUser loginUser,String fBilltype);
  175. public AjaxResult revoke(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  176. public AjaxResult queryRemove(Long fId);
  177. public AjaxResult remove(Long fId);
  178. /**
  179. * 导出计算明细
  180. * @param fId
  181. * @return
  182. */
  183. public List<TWareHouseExcelItem> selectTWarehousebillsItemsList(Long fId);
  184. public String findCtrlcorpid (Long fId);
  185. public List<Receivable> receivableExport(TWareHouseFees tWareHouseFees) throws Exception;
  186. public List<Payable> payableExport(TWareHouseFees tWareHouseFees) throws Exception;
  187. public List<Profit> profitExport(TWareHouseFees tWareHouseFees) throws Exception;
  188. public List<Contrast> contrastExport(TFee tFee) throws Exception;
  189. public List<Payment> paymentExport(TFee tFee) throws Exception;
  190. public List<Charge> chargeExport(TFee tFee) throws Exception;
  191. /**
  192. * 凯和网页版对账下载
  193. * @param tFee
  194. * @return
  195. * @throws Exception
  196. */
  197. public List<Account> accountExport(TFee tFee) throws Exception;
  198. public List<Detailed> selectDetailedList(Long fId);
  199. List<Map<String, Object>> selectdetailedList(TWarehousebill tWarehousebill);
  200. /**
  201. * 网页版申请发票审核
  202. * @param tFee
  203. * @return
  204. */
  205. public AjaxResult webVersionApplyFP(TFee tFee, LoginUser loginUser, String billType, TFeeInvoice tFeeInvoice);
  206. /**
  207. * 网页版申请发票提交
  208. * @param tFee
  209. * @return
  210. */
  211. public AjaxResult webVersionSubmitApplyFP(TFee tFee,LoginUser loginUser,String billType);
  212. /**
  213. * 网页版申请发票提交
  214. * @param tFee
  215. * @return
  216. */
  217. public AjaxResult webVersionUpdateApplyFP(TFee tFee,LoginUser loginUser,String billType);
  218. /**
  219. * 凯和查询财务信息列表
  220. * @param tFee
  221. * @return
  222. */
  223. public List<FinancialTFee> selectFinancialTFeeList(TFee tFee);
  224. /**
  225. * 对账、收费、付费
  226. * @param tWareHouseFees
  227. * @return
  228. */
  229. public List<Map<String, Object>> FinancialFeesList(TWareHouseFees tWareHouseFees);
  230. /**
  231. * 凯和获取财务数据详情
  232. * @param fId
  233. * @return
  234. */
  235. public Map<String, Object> selectFinancialTFeeId(Long fId);
  236. /**
  237. * 导出费用明细
  238. */
  239. public List<FinancialTFeeDoExcel> FinancialTFeeDoExcel(Long fId);
  240. }