xiaoyong931011
2022-12-02 563b7ccbab9efc2b61b74820eb119d0c00304d47
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -171,9 +171,22 @@
        from dapp_member
        <where>
            referer_id = #{refererId}
            <if test="code != null">
                and account_type = @{code}
            <if test="accountType != null">
                and account_type = #{accountType}
            </if>
        </where>
    </select>
    <select id="findTeamInfoListInPage" resultType="cc.mrbird.febs.dapp.vo.AdminTeamInfoVo">
        select
            a.address address,
            a.invite_id inviteId,
            a.account_type accountType,
            a.active_status activeStatus,
            a.id id
        from dapp_member a
        where
            (a.id in (select id from dapp_member where FIND_IN_SET(#{record.inviteId}, referer_ids)))
        order  by a.create_time desc
    </select>
</mapper>