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

import market.Qms.qcm.vo.QcmJhySampleConsignM;
import market.Qms.qcm.vo.QcmJhySampleROrd;
import market.Qms.qcm.vo.QcmJhySampleROrdTemp;
import market.Qms.qcm.vo.QcmJudgePhysicalTemp;

import org.apache.ibatis.annotations.Param;

import com.hnshituo.orm.GenericMapper;

public interface QcmJhySampleROrdMapper extends GenericMapper<QcmJhySampleROrd,Object> {

	/**
	 * 获取材质待、已判定信息
	 * @param condition
	 * @return
	 */
	List<QcmJhySampleROrd> GetSamplePhyInfo(String condition);
	
	/**
	 * 获取成分待、已判定信息
	 * @param condition
	 * @return
	 */
	List<QcmJhySampleROrd> GetSampleChemInfo(String condition);
	
	List<QcmJhySampleROrdTemp> getSampleInformation(String con);

	void doDeleteROrd(QcmJhySampleConsignM qm);
	//更新判定结果
	void updateQcmSample(@Param("qc")QcmJudgePhysicalTemp qc);

	
	//根据ID查询
	List<QcmJhySampleROrd> findByDesignKey(String design_key);
	
	List<QcmJhySampleROrd> findInfo(String order_no, String lx, String inspection_lot);//
	
	public void deleteByInspection(String inspection_lot);
	
	 //自动判定更新材质结果
	void updatePhyResult(@Param("qc") QcmJhySampleROrd qc);
}
