Commit 4d3fc9fc authored by 王东's avatar 王东

指标计算承保字段调整

parent 0bd75c8e
...@@ -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,7 +30,7 @@ ENDOR_PLCPUBLICINSURANT ...@@ -31,7 +30,7 @@ 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 归属业务员名称
...@@ -40,48 +39,48 @@ ENDOR_PLCPUBLICINSURANT ...@@ -40,48 +39,48 @@ ENDOR_PLCPUBLICINSURANT
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
) )
......
...@@ -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
...@@ -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
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment