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
4d3fc9fc
Commit
4d3fc9fc
authored
Sep 02, 2022
by
王东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指标计算承保字段调整
parent
0bd75c8e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
48 deletions
+48
-48
ODS/DDL元数据/ENDOR.sql
ODS/DDL元数据/ENDOR.sql
+36
-37
ODS/DDL元数据/POLICY.sql
ODS/DDL元数据/POLICY.sql
+10
-9
ODS/ODS_ENDOR.sql
ODS/ODS_ENDOR.sql
+1
-1
ODS/ODS_POLICY.sql
ODS/ODS_POLICY.sql
+1
-1
数据模型表定义.xlsx
数据模型表定义.xlsx
+0
-0
No files found.
ODS/DDL元数据/ENDOR.sql
View file @
4d3fc9fc
...
@@ -22,7 +22,6 @@ ENDOR_PLCPUBLICINSURANT
...
@@ -22,7 +22,6 @@ ENDOR_PLCPUBLICINSURANT
uwConclueDate
String
,
-- 6 核批完成时间
uwConclueDate
String
,
-- 6 核批完成时间
plpEndorse
row
(
plpEndorse
row
(
endorseEffectiveTime
Stirng
,
-- 7 批单生效日期
endorseEffectiveTime
Stirng
,
-- 7 批单生效日期
-- sigAndStaExchangeRate String , -- 8 到人民币汇率 除了粤港车,车险没有存汇率,模型默认0
staCurAmountVariation
String
,
-- 10 变化保险金额
staCurAmountVariation
String
,
-- 10 变化保险金额
staCurPremiumVariation
String
,
-- 11 不含税变化保险费
staCurPremiumVariation
String
,
-- 11 不含税变化保险费
staCurNetPremiumVariation
String
,
-- 12 含税变化保险费
staCurNetPremiumVariation
String
,
-- 12 含税变化保险费
...
@@ -31,57 +30,57 @@ ENDOR_PLCPUBLICINSURANT
...
@@ -31,57 +30,57 @@ ENDOR_PLCPUBLICINSURANT
agentFeeVariation
String
,
-- 16 份额含税手续费变化量
agentFeeVariation
String
,
-- 16 份额含税手续费变化量
agentNetFeeVariation
String
-- 17 份额不含税手续费变化量
agentNetFeeVariation
String
-- 17 份额不含税手续费变化量
)
>
)
>
netPremiumVariation
String
,
-- 保费变化量
netPremiumVariation
String
-- 保费变化量
),
),
recordClerkCode
String
,
-- 14 归属业务员ID
recordClerkCode
String
,
-- 14 归属业务员ID
recordClerkName
String
,
-- 15 归属业务员名称
recordClerkName
String
,
-- 15 归属业务员名称
businessChannelCode
String
,
-- 27 新核心车险批单-清分后渠道
businessChannelCode
String
,
-- 27 新核心车险批单-清分后渠道
businessChannelName
String
,
-- 28 业务渠道名
businessChannelName
String
,
-- 28 业务渠道名
newPolicyFlag
String
,
-- 20 新核心车险批单-新保标识 1:是,0:否
newPolicyFlag
String
,
-- 20 新核心车险批单-新保标识 1:是,0:否
autoTransrenewFlag
String
,
-- 21 新核心车险批单-自动续保标识 1:是,4:跨险种自动续保,0:否
autoTransrenewFlag
String
,
-- 21 新核心车险批单-自动续保标识 1:是,4:跨险种自动续保,0:否
transferPolicyFlag
String
,
-- 22 新核心车险批单-转保标识1:是,0:否
transferPolicyFlag
String
,
-- 22 新核心车险批单-转保标识1:是,0:否
transrenewFlag
String
,
-- 23 新核心车险批单-续保标识 1:是,4:跨险种续保,0:否
transrenewFlag
String
,
-- 23 新核心车险批单-续保标识 1:是,4:跨险种续保,0:否
policyCreatDate
String
,
-- 新核心车险批单-核保通过时间
policyCreatDate
String
,
-- 新核心车险批单-核保通过时间
plcSolution
array
<
row
(
plcSolution
array
<
row
(
plcCoins
row
(
--String类型 该对象部分参数在某些数据中可能不存在 自定义函数 JsonValuUDF读取
plcCoins
row
(
plcCoinsBasicInformation
array
<
row
(
plcCoinsBasicInformation
array
<
row
(
coinsRate
-- 非车险共保比例
coinsRate
-- 非车险共保比例
coinsIdentity
-- 共保我方标记 = 1 时共保我方
coinsIdentity
-- 共保我方标记 = 1 时共保我方
)
>
)
>
),
),
PlcRation
:
row
(
PlcRation
row
(
artifSelfPricesRat
String
,
-- 新核心车险批单-自主定价系数
artifSelfPricesRat
String
,
-- 新核心车险批单-自主定价系数
artifReviewPrem
String
,
-- 新核心车险批单-总保费
artifReviewPrem
String
-- 新核心车险批单-总保费
),
),
plcCommissionDetail
:
array
<
row
(
plcCommissionDetail
array
<
row
(
agentFee
String
,
-- 新核心车险批单-手续费含税金额
agentFee
String
,
-- 新核心车险批单-手续费含税金额
agentNetFee
String
,
-- 新核心车险批单-手续费不含税金额
agentNetFee
String
-- 新核心车险批单-手续费不含税金额
)
>
,
)
>
)
>
,
)
>
,
policyNo
String
,
-- 新核心车险批单-保单号
policyNo
String
,
-- 新核心车险批单-保单号
businessOfficeName
String
,
-- 新核心车险批单-保单归属机构名称
businessOfficeName
String
,
-- 新核心车险批单-保单归属机构名称
startTime
String
,
-- 新核心车险批单-起保时间
startTime
String
,
-- 新核心车险批单-起保时间
endTime
String
,
-- 新核心车险批单-终保时间
endTime
String
,
-- 新核心车险批单-终保时间
netPremium
String
,
-- 新核心车险批单-不含税保费
netPremium
String
,
-- 新核心车险批单-不含税保费
premium
String
,
-- 新核心车险批单-含税保费
premium
String
,
-- 新核心车险批单-含税保费
plcCar05
:
row
(
plcCar05
row
(
licensePlateNo
String
,
-- 新核心车险批单-车牌号
licensePlateNo
String
,
-- 新核心车险批单-车牌号
frameNo
String
,
-- 新核心车险批单-车架号
frameNo
String
,
-- 新核心车险批单-车架号
vehicleId
String
,
-- 新核心车险批单-车型
vehicleId
String
,
-- 新核心车险批单-车型
newVehicleFlag
String
,
-- 新核心车险批单-新车标识
newVehicleFlag
String
,
-- 新核心车险批单-新车标识
carUserNatureCode
String
,
-- 新核心车险批单-车辆使用性质
carUserNatureCode
String
,
-- 新核心车险批单-车辆使用性质
carKindCode
String
,
-- 新核心车险批单-车辆种类
carKindCode
String
,
-- 新核心车险批单-车辆种类
),
),
"plcApplicant"
:
array
<
row
(
plcApplicant
array
<
row
(
customerName
String
,
-- 新核心车险批单-投保人名称
customerName
String
-- 新核心车险批单-投保人名称
)
>
,
)
>
,
"plcPublicInsurant"
:
array
<
row
(
plcPublicInsurant
array
<
row
(
customerName
String
,
-- 新核心车险批单-被保人名称
customerName
String
-- 新核心车险批单-被保人名称
)
>
,
)
>
,
saleaman
String
,
-- 新核心车险批单-代理机构代码
saleaman
String
,
-- 新核心车险批单-代理机构代码
saleamanName
String
,
-- 新核心车险批单-代理机构名称
saleamanName
String
,
-- 新核心车险批单-代理机构名称
policySort
String
,
-- 新核心车险批单-保单种类
policySort
String
,
-- 新核心车险批单-保单种类
sigAndStaExchangeRate
String
,
-- 8 到人民币汇率 除了粤港车,车险没有存汇率,模型默认0
sigAndStaExchangeRate
String
-- 8 到人民币汇率 除了粤港车,车险没有存汇率,模型默认0
)
)
...
...
ODS/DDL元数据/POLICY.sql
View file @
4d3fc9fc
...
@@ -35,9 +35,9 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
...
@@ -35,9 +35,9 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
carKindCode
String
,
-- 29 车辆种类代码
carKindCode
String
,
-- 29 车辆种类代码
carKindName
String
,
-- 30 车辆种类名称
carKindName
String
,
-- 30 车辆种类名称
carUserNatureCode
String
,
-- 31 车辆使用性质代码
carUserNatureCode
String
,
-- 31 车辆使用性质代码
carUserNature
String
-- 32 车辆使用性质名称
carUserNature
String
,
-- 32 车辆使用性质名称
vehicleId
String
,
-- 新核心车险保单-车型
vehicleId
String
,
-- 新核心车险保单-车型
newVehicleFlag
String
-- 新核心车险保单-新车标识
newVehicleFlag
String
,
-- 新核心车险保单-新车标识
actualvalue
String
-- 新核心车险保单-实际价值
actualvalue
String
-- 新核心车险保单-实际价值
),
),
plcApplicant
array
<
row
(
plcApplicant
array
<
row
(
...
@@ -52,13 +52,13 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
...
@@ -52,13 +52,13 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
transrenewFlag
String
,
-- 23 续保标识 1:是,4:跨险种续保,0:否
transrenewFlag
String
,
-- 23 续保标识 1:是,4:跨险种续保,0:否
plcSolution
array
<
row
(
plcSolution
array
<
row
(
PlcRation
row
(
PlcRation
row
(
artifSelfPricesRat
String
-- 24 自主定价系数
artifSelfPricesRat
String
,
-- 24 自主定价系数
artifReviewPrem
String
,
-- 新核心车险保单-总保费
artifReviewPrem
String
-- 新核心车险保单-总保费
),
),
plcCoins
row
(
--String类型 该对象部分参数在某些数据中可能不存在 自定义函数 JsonValuUDF读取
plcCoins
row
(
plcCoinsBasicInformation
array
<
row
(
plcCoinsBasicInformation
array
<
row
(
coinsRate
-- 非车险共保比例
coinsRate
String
,
-- 非车险共保比例
coinsIdentity
-- 共保我方标记 = 1 时共保我方
coinsIdentity
String
-- 共保我方标记 = 1 时共保我方
)
>
)
>
),
),
plcCommissionDetail
array
<
row
(
plcCommissionDetail
array
<
row
(
...
@@ -74,10 +74,10 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
...
@@ -74,10 +74,10 @@ POLICY_PLCSOLUTION_PLCCOMMISSIONDETAIL
recordClerkCode
String
,
-- 34 归属业务员ID
recordClerkCode
String
,
-- 34 归属业务员ID
recordClerkName
String
,
-- 35 归属业务员名称
recordClerkName
String
,
-- 35 归属业务员名称
staCurAmount
String
,
-- 38 保险金额
staCurAmount
String
,
-- 38 保险金额
staCurTaxFee
String
-- 39 税
staCurTaxFee
String
,
-- 39 税
policyCreatDate
String
,
-- 保单创建时间
policyCreatDate
String
,
-- 保单创建时间
sigAndStaExchangeRate
String
,
-- 费率
sigAndStaExchangeRate
String
,
-- 费率
policySort
String
-- 新核心车险保单-保单种类
policySort
String
,
-- 新核心车险保单-保单种类
businessType
String
-- 新核心车险保单-业务类型
businessType
String
-- 新核心车险保单-业务类型
)
)
\ No newline at end of file
ODS/ODS_ENDOR.sql
View file @
4d3fc9fc
...
@@ -32,5 +32,5 @@ select
...
@@ -32,5 +32,5 @@ select
policySort
,
-- 新核心车险批单-保单种类
policySort
,
-- 新核心车险批单-保单种类
sigAndStaExchangeRate
-- 8 到人民币汇率 除了粤港车,车险没有存汇率,模型默认0
sigAndStaExchangeRate
-- 8 到人民币汇率 除了粤港车,车险没有存汇率,模型默认0
from
ODS
.
SOURCE_RMQ_ENDOR_
SIT
.
ENDOR
from
ODS
.
SOURCE_RMQ_ENDOR_
PRD
.
ENDOR
;
;
\ No newline at end of file
ODS/ODS_POLICY.sql
View file @
4d3fc9fc
...
@@ -34,7 +34,7 @@ select
...
@@ -34,7 +34,7 @@ select
policySort
,
-- 新核心车险保单-保单种类
policySort
,
-- 新核心车险保单-保单种类
businessType
-- 新核心车险保单-业务类型
businessType
-- 新核心车险保单-业务类型
from
ODS
.
SOURCE_RMQ_POLICY_
SIT
.
POLICY
from
ODS
.
SOURCE_RMQ_POLICY_
PRD
.
POLICY
...
...
数据模型表定义.xlsx
View file @
4d3fc9fc
No preview for this file type
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