package com.jwipc.inquiry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.inquiry.entity.InquirySupplier;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.inquiry.model.po.InquirySupplierPO;
import com.jwipc.inquiry.model.po.InquirySupplierQuotePO;
import com.jwipc.inquiry.model.query.InquirySupplierQuery;

import java.util.List;

/**
 * <p>
 * 询价供应商表（与询价表一对一） 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-02-22
 */
public interface IInquirySupplierService extends IService<InquirySupplier> {

    List<InquirySupplierQuotePO> findPageByQuery(Page<InquirySupplier> dbPage, InquirySupplierQuery query);

    List<InquirySupplierPO> listByInquiryId(Long inquiryId);

    void updateConState(Long xjdetailId, Integer state);
}
