xiaoyong931011
2022-12-01 d490f967d60ff1c6e9cbc0d4bc1c9ce2b21e9a1f
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -75,4 +75,11 @@
        order by id desc
        limit 1
    </select>
    <select id="selectSumAmountByMemberIdAndTypeAndStatus" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where member_id = #{memberId}
          and type = #{type}
        and status = #{status}
    </select>
</mapper>