xiaoyong931011
2022-12-05 5c50761c2d0119e6e07ec92bfbef688a9c3e13a2
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>