src/main/resources/mapper/dapp/DappTransferRecordDao.xml
@@ -6,10 +6,15 @@ select * from dapp_transfer_record <where> <if test="record.address != '' and record.address != null"> and address=#{record.address} and (from_address = #{record.address} or to_address = #{record.address}) </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>