Commit b03f4045 authored by zhangwanglin's avatar zhangwanglin

身份证查询

parent 1f47735e
......@@ -4,7 +4,12 @@
<select id="queryApplyCount" resultType="int">
select count(1) from Ch_Disable_Apply a
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}
<if test="realName != null and realName != ''">
or a.real_name like CONCAT(CONCAT('%',#{realName}) ,'%')
</if>
)
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment