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 df00b3d7
authored
Apr 17, 2026
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改SQL脚本
1 parent
2f62240b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
05_v5.7.1_20260417/sql/DML/dj组dj_smartcarlife_dml.sql
05_v5.7.1_20260417/sql/DML/dj组dj_smartcarlife_dml.sql
View file @
df00b3d
###
陈希
-----------------start-------------------
###
陈希
-----------------start-------------------
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_merchant_goods_id
(
merchant_goods_id
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_package_code
(
package_code
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_merchant_id
(
merchant_id
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_goods_type_del
;
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_package_type_del
;
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_union
;
INSERT
INTO
dj_car_life_merchant_goods_inventory_type_ref
INSERT
INTO
dj_car_life_merchant_goods_inventory_type_ref
(
merchant_goods_id
,
(
merchant_goods_id
,
package_code
,
package_code
,
...
@@ -76,23 +94,7 @@ WHERE itr_pkg.package_code IS NOT NULL
...
@@ -76,23 +94,7 @@ WHERE itr_pkg.package_code IS NOT NULL
###
陈希
-----------------end---------------------
###
陈希
-----------------end---------------------
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_merchant_goods_id
(
merchant_goods_id
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_package_code
(
package_code
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
add
index
idx_merchant_id
(
merchant_id
);
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_goods_type_del
;
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_package_type_del
;
alter
table
dj_car_life_merchant_goods_inventory_type_ref
drop
index
idx_union
;
###
立明
-----------------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