Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
崔彦峰
/
repowiki
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 e6d1bd10
authored
Jan 06, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
modify: 查博士修改
1 parent
31fcf0ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletions
repowiki/spec/2026-01-15版本/系统设计.md
repowiki/spec/2026-01-15版本/系统设计.md
View file @
e6d1bd1
...
@@ -56,8 +56,39 @@ CREATE TABLE vcp_chaboshi_data
...
@@ -56,8 +56,39 @@ CREATE TABLE vcp_chaboshi_data
deleted_flag
CHAR
DEFAULT
'N'
NOT
NULL
COMMENT
'删除标识:N未删除,D已删除'
,
deleted_flag
CHAR
DEFAULT
'N'
NOT
NULL
COMMENT
'删除标识:N未删除,D已删除'
,
UNIQUE
KEY
uk_vin
(
vin
)
UNIQUE
KEY
uk_vin
(
vin
)
)
COMMENT
'查博士数据表'
;
##
处理查博士历史数据
INSERT
INTO
vcp_chaboshi_data
(
vin
,
data_json
,
last_query_time
,
created_by
,
created_date
,
updated_by
,
updated_date
,
deleted_flag
)
)
COMMENT
'查博士数据表'
;
SELECT
cmi
.
vin
,
cmi
.
car_model_data
,
COALESCE
(
cmi
.
updated_date
,
cmi
.
create_time
),
cmi
.
created_by
,
cmi
.
created_date
,
cmi
.
updated_by
,
cmi
.
updated_date
,
'N'
FROM
vcp_car_manage_info
cmi
WHERE
cmi
.
car_model_data
IS
NOT
NULL
AND
cmi
.
car_model_data
<>
''
AND
cmi
.
vin
IS
NOT
NULL
ON
DUPLICATE
KEY
UPDATE
data_json
=
VALUES
(
data_json
),
last_query_time
=
VALUES
(
last_query_time
),
updated_by
=
VALUES
(
updated_by
),
updated_date
=
VALUES
(
updated_date
),
deleted_flag
=
'N'
;
```
```
...
...
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