Commit 3df96b96 authored by 王东's avatar 王东

调整指标计算目标表

parent b7df161c
...@@ -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 业务渠道
......
...@@ -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",
......
...@@ -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_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
......
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