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 af30f053
authored
May 08, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
5.8.0 版本内容维护
1 parent
cee64f7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
10_v5.8.0_20260515/sql/人员上架-历史数据处理-insert拼接脚本.sql
10_v5.8.0_20260515/sql/人员上架-历史数据处理-insert拼接脚本.sql
View file @
af30f05
...
@@ -8,7 +8,7 @@ select concat(
...
@@ -8,7 +8,7 @@ select concat(
';'
';'
)
AS
insert_sql
)
AS
insert_sql
FROM
dj_smartcarlife
.
dj_car_life_staff_account_record
FROM
dj_smartcarlife
.
dj_car_life_staff_account_record
where
deleted_flag
=
'N
'
where
deleted_flag
!=
'D
'
and
staff_scene_label
is
not
null
and
staff_scene_label
is
not
null
and
staff_scene_label
!=
''
and
staff_scene_label
!=
''
and
FIND_IN_SET
(
'1'
,
staff_scene_label
)
>
0
;
and
FIND_IN_SET
(
'1'
,
staff_scene_label
)
>
0
;
...
@@ -20,7 +20,7 @@ select concat('INSERT INTO dj_car_life_staff_account_scene (account_record_id, b
...
@@ -20,7 +20,7 @@ select concat('INSERT INTO dj_car_life_staff_account_scene (account_record_id, b
'('
,
id
,
',
''
110201
''
, 0),'
,
'('
,
id
,
',
''
110201
''
, 0),'
,
'('
,
id
,
',
''
110202
''
, 0);'
)
as
insert_sql
'('
,
id
,
',
''
110202
''
, 0);'
)
as
insert_sql
from
dj_smartcarlife
.
dj_car_life_staff_account_record
from
dj_smartcarlife
.
dj_car_life_staff_account_record
where
deleted_flag
=
'N
'
where
deleted_flag
!=
'D
'
and
staff_scene_label
is
not
null
and
staff_scene_label
is
not
null
and
staff_scene_label
!=
''
and
staff_scene_label
!=
''
and
FIND_IN_SET
(
'0'
,
staff_scene_label
)
>
0
;
and
FIND_IN_SET
(
'0'
,
staff_scene_label
)
>
0
;
...
...
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