KKSU
2024-06-21 5519fb3a19df1bb839d29d23abc3f320c5c77baa
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">