KKSU
2024-06-13 b60666a3fe9822277efd717380e619f08ac3ad9f
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}