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
fd808715
Commit
fd808715
authored
Sep 30, 2022
by
胡涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql脚本
parent
c88aeb9a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
XF_DWD/XF_DWD_ENDOR.sql
XF_DWD/XF_DWD_ENDOR.sql
+1
-1
XF_DWD/车险报案-FM.ftl
XF_DWD/车险报案-FM.ftl
+0
-0
No files found.
XF_DWD/XF_DWD_ENDOR.sql
View file @
fd808715
...
@@ -43,7 +43,7 @@ select
...
@@ -43,7 +43,7 @@ select
t1
.
LEVEL1COMCODE
,
-- 分公司代码
t1
.
LEVEL1COMCODE
,
-- 分公司代码
cast
(
case
when
coinsLinkCode
=
'0'
then
1
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
varchar
)
as
coins
r
ate
-- 系数
end
as
varchar
)
as
coins
R
ate
-- 系数
from
XF_ODS
.
XF_ODS_KAFKA
.
ENDOR
s1
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
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'
where
left
(
s1
.
productCode
,
2
)
=
'05'
...
...
XF_DWD/车险报案-FM.ftl
View file @
fd808715
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