SettlementService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.fuint.common.service;
  2. import com.fuint.common.dto.SettlementDto;
  3. import com.fuint.framework.exception.BusinessCheckException;
  4. import com.fuint.framework.pagination.PaginationRequest;
  5. import com.fuint.framework.pagination.PaginationResponse;
  6. import com.fuint.module.backendApi.request.SettlementRequest;
  7. import com.fuint.repository.model.MtSettlement;
  8. /**
  9. * 订单结算相关业务接口
  10. *
  11. * Created by FSQ
  12. * CopyRight https://www.fuint.cn
  13. */
  14. public interface SettlementService {
  15. /**
  16. * 分页查询结算列表
  17. *
  18. * @param paginationRequest
  19. * @return
  20. */
  21. PaginationResponse<MtSettlement> querySettlementListByPagination(PaginationRequest paginationRequest) throws BusinessCheckException;
  22. /**
  23. * 提交结算
  24. *
  25. * @param requestParam
  26. * @throws BusinessCheckException
  27. * @return
  28. */
  29. Boolean submitSettlement(SettlementRequest requestParam) throws BusinessCheckException;
  30. /**
  31. * 结算确认
  32. *
  33. * @param settlementId
  34. * @param operator
  35. * @throws BusinessCheckException
  36. * @return
  37. */
  38. Boolean doConfirm(Integer settlementId, String operator) throws BusinessCheckException;
  39. /**
  40. * 获取结算详情
  41. *
  42. * @param settlementId
  43. * @param page
  44. * @param pageSize
  45. * @return
  46. * */
  47. SettlementDto getSettlementInfo(Integer settlementId, Integer page, Integer pageSize) throws BusinessCheckException;
  48. }