KKSU
2024-05-31 a00ad55263f8a655e95ac1aa91e13c0f9a7af59d
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -148,4 +148,20 @@
            balance = #{record.balance}
        where id=#{record.id} and version=#{record.version}
    </update>
    <select id="findInviteListInPage" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity">
        SELECT
        a.*
        FROM
        dapp_member a
        <where>
            <if test="record.inviteId != null and record.inviteId != ''">
                and find_in_set(#{record.inviteId}, a.referer_ids)
            </if>
            <if test="record.address != null and record.address != ''">
                and a.address = #{record.address}
            </if>
        </where>
        order by a.CREATE_TIME desc
    </select>
</mapper>