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
a4a6e4fe
Commit
a4a6e4fe
authored
Dec 02, 2018
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b52c58fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
导入指定的会员.sql
jnby-pomme/导入指定的会员.sql
+13
-12
No files found.
jnby-pomme/导入指定的会员.sql
View file @
a4a6e4fe
...
...
@@ -4,26 +4,27 @@
-- WX20023230
-- WX20067966
-- WX20062589
-- WX20062935
INSERT
INTO
tab_gic_mall_order_item
SELECT
*
FROM
tab_gic_mall_order_item_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
INSERT
INTO
tab_gic_mall_order
SELECT
*
FROM
tab_gic_mall_order_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
INSERT
INTO
tab_gic_mall_shopping_cart
SELECT
*
FROM
tab_gic_mall_shopping_cart_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
INSERT
INTO
tab_gic_mall_collection
SELECT
*
FROM
tab_gic_mall_collection_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
insert
into
`gic3.0`
.
tab_gic_member_address
SELECT
*
from
`gic3.0`
.
tab_gic_member_address_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
insert
into
tab_gic_mall_evaluate
SELECT
*
from
tab_gic_mall_evaluate_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
insert
into
tab_gic_mall_order_logistics
SELECT
*
from
tab_gic_mall_order_logistics_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
INSERT
INTO
tab_gic_mall_order_item
SELECT
*
FROM
tab_gic_mall_order_item_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
INSERT
INTO
tab_gic_mall_order
SELECT
*
FROM
tab_gic_mall_order_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
INSERT
INTO
tab_gic_mall_shopping_cart
SELECT
*
FROM
tab_gic_mall_shopping_cart_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
INSERT
INTO
tab_gic_mall_collection
SELECT
*
FROM
tab_gic_mall_collection_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
insert
into
`gic3.0`
.
tab_gic_member_address
SELECT
*
from
`gic3.0`
.
tab_gic_member_address_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
insert
into
tab_gic_mall_evaluate
SELECT
*
from
tab_gic_mall_evaluate_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
insert
into
tab_gic_mall_order_logistics
SELECT
*
from
tab_gic_mall_order_logistics_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
insert
into
tab_gic_mall_order_refund
SELECT
*
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
insert
into
tab_gic_mall_order_process
SELECT
*
from
tab_gic_mall_order_process_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
);
insert
into
tab_gic_mall_order_refund
SELECT
*
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
insert
into
tab_gic_mall_order_process
SELECT
*
from
tab_gic_mall_order_process_copy
WHERE
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
);
INSERT
INTO
tab_gic_mall_order_refund_consult
SELECT
*
from
tab_gic_mall_order_refund_consult_copy
WHERE
order_refund_id
in
(
SELECT
order_refund_id
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
)
SELECT
order_refund_id
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
)
);
INSERT
INTO
tab_gic_mall_order_refund_logistics
SELECT
*
from
tab_gic_mall_order_refund_logistics_copy
WHERE
mall_order_id
in
(
SELECT
order_id
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
)
SELECT
order_id
from
tab_gic_mall_order_refund_copy
where
member_id
in
(
'ff80808165b4c5070165c20bbe331701'
,
'ff8080816760187701676375222d32e1'
,
'ff808081671d4dd501673a76508d32ce'
,
'ff808081673c614601673ed9718f3366'
)
);
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