| | |
| | | <if test="key != null and key !=''"> |
| | | ,u_user_attr ub |
| | | </if> |
| | | <if test="unionId != null and unionId !=''"> |
| | | ,u_user_attr ua |
| | | </if> |
| | | where 1= 1 |
| | | <if test="openId != null and openId != ''"> |
| | | and u.user_id = ua.user_id |
| | | and ua.spec_cd = '100201911001' |
| | | and ua.value = #{openId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="unionId != null and unionId != ''"> |
| | | and u.user_id = ua.user_id |
| | | and ua.spec_cd = '100201911002' |
| | | and ua.value = #{unionId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="key != null and key != ''"> |
| | |
| | | <if test="openId != null and openId !=''"> |
| | | ,u_user_attr ua |
| | | </if> |
| | | <if test="unionId != null and unionId !=''"> |
| | | ,u_user_attr ua |
| | | </if> |
| | | where 1= 1 |
| | | <if test="openId != null and openId != ''"> |
| | | and u.user_id = ua.user_id |
| | | and ua.spec_cd = '100201911001' |
| | | and ua.value = #{openId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="unionId != null and unionId != ''"> |
| | | and u.user_id = ua.user_id |
| | | and ua.spec_cd = '100201911002' |
| | | and ua.value = #{unionId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="bId != null and bId !=''"> |
| | |
| | | <if test="openId != null and openId !=''"> |
| | | ,u_user_attr ua |
| | | </if> |
| | | <if test="unionId != null and unionId !=''"> |
| | | ,u_user_attr ua |
| | | </if> |
| | | where 1= 1 |
| | | <if test="openId != null and openId != ''"> |
| | | and u.user_id = ua.user_id |
| | |
| | | and ua.value = #{openId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="unionId != null and unionId != ''"> |
| | | and u.user_id = ua.user_id |
| | | and ua.spec_cd = '100201911002' |
| | | and ua.value = #{unionId} |
| | | and ua.status_cd = '0' |
| | | </if> |
| | | <if test="bId != null and bId !=''"> |
| | | and u.b_id = #{bId} |
| | | </if> |