package market.Pms.Demand.mapper;
import java.util.List;

import market.Pms.Demand.vo.PurPlanC;

import com.hnshituo.orm.GenericMapper;

public interface PurPlanCMapper extends GenericMapper<PurPlanC,Object> {
   //查找最大计划单号
	String findMaxPlanSqe(String plan_sqe);
	
	void deleteByPlanNo(String plan_no);
	
	PurPlanC findByDemandSqe(String demand_sqe);
	//采购单中采购单行新建查询
	List<PurPlanC> findPurPlanC(PurPlanC ppc,String startTime, String endTime,String str);
	
	PurPlanC findOnePurPlanC(PurPlanC ppc,String startTime, String endTime);
	
	//判断计划编制的计划行信息是否已经生成采购单行数据
	public int findIsPurchaseC(String planno);
}
