Commit eec9c29d authored by 胡涛's avatar 胡涛

数据下发脚本修改

parent fd87e7be
...@@ -43,6 +43,7 @@ select ...@@ -43,6 +43,7 @@ select
cast(cast(case when coinsLinkCode = '0' then 1 cast(cast(case when coinsLinkCode = '0' then 1
else cast(JsonGetCoinsRateUDF(plcSolution[1].plcCoins.plcLinkBasicInformat,'coinsLinkCode',coinsLinkCode) as decimal(30,4)) /100 else cast(JsonGetCoinsRateUDF(plcSolution[1].plcCoins.plcLinkBasicInformat,'coinsLinkCode',coinsLinkCode) as decimal(30,4)) /100
end as decimal(18,4)) as varchar ) as coinsRate , -- 系数 end as decimal(18,4)) as varchar ) as coinsRate , -- 系数
s1.plcSales ,
s1.plcBasic s1.plcBasic
from XF_ODS.XF_ODS_KAFKA.ENDOR s1 from XF_ODS.XF_ODS_KAFKA.ENDOR s1
......
...@@ -44,6 +44,7 @@ select ...@@ -44,6 +44,7 @@ select
cast(cast(case when coinsLinkCode = '0' then 1 cast(cast(case when coinsLinkCode = '0' then 1
else cast(JsonGetCoinsRateUDF(plcSolution[1].plcCoins.plcLinkBasicInformat,'coinsLinkCode',coinsLinkCode) as decimal(30,4)) /100 else cast(JsonGetCoinsRateUDF(plcSolution[1].plcCoins.plcLinkBasicInformat,'coinsLinkCode',coinsLinkCode) as decimal(30,4)) /100
end as decimal(18,4)) as varchar ) as coinsRate , -- 系数 end as decimal(18,4)) as varchar ) as coinsRate , -- 系数
s1.plcSales ,
s1.plcBasic s1.plcBasic
from XF_ODS.XF_ODS_KAFKA.POLICY s1 from XF_ODS.XF_ODS_KAFKA.POLICY s1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment