InsPlyIncomeService.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. package com.ydtech.modules.fnc.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.ydtech.core.page.HttpResult;
  4. import com.ydtech.modules.fnc.dto.PlatformSettlementRecordDto;
  5. import com.ydtech.modules.fnc.entity.InsAreaCompany;
  6. import com.ydtech.modules.fnc.entity.InsPlyIncome;
  7. import com.ydtech.modules.fnc.entity.SettlementDocumentaryFeesEntity;
  8. import com.ydtech.modules.fnc.vo.InsPlyIncomeVo;
  9. import com.ydtech.modules.order.entity.BasePageResult;
  10. import com.ydtech.modules.order.entity.InsOrders;
  11. import com.ydtech.modules.protocols.entity.po.InsFeeOrderNew;
  12. import org.springframework.web.multipart.MultipartFile;
  13. import javax.servlet.http.HttpServletRequest;
  14. import javax.servlet.http.HttpServletResponse;
  15. import java.util.HashMap;
  16. import java.util.List;
  17. /**
  18. * <p>
  19. * 保司结算手续费 服务类
  20. * </p>
  21. *
  22. * @author gws
  23. * @since 2024-01-05
  24. */
  25. public interface InsPlyIncomeService extends IService<InsPlyIncome> {
  26. public HttpResult<BasePageResult<InsPlyIncome>> queryplyIncome(InsPlyIncomeVo insPlyIncomeVo);
  27. void uodateBalance(InsPlyIncomeVo insPlyIncomeVo);
  28. HttpResult<BasePageResult<InsPlyIncome>> totalQuery(InsPlyIncomeVo insPlyIncomeVo);
  29. HttpResult batchBalance(InsPlyIncomeVo insPlyIncomeVo);
  30. HttpResult<BasePageResult<InsPlyIncome>> queryNew(InsPlyIncomeVo insPlyIncomeVo);
  31. HttpResult<BasePageResult<InsPlyIncome>> nonSettlementQuery(InsPlyIncomeVo insPlyIncomeVo);
  32. void saveBalanceNew(InsOrders order, InsFeeOrderNew insFeeOrderNew, InsAreaCompany insAreaCompany);
  33. HttpResult<List<InsPlyIncome>> nonSettldetail(InsPlyIncomeVo insPlyIncomeVo);
  34. HashMap<String, Object> importData(MultipartFile multipartFile);
  35. void updateByEntity(InsPlyIncomeVo insPlyIncomeVo);
  36. HttpResult<InsPlyIncome> deleteById(InsPlyIncomeVo insPlyIncomeVo);
  37. HttpResult<InsPlyIncome> insertByEntity(InsPlyIncomeVo insPlyIncomeVo);
  38. HashMap<String,Object> totalAmount(List<String> selectIds);
  39. HttpResult<Object> batchPinBalance(InsPlyIncomeVo insPlyIncomeVo);
  40. List<InsPlyIncome> totalPinAmount(InsPlyIncomeVo insPlyIncomeVo);
  41. List<InsPlyIncome> totalBxAmount(InsPlyIncomeVo insPlyIncomeVo);
  42. HttpResult<Object> batchInvoicing(InsPlyIncomeVo insPlyIncomeVo);
  43. HttpResult<InsPlyIncome> queryInvoicing(InsPlyIncomeVo insPlyIncomeVo);
  44. HttpResult<Object> batchBxBalance(InsPlyIncomeVo insPlyIncomeVo);
  45. HttpResult<InsPlyIncome> querySettInvoicing(InsPlyIncomeVo insPlyIncomeVo);
  46. HttpResult<List<InsPlyIncome>> allOtherAmount(InsPlyIncomeVo insPlyIncomeVo);
  47. HttpResult<Object> batchInvoic(InsPlyIncomeVo insPlyIncomeVo);
  48. HttpResult pinHandlingexcel(InsPlyIncomeVo insPlyIncomeVo, HttpServletRequest request, HttpServletResponse response);
  49. HttpResult bxHandlingexcel(InsPlyIncomeVo insPlyIncomeVo, HttpServletRequest request, HttpServletResponse response);
  50. HttpResult bxOtherExcel(InsPlyIncomeVo insPlyIncomeVo, HttpServletRequest request, HttpServletResponse response);
  51. InsPlyIncome bxTotalAmount(InsPlyIncomeVo insPlyIncomeVo);
  52. /**
  53. *
  54. * @param multipartFile
  55. * @param isNotCar 是否是非车
  56. * @return 返回总金额 以及未匹配的数据
  57. */
  58. HashMap<String, Object> bxImportData(MultipartFile multipartFile ,String isNotCar);
  59. HashMap<String, Object> bxImportNoData(MultipartFile multipartFile,String isNotCar);
  60. /**
  61. *
  62. * @param insPlyIncomeVo 参数对象
  63. * @param request
  64. * @param response
  65. * @return
  66. */
  67. HttpResult bxOtherDetailsExcel(InsPlyIncomeVo insPlyIncomeVo, HttpServletRequest request, HttpServletResponse response);
  68. /**
  69. *
  70. * @param insPlyIncomeVo 传参字段
  71. * @return 开票未结算金额 开票号 ids 开票时间
  72. */
  73. HttpResult<List<SettlementDocumentaryFeesEntity>> invicdetail(InsPlyIncomeVo insPlyIncomeVo);
  74. HttpResult bxNoOtherDetailsExcel(InsPlyIncomeVo insPlyIncomeVo, HttpServletRequest request, HttpServletResponse response);
  75. /**
  76. *
  77. * @param incomeIds 开票ids
  78. * @return 通过开票id分组查出的金额总和
  79. */
  80. HttpResult<List<HashMap<String,Object>>> otherSettldetail(InsPlyIncomeVo insPlyIncomeVo);
  81. InsPlyIncome getEntityById(String id);
  82. HttpResult<List<HashMap<String,Object>>> otherTimeDetail(InsPlyIncomeVo insPlyIncomeVo);
  83. HttpResult<Object> singleInvoic(InsPlyIncomeVo insPlyIncomeVo);
  84. void batchUpdate(InsPlyIncomeVo insPlyIncomeVo);
  85. HashMap<String, Object> bxImportOther(MultipartFile multipartFile,String isNotCar);
  86. InsPlyIncome ptTotalAmount(InsPlyIncomeVo insPlyIncomeVo);
  87. HashMap<String, Object> noBxImportOther(MultipartFile multipartFile, String isNotCar);
  88. void batchUpdateVoucher(InsPlyIncomeVo insPlyIncomeVo);
  89. HttpResult<Object> reconciliation(InsPlyIncomeVo insPlyIncomeVo);
  90. HttpResult<Object> batchSumBalance(InsPlyIncomeVo insPlyIncomeVo);
  91. /**
  92. * @version
  93. * @author: hxl
  94. * @Date: 2024/6/18 10:10
  95. * @Description: 查询平台已结算记录
  96. */
  97. List<PlatformSettlementRecordDto> platformSettlementRecord(InsPlyIncomeVo insPlyIncomeV);
  98. }