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

import java.util.List;

import org.springframework.data.domain.Page;

import com.uas.platform.b2b.history.model.PurchaseNotice;
import com.uas.platform.b2b.history.model.SaleSendItem;
import com.uas.platform.core.model.PageInfo;

public interface PurchaseNoticeService {

	/**
	 * 分页查找送货提醒单
	 * 
	 * @param pageInfo
	 * @return
	 */
	public Page<PurchaseNotice> findAllByPageInfo(PageInfo pageInfo);

	/**
	 * 用单据ID查找送货提醒单
	 * 
	 * @param id
	 * @return
	 */
	public PurchaseNotice findById(Long id);

	/**
	 * 查找送货提醒单的发货记录
	 * 
	 * @param noticeId
	 * @return
	 */
	public List<SaleSendItem> findSendById(long noticeId);

}
