87 lines
2.2 KiB
Java
87 lines
2.2 KiB
Java
package com.cdzy.user.service;
|
|
|
|
import com.cdzy.user.model.dto.EbikeOrderRefundDto;
|
|
import com.cdzy.user.model.dto.EbikeRefundProcessDto;
|
|
import com.cdzy.user.model.dto.EbikeRefundQueryDto;
|
|
import com.cdzy.user.model.dto.EbikeTreadRecordDto;
|
|
import com.cdzy.user.model.entity.EbikeRefund;
|
|
import com.cdzy.user.model.vo.*;
|
|
import com.mybatisflex.core.paginate.Page;
|
|
import com.mybatisflex.core.service.IService;
|
|
|
|
/**
|
|
* 用户退款 服务层
|
|
*
|
|
* @author yanglei
|
|
* @since 2025-11-13 20:09
|
|
*/
|
|
|
|
public interface EbikeRefundService extends IService<EbikeRefund> {
|
|
|
|
/**
|
|
* 退款申请
|
|
*
|
|
* @param ebikeRefundDto 退款申请信息
|
|
* @return 退款信息id
|
|
*/
|
|
Long refundApply(EbikeOrderRefundDto ebikeRefundDto);
|
|
|
|
/**
|
|
* 审核退款申请
|
|
*
|
|
* @param processDto 退款审核信息
|
|
* @return 退款信息id
|
|
* @operator 操作人id
|
|
*/
|
|
boolean refundReview(EbikeRefundProcessDto processDto, String loginId);
|
|
|
|
/**
|
|
* 获取退款列表
|
|
*
|
|
* @param refundDto 查询条件
|
|
* @return 退款列表
|
|
*/
|
|
Page<?> queryRefundList(EbikeRefundQueryDto refundDto);
|
|
|
|
/**
|
|
* 退款订单详情
|
|
*
|
|
* @param refundId 退款id
|
|
* @return 退款详情
|
|
*/
|
|
EbikeRefundOrderDetailVo queryRefundOrderById(Long refundId);
|
|
|
|
/**
|
|
* 退款申请订单详情
|
|
*
|
|
* @param orderId 订单id
|
|
* @return 退款申请详情
|
|
*/
|
|
EbikeRefundApplyOrderInfoVo queryRefundApplyOrderById(Long orderId);
|
|
|
|
/**
|
|
* 退款用户申请交易记录
|
|
*
|
|
* @param userQueryDto 交易记录查询参数
|
|
* @return 用户申请交易记录
|
|
*/
|
|
Page<EbikeTransactionRecordVo> queryRefundTradeRecordById(EbikeTreadRecordDto userQueryDto);
|
|
|
|
/**
|
|
* 退款用户申请用户退款记录
|
|
*
|
|
* @param userQueryDto 交易记录查询参数
|
|
* @return 用户申请用户退款记录
|
|
*/
|
|
Page<EbikeRefundApplyRefundRecordVo> queryRefundRefundRecordById(EbikeTreadRecordDto userQueryDto);
|
|
|
|
/**
|
|
* 退款用户订单记录
|
|
*
|
|
* @param userQueryDto 查询条件
|
|
* @return 用户订单列表
|
|
*/
|
|
Page<EbikeOrderRecordVo> getRefundOrderRecords(EbikeTreadRecordDto userQueryDto);
|
|
|
|
}
|