package com.trade.admin.trade.purchasecontract.service;

import com.github.pagehelper.PageInfo;
import com.trade.admin.trade.purchasecontract.dto.PurchaseContractSearchDto;
import com.trade.common.core.page.GridPage;
import com.trade.service.trade.filingdoc.vo.Contract4FilingDocSearch;
import com.trade.service.trade.filingdoc.vo.PurchaseContract4FilingDocVO;
import com.trade.service.trade.purchasecontract.dto.PurchaseContractDetailDto;
import com.trade.service.trade.purchasecontract.dto.PurchaseContractDto;
/**
 * 采购合同表基础表服务接口
 *
 * @author hlb
 * @since 2024-09-07 16:30:38
 */
public interface PurchaseContractService {

    /**
     * 获取采购合同列表
     *
     * @param searchDto 采购合同搜索条件
     * @return 采购合同列表
     */
    GridPage<PurchaseContractDto> getPurchaseContractBySearch(PurchaseContractSearchDto searchDto);

    /**
     * 根据id获取采购合同详情
     * 
     * @param id
     * @return
     */
    PurchaseContractDetailDto findPurchaseContractDetailById(Long id);

    /**
     * 获取备案单证采购合同列表
     * 
     * @param search 搜索条件
     * @return 采购合同列表
     */
    PageInfo<PurchaseContract4FilingDocVO> queryList4FilingDocBySearch(Contract4FilingDocSearch search);
}
