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 4f8cff70
authored
May 26, 2026
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
doc:5月小版本dml 脚本修改
1 parent
753f862a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
13_v5.8.1_20260529/sql/DML/scrm组dj_smartcarlife_dml.sql
13_v5.8.1_20260529/sql/DML/scrm组dj_smartcarlife_dml.sql
View file @
4f8cff7
...
...
@@ -96,8 +96,8 @@ WHERE e.deleted_flag = 'N';
delete
from
dj_car_life_staff_account_assign_record
;
delete
from
dj_car_life_staff_account_assign_scene
;
insert
into
dj_car_life_staff_account_assign_record
(
id
,
staff_uuid
,
staff_phone
,
job_type
,
staff_scene_label
,
merchant_id
,
merchant_name
,
yq_merchant_id
,
yq_merchant_name
,
created_source
,
created_by
,
created_date
,
updated_by
,
updated_date
,
station_type
,
deleted_flag
)
select
id
,
staff_uuid
,
staff_phone
,
job_type
,
staff_scene_label
,
merchant_id
,
merchant_name
,
yq_merchant_id
,
yq_merchant_name
,
created_source
,
created_by
,
created_date
,
updated_by
,
updated_date
,
station_type
,
deleted_flag
insert
into
dj_car_life_staff_account_assign_record
(
id
,
staff_uuid
,
staff_phone
,
job_type
,
staff_scene_label
,
merchant_id
,
merchant_name
,
yq_merchant_id
,
yq_merchant_name
,
created_source
,
created_by
,
created_date
,
updated_by
,
updated_date
,
deleted_flag
)
select
id
,
staff_uuid
,
staff_phone
,
job_type
,
staff_scene_label
,
merchant_id
,
merchant_name
,
yq_merchant_id
,
yq_merchant_name
,
created_source
,
created_by
,
created_date
,
updated_by
,
updated_date
,
deleted_flag
from
dj_car_life_staff_account_record
where
merchant_id
is
not
null
and
merchant_name
is
not
null
and
deleted_flag
!=
'D'
;
insert
into
dj_car_life_staff_account_assign_scene
(
id
,
account_record_id
,
base_scene_code
,
scene_type
,
deleted_flag
,
created_by
,
created_date
,
updated_by
,
updated_date
)
...
...
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