xiaoyong931011
2023-08-28 88d0062538fa813f383372fb8ea05219d3947b12
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>