package com.quantgroup.asset.distribution.service.jpa.repository;

import com.quantgroup.asset.distribution.service.jpa.entity.AidLoanFundAuditOrder;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author : Hyuk
 * @description : IAidLoanFundAuditOrderRepository
 * @date : 2020/3/30 1:34 上午
 */
public interface IAidLoanFundAuditOrderRepository extends JpaRepository<AidLoanFundAuditOrder, Long> {

    /**
     * 根据三元素查找订单
     * @param bizNo
     * @param fundId
     * @param auditResult
     * @return
     */
    public AidLoanFundAuditOrder findByBizNoAndFundIdAndEnableIsTrue(String bizNo, String fundId);
}
