ITFeeService.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.reportManagement.excel.Payable;
  11. import com.ruoyi.reportManagement.excel.Profit;
  12. import com.ruoyi.reportManagement.excel.Receivable;
  13. import com.ruoyi.warehouseBusiness.excel.TWareHouseExcelItem;
  14. import java.util.List;
  15. import java.util.Map;
  16. /**
  17. * 财务数据主Service接口
  18. *
  19. * @author ruoyi
  20. * @date 2021-01-18
  21. */
  22. public interface ITFeeService {
  23. /**
  24. * 查询财务数据主
  25. *
  26. * @param fId 财务数据主ID
  27. * @return 财务数据主
  28. */
  29. public Map<String, Object> selectTFeeById(Long fId);
  30. /**
  31. * 查询财务数据主列表
  32. *
  33. * @param tFee 财务数据主
  34. * @return 财务数据主集合
  35. */
  36. public List<TFee> selectTFeeList(TFee tFee);
  37. public List<Map<String, Object>> selectTFeeList1(TFee tFee);
  38. /**
  39. * 新增财务数据主
  40. *
  41. * @param tFee 财务数据主
  42. * @return 结果
  43. */
  44. public int insertTFee(TFee tFee);
  45. /**
  46. * 保存对账、收款
  47. * @param tfee
  48. * @param tfeeDo
  49. * @param loginUser
  50. * @param fBilltype
  51. * @return
  52. */
  53. public AjaxResult insertTFeeTFeeDo(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  54. /**
  55. * 修改财务数据主
  56. *
  57. * @param tFee 财务数据主
  58. * @return 结果
  59. */
  60. public int updateTFee(TFee tFee);
  61. /**
  62. * 批量删除财务数据主
  63. *
  64. * @param fIds 需要删除的财务数据主ID
  65. * @return 结果
  66. */
  67. public int deleteTFeeByIds(Long[] fIds);
  68. /**
  69. * 删除财务数据主信息
  70. *
  71. * @param fId 财务数据主ID
  72. * @return 结果
  73. */
  74. public int deleteTFeeById(Long fId);
  75. /**
  76. * 对账、收费、付费
  77. * @param tWareHouseFees
  78. * @return
  79. */
  80. public List<Map<String, Object>> warehouseBillsFeesList(TWareHouseFees tWareHouseFees,String billsType);
  81. public List<Map<String, Object>> warehouseBillsFeesList(TWareHouseFees tWareHouseFees);
  82. public List<Map<String, Object>> warehouseBillsFeesProfitList(TWareHouseFees tWareHouseFees);
  83. /**
  84. * 财务: 对账、收费、付费 流程确认
  85. * @param tfee
  86. * @param tfeeDo
  87. * @param loginUser
  88. * @param fBilltype
  89. * @return
  90. */
  91. public AjaxResult confirm(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  92. public AjaxResult revoke(String tfee, String tfeeDo ,LoginUser loginUser,String fBilltype);
  93. public AjaxResult queryRemove(Long fId);
  94. /**
  95. * 导出计算明细
  96. * @param fId
  97. * @return
  98. */
  99. public List<TWareHouseExcelItem> selectTWarehousebillsItemsList(Long fId);
  100. public String findCtrlcorpid (Long fId);
  101. public List<Receivable> receivableExport(TWareHouseFees tWareHouseFees) throws Exception;
  102. public List<Payable> payableExport(TWareHouseFees tWareHouseFees) throws Exception;
  103. public List<Profit> profitExport(TWareHouseFees tWareHouseFees) throws Exception;
  104. public List<Contrast> contrastExport(TFee tFee) throws Exception;
  105. public List<Payment> paymentExport(TFee tFee) throws Exception;
  106. public List<Charge> chargeExport(TFee tFee) throws Exception;
  107. public List<Detailed> selectDetailedList(Long fId);
  108. }