KKSU
2024-06-12 8986d6d479bf56432ebb8e18bfa0f344d028eee6
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}