fix
Helius
2022-06-14 04b325a1bd38f82d2c3e0f59b8f273f82287fe38
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -48,6 +48,7 @@
        <if test="status != null">
            and a.status=#{status}
        </if>
        order by a.id desc
    </select>
    <select id="selectAmountTotalByType" resultType="java.util.HashMap">
@@ -58,7 +59,7 @@
             , MAX(if(type = 4, a.amount, 0)) teamReward
        from (select type, sum(amount) amount
                 from dapp_fund_flow
                 where member_id=22
                 where member_id=#{memberId}
                 group by type
            ) a
    </select>