xiaoyong931011
2023-05-29 e076175063449fb70bc9d6b5e5ef362666f46ec9
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -232,7 +232,7 @@
    </select>
    <select id="selectAllAchieveByInviteId" resultType="java.math.BigDecimal">
        select sum(IFNULL(a.achieve_amount, 0))
        select IFNULL(sum(IFNULL(a.achieve_amount, 0)),0)
        from dapp_usdt_perk a
        inner join dapp_member b on a.member_id = b.id
        where find_in_set(#{inviteId}, b.referer_ids) or b.invite_id = #{inviteId}