KKSU
2024-07-15 4a347c0ab4b88fd792d24d30bed36b1fa769d3a2
src/main/resources/mapper/dapp/DappTransferRecordDao.xml
@@ -5,10 +5,16 @@
    <select id="selectInPage" resultType="cc.mrbird.febs.dapp.entity.DappTransferRecordEntity">
        select * from dapp_transfer_record
        <where>
            <if test="record.address != '' and record.address != null">
                and address=#{record.address}
            <if test="record.fromAddress != '' and record.fromAddress != null">
                and address=#{record.fromAddress}
            </if>
        </where>
        order by create_time desc
    </select>
    <select id="selectByHash" resultType="cc.mrbird.febs.dapp.entity.DappTransferRecordEntity">
        select * from dapp_transfer_record
        where hash=#{hash}
    </select>
</mapper>