xiaoyong931011
2023-08-06 a2aa6f1b4becb6e2af0c527ef231dcb8f31120c7
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -37,7 +37,7 @@
               a.type type,
               a.from_hash fromAddress,
               a.to_hash toAddress,
               date_format(a.create_time, '%Y-%m-%d %H:%m:%s') createTime
               date_format(a.create_time, '%Y-%m-%d %H:%i:%s') createTime
        from dapp_fund_flow a
        <where>
            member_id = #{record.memberId}
@@ -162,4 +162,9 @@
        and type != 1
        and type != 6
    </select>
    <select id="selectSumAmountByType" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where  type = #{type}
    </select>
</mapper>