KKSU
2024-06-13 9b0f5ea9a1133472191eeb4e45a1164acc66291e
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -77,6 +77,15 @@
        where member_id=#{memberId} and type in (2,3)
    </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>
    <select id="selectNewestFundFlow" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
        select * from dapp_fund_flow
        where member_id=#{memberId} and type = #{type}