package com.fs.qw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fs.qw.domain.QwExternalContactTransferCompanyAudit;
import com.fs.qw.dto.CompanyTransferAuditDTO;
import com.fs.qw.dto.CompanyTransferDTO;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;


public interface IQwExternalContactTransferCompanyAuditService extends IService<QwExternalContactTransferCompanyAudit> {

    /**
     * 添加待审核记录
     */
    void addAudit(CompanyTransferDTO param, Long companyId, String userName);

    /**
     * 查询审核记录列表
     */
    List<QwExternalContactTransferCompanyAudit> selectQwExternalContactTransferCompanyAuditList(QwExternalContactTransferCompanyAudit param);

    /**
     * 记录审核
     */
    void audit(CompanyTransferAuditDTO param, String userName);

    /**
     * 同步最新状态
     */
    void syncTransfer(Long auditId);

    List<QwExternalContactTransferCompanyAudit> selectQwExternalContactTransferCompanyAuditLists();

}
