package com.inkasso.factoring.financingmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.inkasso.factoring.financingmanagement.entity.ContractElectronicCustomerInfo;
import com.inkasso.factoring.financingmanagement.entity.ContractSignConfirm;
import com.inkasso.factoring.financingmanagement.entity.SysCustomer;

/**
 * @Description : 合同签署确认service
 * @Author : L.Jia
 * @Date: 2024-02-23 14:07
 */
public interface IContractSignConfirmService extends IService<ContractSignConfirm> {

    /**
     * 获取合同签署页面
     *
     * @param id
     * @return
     */
    ContractSignConfirm getSignConfirmDetail(Long id);

    /**
     * 获取认证状态
     */
    SysCustomer findAuthInfo(String sysCustomerId);

    /**
     * 获取签署状态
     *
     * @param electronicCustomerInfoId
     * @return
     */
    ContractElectronicCustomerInfo findSignInfo(String electronicCustomerInfoId);

    /**
     * 合同签署确认提交
     *
     * @param contractSignConfirm
     * @return
     */
    ContractSignConfirm editContractSignConfirm(ContractSignConfirm contractSignConfirm);
}
