fix
Helius
2022-07-26 a57b2756ee1843be1c230959f5534e8d90abc463
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>