20260519生产同步修复较多问题
This commit is contained in:
@@ -352,7 +352,8 @@ table Fact_Retail
|
||||
) B
|
||||
ON A.PACK_CODE = B.PACK_CODE
|
||||
where
|
||||
(B.pack_code IS NULL and a.KPI_NAME in ('weig_dist_rate','weighted_spread_rate','num_dist_rate','digital_spread_rate')) OR a.KPI_NAME NOT IN ('weig_dist_rate','weighted_spread_rate','num_dist_rate','digital_spread_rate')
|
||||
(B.pack_code IS not null and GEO_KEY <> 'ROC')
|
||||
OR B.pack_code IS null
|
||||
GROUP BY
|
||||
A.PACK_CODE,
|
||||
A.CORP_COD,
|
||||
@@ -404,6 +405,7 @@ table Fact_Retail
|
||||
end as STR_KPI_VAL_EN_1
|
||||
FROM
|
||||
dm_zk_retail_sales_kpi A
|
||||
WHERE YYYYMM>=202101
|
||||
"
|
||||
& UsingLimit,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user