@ -66,11 +66,10 @@
ubi.SURNAME,
( CASE WHEN ubi.GENDER = '1' THEN '先生' WHEN ubi.GENDER = '2' THEN '女士' ELSE '先生/女士' END )
) AS show_name,
uw.HEAD_IMG_URL AS head_photo
ubi.HEAD_IMG_URL AS head_photo
FROM
user_base_info ubi
LEFT JOIN user_resi_info uri ON ( ubi.USER_ID = uri.USER_ID AND uri.DEL_FLAG = '0' )
LEFT JOIN user_wechat uw ON ( uri.USER_ID = uw.USER_ID AND uw.DEL_FLAG = '0' )
WHERE
ubi.USER_ID =#{userId}
AND ubi.DEL_FLAG = '0'