KKSU
2024-04-29 4d4f1bba886fc4e546bd03c52117969f495d5e93
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>