update 最近交易不再展示金额为0的流水
This commit is contained in:
@@ -67,8 +67,13 @@ from lease_pay_recharge_message
|
|||||||
from lease_pay_recharge_message
|
from lease_pay_recharge_message
|
||||||
<where>
|
<where>
|
||||||
(<foreach collection="walletList" item="item" separator="OR">
|
(<foreach collection="walletList" item="item" separator="OR">
|
||||||
(queue_id = #{item.queueId} AND address = #{item.fromAddress} AND `chain` = #{item.fromChain} AND symbol = #{item.fromSymbol})
|
(queue_id = #{item.queueId} AND
|
||||||
</foreach>)
|
address = #{item.fromAddress} AND
|
||||||
|
`chain` = #{item.fromChain} AND
|
||||||
|
symbol = #{item.fromSymbol} AND
|
||||||
|
amount != 0
|
||||||
|
)
|
||||||
|
</foreach>)
|
||||||
</where>
|
</where>
|
||||||
order by update_time desc limit 5
|
order by update_time desc limit 5
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -116,8 +116,13 @@
|
|||||||
from lease_pay_record_message
|
from lease_pay_record_message
|
||||||
<where>
|
<where>
|
||||||
(<foreach collection="walletList" item="item" separator="OR">
|
(<foreach collection="walletList" item="item" separator="OR">
|
||||||
(auth_id = #{item.authId} AND from_address = #{item.fromAddress} AND `from_chain` = #{item.fromChain} AND from_symbol = #{item.fromSymbol})
|
(auth_id = #{item.authId} AND
|
||||||
</foreach>)
|
from_address = #{item.fromAddress} AND
|
||||||
|
`from_chain` = #{item.fromChain} AND
|
||||||
|
from_symbol = #{item.fromSymbol} AND
|
||||||
|
real_amount != 0)
|
||||||
|
)
|
||||||
|
</foreach>)
|
||||||
</where>
|
</where>
|
||||||
order by update_time desc limit 5
|
order by update_time desc limit 5
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -101,7 +101,12 @@ FROM lease_pay_withdraw_message
|
|||||||
from lease_pay_withdraw_message
|
from lease_pay_withdraw_message
|
||||||
<where>
|
<where>
|
||||||
(<foreach collection="walletList" item="item" separator="OR">
|
(<foreach collection="walletList" item="item" separator="OR">
|
||||||
( auth_id = #{item.authId} AND from_address = #{item.fromAddress} AND `from_chain` = #{item.fromChain} AND from_symbol = #{item.fromSymbol})
|
( auth_id = #{item.authId} AND
|
||||||
|
from_address = #{item.fromAddress} AND
|
||||||
|
`from_chain` = #{item.fromChain} AND
|
||||||
|
from_symbol = #{item.fromSymbol} AND
|
||||||
|
`amount` != 0
|
||||||
|
)
|
||||||
</foreach>)
|
</foreach>)
|
||||||
</where>
|
</where>
|
||||||
order by update_time desc limit 5
|
order by update_time desc limit 5
|
||||||
|
|||||||
Reference in New Issue
Block a user