package com.softwarebr.nunu.dao.user;

import com.softwarebr.nunu.entity.user.RefundInfo;
import com.brframework.commondb.core.CommonRepository;
import org.springframework.stereotype.Repository;

/**
 * @date 2020-02-27 13:36:08
 * @author lilin
 */

@Repository
public interface RefundInfoDao extends CommonRepository<Long, RefundInfo> {

    /**
     * 订单Id查询退款信息
     * @param orderId
     * @return
     */
    RefundInfo findTopByOrderId(Long orderId);

}