package com.fjhx.sale.service.intermediate;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.sale.entity.contract.vo.ContractPdfInfoVo;
import com.fjhx.sale.entity.intermediate.dto.IntermediateContractDto;
import com.fjhx.sale.entity.intermediate.dto.IntermediateContractSelectDto;
import com.fjhx.sale.entity.intermediate.po.IntermediateContract;
import com.fjhx.sale.entity.intermediate.vo.IntermediateContractVo;
import com.ruoyi.common.core.service.BaseService;

import java.util.List;


/**
 * <p>
 * 中间合同 服务类
 * </p>
 *
 * @author
 * @since 2023-06-28
 */
public interface IntermediateContractService extends BaseService<IntermediateContract> {

    /**
     * 中间合同分页
     */
    Page<IntermediateContractVo> getPage(IntermediateContractSelectDto dto);

    /**
     * 中间合同明细
     */
    IntermediateContractVo detail(Long id);

    /**
     * 中间合同编辑
     */
    void edit(IntermediateContractDto intermediateContractDto);

    /**
     * 获取中间合同历史联系方式
     */
    List<IntermediateContractVo> contactList(IntermediateContractDto dto);

    /**
     * 获取打印信息
     *
     * @return
     */
    ContractPdfInfoVo getPrintInfo(IntermediateContractDto dto);
}
