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

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunxung.factoring.entity.financing.contract.ContractLegalFinalApproval;

import javax.servlet.http.HttpServletResponse;

/**
 * @Description : 法务终审service
 * @Author : L.Jia
 * @Date: 2024-02-27 15:41
 */
public interface IContractLegalFinalApprovalService extends IService<ContractLegalFinalApproval> {
    /**
     * 获取法务终审编辑数据. <br/>
     *
     * @param id
     * @return
     */
    ContractLegalFinalApproval getContractLegalFinalApprovalEditData(Long id);

    /**
     * 法务终审提交
     *
     * @param contractLegalFinalApproval
     * @return
     */
    ContractLegalFinalApproval editContractLegalFinalApproval(ContractLegalFinalApproval contractLegalFinalApproval);

    /**
     * 下载全部电子签文件
     *
     * @param contractInfoId
     * @param res
     */
    void downloadAll(Long contractInfoId, HttpServletResponse res);

    /**
     * 获取法务终审历史信息
     *
     * @param id
     * @return
     */
    ContractLegalFinalApproval getView(Long id);
}
