| | |
| | | member a
|
| | | LEFT JOIN member_authentication b ON a.id = b.member_id
|
| | | <where>
|
| | | a.certify_status = 2
|
| | | and a.account_status = 1
|
| | | <if test="record != null" >
|
| | | <if test="record.accounts!=null and record.accounts!=''">
|
| | | and (FIND_IN_SET(#{record.accounts}, a.referer_ids) or a.invite_id = #{record.accounts} )
|
| | |
| | | member a
|
| | | LEFT JOIN member_authentication b ON a.id = b.member_id
|
| | | <where>
|
| | | a.certify_status = 2
|
| | | and a.account_status = 1
|
| | | <if test="record != null" >
|
| | | <if test="record.account!=null and record.account!=''">
|
| | | and (a.phone = #{record.account} or a.email = #{record.account} or a.invite_id=#{record.account})
|