Commit 9fe7f44d authored by 王东's avatar 王东

指标计算承保字段调整

parent baa3b01e
......@@ -56,8 +56,9 @@ select
,transferPolicyFlag as transferPolicyFlag --4
,transrenewFlag as transrenewFlag --5
,recordClerkCode as recordClerkCode --6
,policyCreatDate as policyCreatDate
,LongTimeToStringUDF(policyCreatDate,'yyyyMMdd') as policyCreatDate
,uwConclueDate as long_uwConclueDate
,policyCreatDate as long_policyCreatDate
from ODS.SOURCE_RMQ_ENDOR_PRD.ENDOR
......
......@@ -57,7 +57,9 @@ select
,transferPolicyFlag as transferPolicyFlag -- 3
,transrenewFlag as transrenewFlag -- 4
,recordClerkCode as recordClerkCode -- 5
,policyCreatDate as policyCreatDate
,LongTimeToStringUDF(policyCreatDate,'yyyyMMdd') as policyCreatDate
,uwConclueDate as long_uwConclueDate
,policyCreatDate as long_policyCreatDate
from ODS.SOURCE_RMQ_POLICY_PRD.POLICY -- 保单业务数据
;
......
......@@ -18,7 +18,9 @@ select
,transferPolicyFlag as transferPolicyFlag --4
,transrenewFlag as transrenewFlag --5
,recordClerkCode as recordClerkCode --6
,policyCreatDate as policyCreatDate
,LongTimeToStringUDF(policyCreatDate,'yyyyMMdd') as policyCreatDate
,uwConclueDate as long_uwConclueDate
,policyCreatDate as long_policyCreatDate
from ODS.ODS_KAFKA.ENDOR
where LongTimeToStringUDF(uwConclueDate,'yyyyMMdd') between '20220831' and '20220902'
\ No newline at end of file
......@@ -17,8 +17,9 @@ select
,transferPolicyFlag as transferPolicyFlag -- 3
,transrenewFlag as transrenewFlag -- 4
,recordClerkCode as recordClerkCode -- 5
,policyCreatDate as policyCreatDate
,LongTimeToStringUDF(policyCreatDate,'yyyyMMdd') as policyCreatDate
,uwConclueDate as long_uwConclueDate
,policyCreatDate as long_policyCreatDate
from ODS.ODS_KAFKA.POLICY -- 保单业务数据
where LongTimeToStringUDF(uwConclueDate,'yyyyMMdd') between '20220831' and '20220902'
;
......
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