to_char(cj.lrsj, 'yyyy-MM-dd HH24:mm:ss') as lrsjStr,
to_char(cj.CSRQ_QSRQ, 'yyyy-MM-dd HH24:mm:ss') as csrqQsrqStr,
ck.R_PMZW as "rPmzw",
ck.R_GDZW as "rGdzw",
ck.JCJG as jcjg
from TB_RY_RYCJ cj,
AFIS_QUALITY_CK ck
where cj.RYBH = ck.R_RYBH and (cj.SCBZ='0' or cj.SCBZ is null) and (ck.SCBZ='0' or ck.SCBZ is null) AND (cj.IFHB<![CDATA[<>]]>'1' OR cj.IFHB IS NULL) and cj.RYBH = #{rybh , jdbcType=VARCHAR }