src/main/resources/mapper/dapp/DappStorageMapper.xml
@@ -61,6 +61,19 @@ </select> <select id="selectByAmountDesc" resultType="cc.mrbird.febs.dapp.entity.DappStorage"> SELECT * FROM dapp_storage where date_format(create_time, '%Y-%m-%d') = date_format(#{date}, '%Y-%m-%d') ORDER BY amount DESC limit #{offset},#{count} </select> <select id="selectAmountByAmountDesc" resultType="cc.mrbird.febs.dapp.entity.DappStorage"> select *