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