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

import market.Pms.Demand.vo.PurDemandC;
import market.Pms.Demand.vo.PurDemandM;

import com.hnshituo.orm.GenericMapper;

public interface PurDemandCMapper extends GenericMapper<PurDemandC,Object> {
	String findMaxDemandSeq(String demand_seq);
	void deleteByDemandno(String demand_no);
	List<PurDemandC> findByDemandno(String demand_no);//根据部门号查询条数，不区分状态
	//计划中需求条数
	long  CountPurDemandC(PurDemandM pdm,String startTime, String endTime,String str);
	//计划中需求状态查询
	List<PurDemandC> findPurDemandC(PurDemandM pdm,String startTime, String endTime, int i, int j,String str);
}
