add module back in
This commit is contained in:
parent
69346646bd
commit
cbc2caa41d
@ -334,6 +334,7 @@ SELECT
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN vscale s
|
||||
@ -418,10 +419,11 @@ SELECT
|
||||
,b.ship_month
|
||||
,b.ship_season
|
||||
,'replace_version' "version"
|
||||
,'replace_source'||' volume' iter
|
||||
,'replace_source'||' price' iter
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
volume b
|
||||
CROSS JOIN pscale p
|
||||
|
@ -108,6 +108,7 @@ SELECT
|
||||
,null::int logid
|
||||
,''::text tag
|
||||
,''::text "comment"
|
||||
,''::text module
|
||||
FROM
|
||||
rlarp.osmf_dev o
|
||||
LEFT OUTER JOIN lgdat.cust bc ON
|
||||
|
@ -5,6 +5,7 @@ SELECT
|
||||
jsonb_path_query_first(l.doc,'$.scenario.quota_rep_descr')->>0 quota_rep_descr,
|
||||
to_char((l.doc->>'stamp')::timestamptz,'YYYY-MM-DD HH:MI:SS') "stamp",
|
||||
l.doc->>'tag' "tag",
|
||||
l.doc->>'message' "comment",
|
||||
jsonb_pretty(l.doc) def,
|
||||
l.id
|
||||
FROM
|
||||
@ -18,6 +19,7 @@ SELECT
|
||||
,list.quota_rep_descr
|
||||
,list.stamp
|
||||
,list.tag
|
||||
,list.comment
|
||||
,list.def
|
||||
,list.id
|
||||
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
|
||||
@ -30,6 +32,7 @@ group BY
|
||||
,list.quota_rep_descr
|
||||
,list.stamp
|
||||
,list.tag
|
||||
,list.comment
|
||||
,list.def
|
||||
,list.id
|
||||
)
|
||||
|
@ -334,6 +334,7 @@ SELECT
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN log
|
||||
|
@ -169,6 +169,7 @@ target AS (select target_increment incr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN scale s
|
||||
|
@ -198,6 +198,7 @@ target AS (select incr_qty qincr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN scale s
|
||||
|
@ -197,6 +197,7 @@ target AS (select target_vol vincr, target_prc pincr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN vscale s
|
||||
@ -276,6 +277,7 @@ FROM
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
FROM
|
||||
volume b
|
||||
CROSS JOIN pscale s
|
||||
|
Loading…
Reference in New Issue
Block a user