提交 3eeefa50 作者: zhenjie

实名认证列表修改

上级 7e91231e
...@@ -104,7 +104,20 @@ ...@@ -104,7 +104,20 @@
</select> </select>
<select id="countListRealNameAuth" resultType="java.lang.Integer"> <select id="countListRealNameAuth" resultType="java.lang.Integer">
select count(*) from real_name_auth where is_deleted = 0 and check_status = 1 select count(*) from user_account ua inner join real_name_auth rna on
ua.id=rna.user_account_id
where ua.`disable` = 0 and check_status = 1
<if test="keyword != null and keyword != '' ">
and ( ua.id like concat('%',#{keyword},'%')
or
ua.user_name like concat('%',#{keyword},'%')
or ua.phone_num like
concat('%',#{keyword},'%')
)
</if>
<if test="checkStatus != null ">
and rna.check_status = #{checkStatus}
</if>
</select> </select>
<select id="listRealNameAuth" resultType="com.mmc.iuav.user.entity.RealNameAuthDO" <select id="listRealNameAuth" resultType="com.mmc.iuav.user.entity.RealNameAuthDO"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论