select * from QCM_JUDGE_SURFACE where 1=1 and MATERIAL_NO = :1 select * from QCM_JUDGE_SURFACE_FLAW where 1=1 and SURFACE_ID = :1