| | |
| | | and referer_id=#{inviteId} |
| | | </if> |
| | | <if test="type==2"> |
| | | and find_in_set(#{inviteId}, fee_profit_ids) |
| | | and find_in_set(#{inviteId}, referer_ids) |
| | | </if> |
| | | <if test="status != null"> |
| | | and active_status=#{status} |
| | |
| | | where active_status = 1 |
| | | </update> |
| | | |
| | | <update id="updateMemberActiveV2"> |
| | | update dapp_member |
| | | set active_status = 1 |
| | | where id = #{memberId} |
| | | </update> |
| | | |
| | | <select id="selectNewestDirectMember" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> |
| | | select * from dapp_member |
| | | where referer_id=#{inviteId} and active_status=1 |