ITFeeService.java 3.2 KB

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