| | |
| | | left join dapp_member m on m.id = s.member_id |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.username!=null and record.username!=''"> |
| | | and m.username = #{record.username} |
| | | </if> |
| | | <if test="record.description!=null and record.description!=''"> |
| | | (s.member_id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids))) |
| | | and (s.member_id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids))) |
| | | </if> |
| | | <if test="record.isInside!=null and record.isInside!=''"> |
| | | and s.is_inside= #{record.isInside} |