KKSU
2024-06-11 783a06c84f8934e59a7e45e3c948727520e3cd4f
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}