xiaoyong931011
2022-12-01 95e814eb9cb1ecd2362bb3249b24a8fe2bf4d194
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>