package market.Slm.OrderManagement.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import market.Slm.OrderManagement.vo.SlmProcessPlan;

import com.hnshituo.orm.GenericMapper;

public interface SlmProcessPlanMapper extends GenericMapper<SlmProcessPlan,Object> {

	void doInvalid(SlmProcessPlan plan);

	List<SlmProcessPlan> doQueryCensus(SlmProcessPlan plan, String startTime,
			String endTime);

	@Select("delete from SLM_PROCESS_PLAN where CONTRACT_NO = #{no} and CONTRACT_LINE_SEQ = #{lineSeq} and ORDER_SEQ = #{ordSeq}")
	void doDelete(@Param("no") String no, @Param("lineSeq")String lineSeq, @Param("ordSeq")String ordSeq);
}