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 5c98eed0
authored
Mar 20, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
3月底版本-飞行督导内容维护
1 parent
5e24245f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
03_v5.7.0_20260402/sql/DDL/scrm组dj_smartcarlife_ddl.sql
03_v5.7.0_20260402/sql/DDL/scrm组dj_smartcarlife_ddl.sql
View file @
5c98eed
...
@@ -118,6 +118,64 @@ ALTER TABLE supervisor_audio_review_info ADD INDEX idx_relation_id (relation_id)
...
@@ -118,6 +118,64 @@ ALTER TABLE supervisor_audio_review_info ADD INDEX idx_relation_id (relation_id)
###
林永健
-----------------end---------------------
###
林永健
-----------------end---------------------
###
谢海旭
-----------------start-------------------
###
谢海旭
-----------------start-------------------
CREATE
TABLE
`supervisor_task_course`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID(自增)'
,
`task_id`
bigint
(
20
)
NOT
NULL
COMMENT
'关联任务ID(supervisor_task_info.id)'
,
`bc_course_id`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'北森课程标识'
,
`bc_course_name`
varchar
(
200
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'北森课程名称'
,
`created_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'创建人'
,
`updated_time`
datetime
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'更新人'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
'N'
COMMENT
'删除标记 N-正常 D-删除'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_task_id`
(
`task_id`
),
KEY
`idx_bc_course_id`
(
`bc_course_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'任务-课程表'
;
CREATE
TABLE
`supervisor_ai_analysis_record`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID(自增)'
,
`type`
int
(
2
)
DEFAULT
NULL
COMMENT
'类型(1-业绩、2-行为、3-培训、4-人员)'
,
`supervisor_phone`
varchar
(
20
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'督导手机号'
,
`supervisor_name`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'督导姓名'
,
`time_dimension`
int
(
2
)
DEFAULT
NULL
COMMENT
'时间维度(1-日、2-周、3-月)'
,
`store_manager_phone`
varchar
(
20
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'驻店手机号'
,
`store_manager_name`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'驻店姓名'
,
`start_date`
date
DEFAULT
NULL
COMMENT
'开始日期'
,
`end_date`
date
DEFAULT
NULL
COMMENT
'结束日期'
,
`ai_request_params`
text
COLLATE
utf8mb4_unicode_ci
COMMENT
'AI请求参数'
,
`ai_generate_result`
text
COLLATE
utf8mb4_unicode_ci
COMMENT
'AI生成结果'
,
`ai_task_id`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'AI任务标识'
,
`ai_task_status`
int
(
2
)
DEFAULT
'0'
COMMENT
'AI任务状态(0-生成中、1-成功、2-失败)'
,
`created_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'创建人'
,
`updated_time`
datetime
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'更新人'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
'N'
COMMENT
'删除标记 N-正常 D-删除'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'AI分析结果记录表'
;
CREATE
TABLE
`person_course_recommendation`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID(自增)'
,
`person_phone`
varchar
(
20
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'人员手机号'
,
`person_name`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'人员姓名'
,
`beisen_userid`
int
(
11
)
DEFAULT
NULL
COMMENT
'北森人员id'
,
`bc_course_id`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'北森课程标识'
,
`bc_course_name`
varchar
(
200
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'北森课程名称'
,
`push_source`
int
(
2
)
DEFAULT
NULL
COMMENT
'推送来源 1-飞行督导'
,
`created_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'创建人'
,
`updated_time`
datetime
DEFAULT
NULL
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'更新人'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
'N'
COMMENT
'删除标记 N-正常 D-删除'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_person_phone`
(
`person_phone`
),
KEY
`idx_bc_course_id`
(
`bc_course_id`
),
KEY
`idx_push_source`
(
`push_source`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'人员-课程推荐表'
;
###
谢海旭
-----------------end---------------------
###
谢海旭
-----------------end---------------------
###
杨卫
-----------------start--------------------
###
杨卫
-----------------start--------------------
...
...
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