package com.sunxung.factoring.service.financing.review;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunxung.factoring.entity.financing.review.ReviewQuotaDisburseApproval;

/**
 * @Description : 额度支用审批service
 * @Author : L.Jia
 * @Date: 2024-01-21 11:31
 */
public interface ReviewQuotaDisburseApprovalService extends IService<ReviewQuotaDisburseApproval> {

    /**
     * 根据额度支用ID，查询额度支用审批详情信息 默认显示到（额度支用审批处理页面）
     *
     * @param id 融资申请Id
     * @return
     */
    ReviewQuotaDisburseApproval getToEditPageByDisburseId(Long id);

    /**
     * 新增额度支用审批
     *
     * @param quotaDisburseApproval 额度支用审批实体对象
     * @return ReviewQuotaDisburseApproval 额度支用审批实体对象
     */
    ReviewQuotaDisburseApproval editReviewQuotaDisburseApproval(ReviewQuotaDisburseApproval quotaDisburseApproval);

    /**
     * 历史详情页查看
     *
     * @param id
     * @return
     */
    ReviewQuotaDisburseApproval getView(Long id);
}
