package com.inkasso.factoring.financingmanagement.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.inkasso.factoring.financingmanagement.entity.ContractSignConfirm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description : 合同签署确认Mapper
 * @Author : L.Jia
 * @Date: 2024-02-23 14:17
 */

@Mapper
public interface ContractSignConfirmMapper extends BaseMapper<ContractSignConfirm> {

    /**
     * 根据融资申请Id获取合同签署确认信息
     *
     * @param financingApplyId
     * @return
     */
    ContractSignConfirm getByFinancingApplyId(@Param("financingApplyId") Long financingApplyId, @Param("visible") boolean visible);

    /**
     * 根据融资申请Id获取合同信息Id
     *
     * @param financingApplyId
     * @return
     */
    Long getContractInfoIdByFinancingApplyId(@Param("financingApplyId") Long financingApplyId);
}
