RefundService.java
607 Bytes
package com.diligrp.rider.service;
import com.diligrp.rider.entity.OrderRefundReason;
import com.diligrp.rider.entity.OrderRefundRecord;
import java.util.List;
public interface RefundService {
/** 退款原因列表 */
List<OrderRefundReason> getReasons(int role);
/** 用户/骑手申请退款 */
void applyRefund(Long orderId, Long uid, int role, Long reasonId, String reason);
/** 分站审核退款:status=1通过 2拒绝 */
void handleRefund(Long recordId, int status, String remark);
/** 查询订单退款记录 */
OrderRefundRecord getByOrderId(Long orderId);
}