Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dataquality_doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王东
dataquality_doc
Commits
9fe7f44d
Commit
9fe7f44d
authored
Sep 05, 2022
by
王东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指标计算承保字段调整
parent
baa3b01e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
ODS/ODS_ENDOR.sql
ODS/ODS_ENDOR.sql
+3
-2
ODS/ODS_POLICY.sql
ODS/ODS_POLICY.sql
+3
-1
ZB_CK/同步脚本/ZB_CK_KAFKA_ENDOR.sql
ZB_CK/同步脚本/ZB_CK_KAFKA_ENDOR.sql
+4
-1
ZB_CK/同步脚本/ZB_CK_KAFKA_POLICY.sql
ZB_CK/同步脚本/ZB_CK_KAFKA_POLICY.sql
+3
-2
No files found.
ODS/ODS_ENDOR.sql
View file @
9fe7f44d
...
...
@@ -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
...
...
ODS/ODS_POLICY.sql
View file @
9fe7f44d
...
...
@@ -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
-- 保单业务数据
;
...
...
ZB_CK/同步脚本/ZB_CK_KAFKA_ENDOR.sql
View file @
9fe7f44d
...
...
@@ -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
ZB_CK/同步脚本/ZB_CK_KAFKA_POLICY.sql
View file @
9fe7f44d
...
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment