|
@@ -339,9 +339,9 @@
|
|
|
SELECT
|
|
SELECT
|
|
|
u.id,
|
|
u.id,
|
|
|
u.realname AS username,
|
|
u.realname AS username,
|
|
|
- u.avatar,
|
|
|
|
|
|
|
+ nfm.real_name_img AS avatar,
|
|
|
u.phone,
|
|
u.phone,
|
|
|
- nfm.real_name_status,
|
|
|
|
|
|
|
+ IFNULL(nfm.real_name_status, 0) AS real_name_status,
|
|
|
tem.num AS familyNum,
|
|
tem.num AS familyNum,
|
|
|
u.create_time
|
|
u.create_time
|
|
|
FROM
|
|
FROM
|
|
@@ -356,7 +356,7 @@
|
|
|
and u.username like CONCAT('%',#{findPageCUserInfoRequestDTO.username},'%')
|
|
and u.username like CONCAT('%',#{findPageCUserInfoRequestDTO.username},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="findPageCUserInfoRequestDTO.realNameStatus!=null">
|
|
<if test="findPageCUserInfoRequestDTO.realNameStatus!=null">
|
|
|
- and nfm.real_name_status=#{findPageCUserInfoRequestDTO.realNameStatus}
|
|
|
|
|
|
|
+ and IFNULL(nfm.real_name_status, 0)=#{findPageCUserInfoRequestDTO.realNameStatus}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
ORDER BY u.create_time DESC
|
|
ORDER BY u.create_time DESC
|