This commit is contained in:
hejiayang
2025-11-21 08:39:45 +08:00
parent 02f96eecc3
commit 17ec682f03
@@ -536,7 +536,7 @@
IFNULL(( mb.top_up_balance + mb.reward_balance ),0) balance IFNULL(( mb.top_up_balance + mb.reward_balance ),0) balance
FROM FROM
sys_user_sub us sys_user_sub us
LEFT JOIN st_client_member_balance mb ON us.id = mb.member_id JOIN st_client_member_balance mb ON us.id = mb.member_id
<if test="timestamp != null and timestamp !='' "> <if test="timestamp != null and timestamp !='' ">
AND (mb.create_time > FROM_UNIXTIME(#{timestamp} / 1000) or mb.last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000)) AND (mb.create_time > FROM_UNIXTIME(#{timestamp} / 1000) or mb.last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000))
</if> </if>