Compare commits
2
Commits
f48d94227b
...
712f295d57
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
712f295d57 | ||
|
|
e39496cca1 |
+4
-5
@@ -573,11 +573,10 @@
|
|||||||
SELECT
|
SELECT
|
||||||
member_id,
|
member_id,
|
||||||
top_up_balance,
|
top_up_balance,
|
||||||
reward_balance,
|
reward_balance
|
||||||
(top_up_balance + reward_balance) AS balance
|
FROM st_client_member_balance
|
||||||
FROM
|
WHERE member_id IN (SELECT id FROM sys_user_sub WHERE update_time > FROM_UNIXTIME(#{timestamp}/1000))
|
||||||
st_client_member_balance
|
OR
|
||||||
WHERE
|
|
||||||
create_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
create_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
||||||
OR update_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
OR update_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
||||||
OR last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
OR last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user