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
3df96b96
Commit
3df96b96
authored
Aug 03, 2022
by
王东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整指标计算目标表
parent
b7df161c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
8 deletions
+24
-8
ZB_ODS/DDL元数据/ENDOR.sql
ZB_ODS/DDL元数据/ENDOR.sql
+8
-5
ZB_ODS/DDL元数据/ENDOR原始数据.sql
ZB_ODS/DDL元数据/ENDOR原始数据.sql
+2
-1
ZB_ODS/DDL元数据/POLICY.sql
ZB_ODS/DDL元数据/POLICY.sql
+5
-2
ZB_ODS/ZB_ODS_CBDATA.sql
ZB_ODS/ZB_ODS_CBDATA.sql
+9
-0
No files found.
ZB_ODS/DDL元数据/ENDOR.sql
View file @
3df96b96
...
@@ -24,11 +24,14 @@ ENDOR_PLPENDORSE_PLPCOMMISSIONDETAIL
...
@@ -24,11 +24,14 @@ ENDOR_PLPENDORSE_PLPCOMMISSIONDETAIL
"agentNetFeeVariation"
:
2
.
34
-- 17 份额不含税手续费变化量
"agentNetFeeVariation"
:
2
.
34
-- 17 份额不含税手续费变化量
}
]
}
]
}
,
}
,
-- "plcSolution": [{
"plcSolution"
:
[
{
-- "plcCoins": {
"plcCoins"
:
{
-- 自定义函数 JsonValuUDF读取
-- "coinsCalculationPercent": null -- 9 共保比例 车险不支持共保出单,模型有字段,但是里面没有值
-- plcCoinsBasicInformation {
-- }
-- coinsRate -- 非车险共保比例
-- }],
-- coinsIdentity -- 共保我方标记 = 1 时共保我方
-- }
}
}
],
"recordClerkCode"
:
"411422198909123920"
,
-- 14 归属业务员ID
"recordClerkCode"
:
"411422198909123920"
,
-- 14 归属业务员ID
"recordClerkName"
:
"李琳琳"
,
-- 15 归属业务员名称
"recordClerkName"
:
"李琳琳"
,
-- 15 归属业务员名称
"businessChannelCode"
:
"03"
,
-- 27 业务渠道
"businessChannelCode"
:
"03"
,
-- 27 业务渠道
...
...
ZB_ODS/DDL元数据/ENDOR原始数据.sql
View file @
3df96b96
...
@@ -1064,7 +1064,8 @@
...
@@ -1064,7 +1064,8 @@
}
}
],
],
"perAccPerPersMedExpIndLimit"
:
0
,
"perAccPerPersMedExpIndLimit"
:
0
,
"plcCoins"
:
{
"plcCoins"
:
String
{
"createUserId"
:
"411422198909123920"
,
"createUserId"
:
"411422198909123920"
,
"endDate"
:
253402271999999
,
"endDate"
:
253402271999999
,
"dirtyFlag"
:
"NONE"
,
"dirtyFlag"
:
"NONE"
,
...
...
ZB_ODS/DDL元数据/POLICY.sql
View file @
3df96b96
...
@@ -55,8 +55,11 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
...
@@ -55,8 +55,11 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
"PlcRation"
:
{
"PlcRation"
:
{
"artifSelfPricesRat"
:
0
.
8801
-- 24 自主定价系数
"artifSelfPricesRat"
:
0
.
8801
-- 24 自主定价系数
}
,
}
,
"plcCoins"
:
{
"plcCoins"
:
{
-- 自定义函数 JsonValuUDF读取
"coinsCalculationPercent"
:
null
-- 33 共保比例 车险不支持共保出单,模型有字段,但是里面没有值
-- plcCoinsBasicInformation {
-- coinsRate -- 非车险共保比例
-- coinsIdentity -- 共保我方标记 = 1 时共保我方
-- }
}
,
}
,
"plcCommissionDetail"
:
[
{
"plcCommissionDetail"
:
[
{
"agentFee"
:
28
.
2
,
-- 36 份额含税手续费
"agentFee"
:
28
.
2
,
-- 36 份额含税手续费
...
...
ZB_ODS/ZB_ODS_CBDATA.sql
View file @
3df96b96
-- ZB_ODS_CBDATA ZB_ODS_指标加工承保业务数据
-- ZB_ODS_CBDATA ZB_ODS_指标加工承保业务数据
-- 保费计算
--
-- 1、非车险共保我方保费系数 = 承保保费 * plcSolution.plcCoins.plcCoinsBasicInformation.coinsRate(系数)
-- coinsRate 有值 ,系数 = coinsRate
-- coinsRate 无值 ,系数 = 1
-- 备注:只有在非车险共保我方保费时存在系数得字段
-- 2、汇率换算 = 承保保费 * sigAndStaExchangeRate (汇率)
-- 备注:批单不用计算,sta开头得字段是被转过汇率得
-- 条件: 车险 或 (非车险 并且 plcSolution.plcCoins.plcCoinsBasicInformation.coinsIdentity(共保我方) =1)
insert
into
ZB_ODS
.
ZB_ODS_KAFKA
.
CBDATA
insert
into
ZB_ODS
.
ZB_ODS_KAFKA
.
CBDATA
select
select
...
...
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