stock aggregate table
This commit is contained in:
@@ -45,7 +45,7 @@ class EtlManager
|
||||
SELECT DISTINCT g.period
|
||||
FROM td_gl g
|
||||
LEFT JOIN (
|
||||
SELECT period, MIN(source_updated_at) AS etl_ts
|
||||
SELECT period, MAX(source_updated_at) AS etl_ts
|
||||
FROM etl_gl_summary
|
||||
WHERE company_id = :cid2
|
||||
GROUP BY period
|
||||
|
||||
Reference in New Issue
Block a user