KKSU
2024-06-14 4bcedc984948c3c757d6b155e019174ef2fe9a0a
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -74,7 +74,16 @@
    <select id="selectProfitAmountByMemberId" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where member_id=#{memberId} and type in (2,3)
        where member_id=#{memberId} and type in (14,15,17)
    </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">