package market.Qms.metallurgy.mapper;
import java.util.List;

import market.Qms.metallurgy.vo.ComMscCicSample;

import org.apache.ibatis.annotations.Select;

import com.hnshituo.orm.GenericMapper;

public interface ComMscCicSampleMapper extends GenericMapper<ComMscCicSample,Object> {
//	void deleteByCIC(String param);
	void doDelete(String _parameter);
	
	@Select("    select 'CICL'||to_char(nvl(max(to_number(substr(c.cic,-6))),0)+1,'fm099999') from  COM_MSC_CIC_SAMPLE c ")
	public String getMaxNo();
	
	/**
	 * 根据成分索引号获取成分取样要求
	 * @param cic 成分索引号
	 * @return
	 */
	List<ComMscCicSample> GetSampleByCic(String cic);
	
	/**
	 * 根据msc作废
	 */
	public void doZfMsc(String msc);
}
