Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
script
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚闰伍
script
Commits
2121f17c
Commit
2121f17c
authored
Feb 19, 2019
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aa06f7ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
2 deletions
+48
-2
数据组装pro.sql
jnby-home/数据组装pro.sql
+2
-2
添加索引.sql
jnby-home/添加索引.sql
+46
-0
No files found.
jnby-home/数据组装pro.sql
View file @
2121f17c
...
...
@@ -344,7 +344,7 @@ FROM tab_gic_mall_order_refund_copy r
UPDATE
`order_tmp_import`
.
order_evaluate_import
e
LEFT
JOIN
tab_gic_mall_pro_sku
sku
ON
e
.
mall_pro_sku_code
=
sku
.
mall_pro_sku_code
INNER
JOIN
tab_gic_mall_pro_sku
sku
ON
e
.
mall_pro_sku_code
=
sku
.
mall_pro_sku_code
SET
e
.
mall_pro_id
=
sku
.
mall_pro_id
;
...
...
jnby-home/添加索引.sql
0 → 100644
View file @
2121f17c
ALTER
TABLE
`tab_gic_mall_order_copy`
ADD
INDEX
index_order_number
(
`order_number`
);
ALTER
TABLE
`tab_gic_mall_order_copy`
ADD
INDEX
index_erp_order_id
(
`erp_order_id`
);
ALTER
TABLE
`tab_gic_mall_order_item_copy`
ADD
INDEX
index_order_id
(
`order_id`
);
ALTER
TABLE
`tab_gic_mall_order_item_copy`
ADD
INDEX
index_pay_amount
(
`pay_amount`
);
ALTER
TABLE
`tab_gic_member_address_copy`
ADD
INDEX
index_buyer_moile
(
`buyer_moile`
);
ALTER
TABLE
`tab_gic_member_address_copy`
ADD
INDEX
index_member_number
(
`member_number`
);
ALTER
TABLE
`tab_gic_mall_shopping_cart_copy`
ADD
INDEX
index_mall_pro_code
(
`mall_pro_code`
);
ALTER
TABLE
`tab_gic_mall_shopping_cart_copy`
ADD
INDEX
index_mall_sku_code
(
`mall_sku_code`
);
ALTER
TABLE
`tab_gic_mall_shopping_cart_copy`
ADD
INDEX
index_cardno
(
`cardno`
);
ALTER
TABLE
`order_import`
ADD
INDEX
index_member_card_num
(
`member_card_num`
);
ALTER
TABLE
`order_item_import`
ADD
INDEX
index_mall_pro_code
(
`mall_pro_code`
);
ALTER
TABLE
`order_item_import`
ADD
INDEX
index_mall_pro_sku_code
(
`mall_pro_sku_code`
);
ALTER
TABLE
`order_logistics_import`
ADD
INDEX
index_mall_pro_code
(
`mall_pro_code`
);
ALTER
TABLE
`order_refund_logistics_import`
ADD
INDEX
index_mall_pro_code
(
`mall_pro_code`
);
ALTER
TABLE
`order_refund_import`
ADD
INDEX
index_out_trade_no
(
`out_trade_no`
);
ALTER
TABLE
`order_batch_deliver_import`
ADD
INDEX
index_order_number
(
`order_number`
);
ALTER
TABLE
`order_evaluate_import`
ADD
INDEX
index_mall_pro_sku_code
(
`mall_pro_sku_code`
);
ALTER
TABLE
`order_evaluate_import`
ADD
INDEX
index_erp_order_id
(
`erp_order_id`
);
ALTER
TABLE
`order_evaluate_import`
ADD
INDEX
index_member_card_no
(
`member_card_no`
);
ALTER
TABLE
`collect_import`
ADD
INDEX
index_mall_pro_code
(
`mall_pro_code`
);
ALTER
TABLE
`collect_import`
ADD
INDEX
index_card_no
(
`card_no`
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment