Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 13cc8918
authored
Jul 27, 2026
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v5.8.4
1 parent
564b8a90
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
2 deletions
21_v5.8.4_20260728/sql/DDL/scrm组dj_smartcarlife_ddl.sql
21_v5.8.4_20260728/sql/DML/dj_financial_dml.sql
21_v5.8.4_20260728/sql/DML/scrm组dj_smartcarlife_dml.sql
21_v5.8.4_20260728/配置/rop-dj-smartcarlife.md
21_v5.8.4_20260728/sql/DDL/scrm组dj_smartcarlife_ddl.sql
View file @
13cc891
...
...
@@ -396,7 +396,7 @@ CREATE TABLE IF NOT EXISTS dj_smartcarlife.`dj_car_life_merchant_guarantee` (
`base_scene_code`
VARCHAR
(
32
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'基础场景编码'
,
`bizs`
INT
DEFAULT
NULL
COMMENT
'指标系统业务类型:1-延保,2-轻改,3-权益'
,
`guarantee_index`
VARCHAR
(
128
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'兜底指标'
,
`guarantee_standard`
DECIMAL
(
1
0
,
4
)
NULL
COMMENT
'兜底标准'
,
`guarantee_standard`
DECIMAL
(
1
2
,
4
)
NULL
COMMENT
'兜底标准'
,
`compensation_mode`
INT
NULL
COMMENT
'赔付标准:0-无,1-固定模式,2-阶梯模式'
,
`fixed_compensation`
DECIMAL
(
12
,
4
)
NULL
COMMENT
'固定模式赔付金额'
,
`ladder_conditions`
TEXT
NULL
COMMENT
'阶梯模式条件(JSON格式)'
,
...
...
@@ -418,7 +418,7 @@ CREATE TABLE IF NOT EXISTS dj_smartcarlife.`dj_car_life_merchant_guarantee_histo
`base_scene_code`
VARCHAR
(
32
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'基础场景编码'
,
`bizs`
INT
NULL
COMMENT
'指标系统业务类型:1-延保,2-轻改,3-权益'
,
`guarantee_index`
VARCHAR
(
128
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'兜底指标'
,
`guarantee_standard`
DECIMAL
(
1
0
,
4
)
NULL
COMMENT
'兜底标准'
,
`guarantee_standard`
DECIMAL
(
1
2
,
4
)
NULL
COMMENT
'兜底标准'
,
`compensation_mode`
INT
NULL
COMMENT
'赔付标准:0-无,1-固定模式,2-阶梯模式'
,
`fixed_compensation`
DECIMAL
(
12
,
4
)
NULL
COMMENT
'固定模式赔付金额'
,
`ladder_conditions`
TEXT
NULL
COMMENT
'阶梯模式条件(JSON格式)'
,
...
...
21_v5.8.4_20260728/sql/DML/dj_financial_dml.sql
0 → 100644
View file @
13cc891
This diff is collapsed.
Click to expand it.
21_v5.8.4_20260728/sql/DML/scrm组dj_smartcarlife_dml.sql
View file @
13cc891
...
...
@@ -270,6 +270,73 @@ INSERT INTO dj_car_life_fee_category_scene
###
林永健
-----------------start-------------------
-- 从 early_warning_threshold_config 同步兜底指标到 dj_car_life_merchant_guarantee
INSERT
INTO
dj_smartcarlife
.
dj_car_life_merchant_guarantee
(
base_scene_code
,
bizs
,
guarantee_index
,
guarantee_standard
,
merchant_id
,
compensation_mode
,
data_type
,
created_by
,
created_date
,
deleted_flag
)
-- 延保转化率 WR_CONV_001
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_CONV_001'
AS
guarantee_index
,
ew_con_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_con_rate
IS
NOT
null
UNION
ALL
-- 延保安心包转化率 WR_CONV_002
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_CONV_002'
AS
guarantee_index
,
ew_axb_con_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_axb_con_rate
IS
NOT
null
UNION
ALL
-- 延保轮胎转化率 WR_CONV_004
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_CONV_004'
AS
guarantee_index
,
ew_lt_con_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_lt_con_rate
IS
NOT
null
UNION
ALL
-- 延保电池转化率 WR_CONV_003
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_CONV_003'
AS
guarantee_index
,
battery_conversion_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
battery_conversion_rate
IS
NOT
null
UNION
ALL
-- 延保渗透率 WR_RATE_001
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_RATE_001'
AS
guarantee_index
,
ew_penetration_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_penetration_rate
IS
NOT
null
UNION
ALL
-- 延保安心包渗透率 WR_RATE_002
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_RATE_002'
AS
guarantee_index
,
ew_axb_penetration_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_axb_penetration_rate
IS
NOT
null
UNION
ALL
-- 延保轮胎渗透率 WR_RATE_004
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_RATE_004'
AS
guarantee_index
,
ew_lt_penetration_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ew_lt_penetration_rate
IS
NOT
null
UNION
ALL
-- 延保电池渗透率 WR_RATE_003
SELECT
'110201'
AS
base_scene_code
,
1
AS
bizs
,
'WR_RATE_003'
AS
guarantee_index
,
battery_penetration_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
battery_penetration_rate
IS
NOT
null
UNION
ALL
-- 权益转化率 BE_CONV_001(触客转化率)
SELECT
'110101'
AS
base_scene_code
,
3
AS
bizs
,
'BE_CONV_001'
AS
guarantee_index
,
ri_con_rate
AS
guarantee_standard
,
merchant_no
AS
merchant_id
,
0
AS
compensation_mode
,
1
AS
data_type
,
created_by
,
created_date
,
deleted_flag
FROM
dj_smartcarlife
.
early_warning_threshold_config
WHERE
deleted_flag
=
'N'
AND
merchant_no
IS
NOT
null
AND
ri_con_rate
IS
NOT
null
;
###
林永健
-----------------end---------------------
###
谢海旭
-----------------start-------------------
...
...
21_v5.8.4_20260728/配置/rop-dj-smartcarlife.md
View file @
13cc891
...
...
@@ -61,6 +61,9 @@ dynamic.dailyReport.merchantId.whitelist=44205761,44211821,44213218,44215138,442
export_page_size
=
300
# 【新增】 财资管理-下载汇总表
nbcb.acc.user.account.summary.download
=
18520660111,13714501965
```
###
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment