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
4810a454
Commit
4810a454
authored
Sep 27, 2022
by
胡涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指标统计sql脚本
parent
6d10aa2b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
ODS/DDL元数据/REGIST.sql
ODS/DDL元数据/REGIST.sql
+6
-4
XF_DWD/XF_DWD_ENDOR.sql
XF_DWD/XF_DWD_ENDOR.sql
+1
-1
XF_DWD/XF_DWD_POLICY.sql
XF_DWD/XF_DWD_POLICY.sql
+1
-1
XF_DWD/XF_DWD_REGIST.sql
XF_DWD/XF_DWD_REGIST.sql
+4
-3
XF_DWD/车险报案-FM.ftl
XF_DWD/车险报案-FM.ftl
+0
-0
No files found.
ODS/DDL元数据/REGIST.sql
View file @
4810a454
...
...
@@ -37,7 +37,8 @@ REGIST_ACTUALDATA_PRPLCDAMAGE_PRPLDAMAGEADDRESS
comName
String
,
-- 承保机构名称
riskCode
String
,
-- 险种代码
riskName
String
,
-- 险种名称
licenseNo
String
-- 车牌号
licenseNo
String
,
-- 车牌号
isSelected
String
-- 是否选择
)
>
,
prplcarlossdetail
array
<
row
(
prplcar
row
(
...
...
@@ -53,8 +54,8 @@ REGIST_ACTUALDATA_PRPLCDAMAGE_PRPLDAMAGEADDRESS
damageName
String
,
-- 出险原因
damageCourse
String
-- 出险经过
)
)
log_tim
e
)
,
log_time
,
nodeCod
e
}
\ No newline at end of file
XF_DWD/XF_DWD_ENDOR.sql
View file @
4810a454
...
...
@@ -46,5 +46,5 @@ select
end
as
varchar
)
as
coinsrate
-- 系数
from
XF_ODS
.
XF_ODS_KAFKA
.
ENDOR
s1
left
join
XF_ODS
.
XF_ODS_MYSQL
.
CD_COM_ALL
for
system_time
as
of
s1
.
proctime
as
t1
on
s1
.
businessOffice
=
t1
.
COMCODE
where
left
(
s1
.
productCode
,
2
)
=
'05'
XF_DWD/XF_DWD_POLICY.sql
View file @
4810a454
...
...
@@ -46,7 +46,7 @@ select
t1
.
LEVEL1COMCODE
-- 分公司代码
from
XF_ODS
.
XF_ODS_KAFKA
.
POLICY
s1
left
join
XF_ODS
.
XF_ODS_MYSQL
.
CD_COM_ALL
for
system_time
as
of
s1
.
proctime
as
t1
on
s1
.
businessOffice
=
t1
.
COMCODE
where
left
(
s1
.
productCode
,
2
)
=
'05'
...
...
XF_DWD/XF_DWD_REGIST.sql
View file @
4810a454
...
...
@@ -2,10 +2,11 @@
select
s1
.
actualData
,
DATE_FORMAT
(
LOCALTIMESTAMP
,
'yyyy-MM-dd HH:mm:ss'
)
as
log_time
,
-- 加工平台处理数据时间
s1
.
nodecode
,
t1
.
LEVEL1COMCODE
-- 分公司代码
from
XF_ODS
.
XF_ODS_KAFKA
.
REGIST
s1
left
join
XF_ODS
.
XF_ODS_MYSQL
.
CD_COM_ALL
for
system_time
as
of
s1
.
proctime
as
t1
on
s1
.
actualData
.
prpPlcMainEOS
[
1
].
businessOffice
=
t1
.
COMCODE
where
left
(
s1
.
productCode
,
2
)
=
'05'
left
join
XF_ODS
.
XF_ODS_MYSQL
.
CD_COM_ALL
for
system_time
as
of
s1
.
proctime
as
t1
on
s1
.
actualData
.
prplcregist
[
CARDINALITY
(
s1
.
actualData
.
prplcregist
)].
deptCode
=
t1
.
COMCODE
where
s1
.
nodecode
=
'RegistCar'
and
substring
(
s1
.
actualData
.
accidentNo
,
3
,
2
)
=
'05'
XF_DWD/车险报案-FM.ftl
View file @
4810a454
This diff is collapsed.
Click to expand it.
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