Fix lucky gift pool import upsert
This commit is contained in:
parent
c27947fd05
commit
ba35148c94
@ -141,8 +141,8 @@ ON DUPLICATE KEY UPDATE
|
||||
reserve_floor = VALUES(reserve_floor),
|
||||
total_in = VALUES(total_in),
|
||||
total_out = VALUES(total_out),
|
||||
created_at_ms = LEAST(created_at_ms, VALUES(created_at_ms)),
|
||||
updated_at_ms = GREATEST(updated_at_ms, VALUES(updated_at_ms));
|
||||
created_at_ms = LEAST(lucky_pools.created_at_ms, VALUES(created_at_ms)),
|
||||
updated_at_ms = GREATEST(lucky_pools.updated_at_ms, VALUES(updated_at_ms));
|
||||
|
||||
DROP TEMPORARY TABLE IF EXISTS lucky_import_single_pools;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user