update 最近交易不再展示金额为0的流水

This commit is contained in:
yyb
2026-01-26 10:01:30 +08:00
parent 2830c57af2
commit 718e6e74a5
3 changed files with 20 additions and 5 deletions

View File

@@ -67,8 +67,13 @@ from lease_pay_recharge_message
from lease_pay_recharge_message
<where>
(<foreach collection="walletList" item="item" separator="OR">
(queue_id = #{item.queueId} AND address = #{item.fromAddress} AND `chain` = #{item.fromChain} AND symbol = #{item.fromSymbol})
</foreach>)
(queue_id = #{item.queueId} AND
address = #{item.fromAddress} AND
`chain` = #{item.fromChain} AND
symbol = #{item.fromSymbol} AND
amount != 0
)
</foreach>)
</where>
order by update_time desc limit 5
</select>