package market.Qms.com.mapper;
import market.Qms.com.vo.ComMscQuoteProcess;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.hnshituo.orm.GenericMapper;

public interface ComMscQuoteProcessMapper extends GenericMapper<ComMscQuoteProcess,Object> {

	@Delete("delete from COM_MSC_QUOTE_PROCESS where msc_pline=#{msc_plie}")
	void deleteByPline(@Param("msc_plie") String msc_plie);

	//void UpdateZf(String msc_pline);
	@Update("update COM_MSC_QUOTE_PROCESS a set a.validflag='0' where a.msc_pline=#{msc_pline}")
	public void UpdateZf(@Param("msc_pline") String msc_pline);

	@Update("update COM_MSC_QUOTE_PROCESS a set a.validflag='1' where a.msc_pline=#{msc_pline}")
	void UpdateHf(@Param("msc_pline") String msc_pline);

	@Delete("delete from COM_MSC_QUOTE_PROCESS where msc_pline=#{msc_plie}")
	public void deletemsc(@Param("msc_plie") String msc_plie);
}
