package market.Qms.qcm.mapper;

import java.util.List;

import market.Qms.qcm.vo.QcmJudgeSurface;

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

import com.hnshituo.orm.GenericMapper;

public interface QcmJudgeSurfaceMapper extends GenericMapper<QcmJudgeSurface, String> {

	public QcmJudgeSurface findMaxS(QcmJudgeSurface qjs);
	
	public QcmJudgeSurface getSurfaceSampleItem(String sfType,String suaface_id);

	@Update("update YDM_PRODUCT_DETAIL set SURFACERESULT = null,UP_SURFACE_RESULT = null,UP_SURFACE_RESULT_ID = null where COILNO=#{material_no}")
	public void cleanSuf(@Param("material_no")String material_no);
	
	public List<QcmJudgeSurface> doQueryQjsNew(String condition,int num1,int num2);
	public long doQueryQjsNewCount(String condition);
	
}
