package com.yn.bftl.thirdparty.modules.unionpay.repository;

import com.yn.bftl.common.modules.order.entity.OrderFeeRatio;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author huabiao
 * @create 2022/9/5  11:19
 **/
public interface OrderFeeRatioRepository extends JpaRepository<OrderFeeRatio, Long> {

    /**
     * 订单费用比例-根据订单查询
     *
     * @param orderId:订单ID
     * @return 订单费用比例
     * @author huabiao
     * @create 2022/9/5  11:11
     */
    OrderFeeRatio findByOrdersId(Long orderId);
}
