IInvoiceService.java 849 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.fdkankan.ucenter.service;
  2. import com.fdkankan.ucenter.common.Result;
  3. import com.fdkankan.ucenter.entity.Invoice;
  4. import com.baomidou.mybatisplus.extension.service.IService;
  5. import com.fdkankan.ucenter.vo.request.InvoiceParam;
  6. import com.fdkankan.ucenter.vo.request.PlaceOrderParam;
  7. import java.math.BigDecimal;
  8. /**
  9. * <p>
  10. * 发票表 服务类
  11. * </p>
  12. *
  13. * @author
  14. * @since 2022-07-13
  15. */
  16. public interface IInvoiceService extends IService<Invoice> {
  17. Invoice getByOrderId(Long orderId);
  18. Invoice getByIncrementOrderId(Long incrementOrderId);
  19. Invoice getByDownId(Long downId);
  20. void saveByOrder(Long userId, PlaceOrderParam param);
  21. Invoice openInvoice(InvoiceParam param, String token);
  22. void checkInvoice(Long orderId, Integer consumeType);
  23. BigDecimal getMoney(Long orderId, Integer consumeType);
  24. }