package com.zm.order.tool.server.service;

import com.zm.order.tool.server.dto.RefundDTO;
import com.zm.order.tool.server.query.RefundQuery;
import com.zm.util.dto.Result;

import java.util.List;

/**
 * @author: Z.X.F
 * @date: 2022/11/22
 * @className: IntelliJ IDEA
 * @description:
 */
public interface RefundService {

    void syncEs();

    /**
     * 查询退款单列表
     *
     * @param query
     * @return
     */
    Result<List<RefundDTO>> listRefund(RefundQuery query);

}
