package com.quantgroup.asset.distribution.service.funding;

import com.quantgroup.asset.distribution.service.jpa.entity.AidLoanFundAuditOrder;

/**
 * @author : Hyuk
 * @description : IAidFundAuditOrderService
 * @date : 2020/3/30 10:31 上午
 */
public interface IAidFundAuditOrderService {

    public AidLoanFundAuditOrder saveAidFundAuditOrder(AidLoanFundAuditOrder aidLoanFundAuditOrder);

    /**
     * 更改助贷资金路由审核订单状态
     * @param aidLoanFundAuditOrder
     * @param status
     * @return
     */
    public AidLoanFundAuditOrder updateOrderStatus(AidLoanFundAuditOrder aidLoanFundAuditOrder, Integer status);

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