| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- package com.cyksj.service.order;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.cyksj.dto.Result;
- import com.cyksj.model.dto.AliPayParams;
- import com.cyksj.model.dto.H5JsPayParams;
- import com.cyksj.model.entity.OrderDon;
- import com.cyksj.model.entity.RealGoodsInterestUser;
- import com.cyksj.model.manage.views.OrderDonView;
- import com.cyksj.model.request.OrderPayRequest;
- import com.cyksj.model.request.TransferAccountsReq;
- import com.cyksj.model.request.WxOrderRefundReq;
- import com.cyksj.model.request.ZfbOrderRefundReq;
- import java.util.Date;
- import java.util.List;
- import java.util.Map;
- /**
- * @author chan
- * @date 2021/10/11 下午4:07
- */
- public interface OrderDonService extends IService<OrderDon> {
- OrderDon submit(OrderPayRequest request) throws Exception;
- /**
- * 订单支付
- */
- H5JsPayParams pay(Long orderId, String tradeType) throws Exception;
- /**
- * 微信pc端支付
- */
- H5JsPayParams wxPcWebPay(Long orderId, String tradeType) throws Exception;
- /**
- * 微信支付回调
- */
- void prepayNotify(Map<String, String> map) throws Exception;
- /**
- * 关闭订单
- */
- void closeOrder(Long orderId);
- OrderDon renewal(OrderPayRequest request) throws Exception;
- OrderDonView getDetail(Long orderId, Long userId);
- List<OrderDon> getAppleOneOrderDons(String appleOne, List<Long> skuIds,List<Long> goodsIds, List<String> noOrderStatus, Date yesZeroDate, Date thisZeroDate);
- /**
- * 支付宝预支付
- */
- AliPayParams aliPay(Long orderId, String productCode, String qrPayMode) throws Exception;
- /**
- * 支付宝回调
- */
- void aliPayNotify(Map<String, String> paramsMap) throws Exception;
- /**
- * 微信退款
- */
- Result<String> wxRefund(WxOrderRefundReq wxOrderRefundReq) throws Exception;
- /**
- * 微信退款回调
- */
- void wxRefundNotify(Map<String, String> map) throws Exception;
- /**
- * 支付宝退款
- */
- Result<String> zfbRefund(ZfbOrderRefundReq zfbOrderRefundReq) throws Exception;
- List<RealGoodsInterestUser> selectNoPaymentRealGoods();
- Integer updateHasPaymentInterestRealGoods();
- void updateHasPaymentInterestRealGoodsPayTime();
- void saveTransport(Long addressId, Long orderId);
- /**
- * 支付宝红包转账
- */
- Boolean transferAccounts(TransferAccountsReq transferAccountsReq) throws Exception;
- /**
- * 查询支付宝转账状态
- */
- String getTransFerStatusByTid(String translationId) throws Exception;
- }
|