where a.APPLY_METHOD =#{type} and a.APPLY_STATUS=#{auditStatus} and (a.certi_code = #{certiCode} or a.real_name like CONCAT(CONCAT('%',#{realName}) ,'%'))
where a.APPLY_METHOD =#{type} and a.APPLY_STATUS=#{auditStatus}
and (a.certi_code = #{certiCode}
<iftest="realName != null and realName != ''">
or a.real_name like CONCAT(CONCAT('%',#{realName}) ,'%')