package com.uas.platform.b2b.history.service;

import org.springframework.data.domain.Page;

import com.uas.platform.b2b.history.model.PurchaseInquiry;
import com.uas.platform.b2b.history.model.PurchaseInquiryItem;
import com.uas.platform.core.model.PageInfo;

public interface PurchaseInquiryService {

	/**
	 * 分页查找询价单
	 * 
	 * @param pageInfo
	 * @return
	 */
	public Page<PurchaseInquiryItem> findAllByPageInfo(PageInfo pageInfo);

	/**
	 * 用询价单ID查找询价单
	 * 
	 * @param id
	 * @return
	 */
	public PurchaseInquiry findById(Long id);

	/**
	 * 用询价单明细ID查找询价单明细
	 * 
	 * @param id
	 * @return
	 */
	public PurchaseInquiryItem findItemByItemId(Long itemId);

}
