package com.sunxung.factoring.service.salescontractmanagement;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sunxung.factoring.entity.customerinformation.ElectronicSignaturePersonal;
import com.sunxung.factoring.entity.salescontractmanagement.CSalesSignConfirmation;
import com.sunxung.factoring.entity.salescontractmanagement.CSalesSignConfirmationElectronicInfo;
import com.sunxung.factoring.entity.salescontractmanagement.SalesContractApproval;
import com.sunxung.factoring.entity.salescontractmanagement.vo.SalesContractApprovalVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description : 销售合同审批service
 * @Author : L.Jia
 * @Date: 2021-09-15 17:50
 */
public interface SalesContractApprovalService extends IService<SalesContractApproval> {

    /**
     * 查询信息、用于历史列表展示
     *
     * @param id
     * @return
     */
    SalesContractApproval getView(Long id);

    /**
     * 获取详情
     * @return
     */
    SalesContractApproval getDetail(Long id);

    /**
     * 法务审核
     *
     * @param salesContractApproval
     * @return
     */
    void audit(SalesContractApproval salesContractApproval);

    //向法大大上传合同信息
    CSalesSignConfirmation uploadContract(ElectronicSignaturePersonal electronicSignaturePersonal, CSalesSignConfirmation salesSignConfirmation,
                               List<CSalesSignConfirmationElectronicInfo> signElectronicInfos);
}
