xiaoyong931011
2023-09-01 6d648086e13b82f6e3f65efe0d6da30691fcb516
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -205,4 +205,10 @@
          and status = 2
        group by member_id
    </select>
    <select id="selectSumAmountByMemberIdAndType" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where member_id = #{memberId}
          and type = #{type}
    </select>
</mapper>