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
ed304ef2
Commit
ed304ef2
authored
Feb 21, 2019
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pro
parent
dd43d464
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
合并清理.sql
jnby-home/合并清理.sql
+15
-15
No files found.
jnby-home/合并清理.sql
View file @
ed304ef2
...
@@ -3,23 +3,23 @@
...
@@ -3,23 +3,23 @@
-- 清除全部导入的数据
-- 清除全部导入的数据
DELETE
A
FROM
tab_gic_mall_order_refund_consult
A
DELETE
A
FROM
tab_gic_mall_order_refund_consult
A
LEFT
JOIN
tab_gic_mall_order_refund
B
ON
A
.
order_refund_id
=
B
.
order_refund_id
LEFT
JOIN
tab_gic_mall_order_refund
B
ON
A
.
order_refund_id
=
B
.
order_refund_id
WHERE
B
.
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
and
A
.
from_erp
=
1
;
WHERE
B
.
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
and
A
.
from_erp
=
1
;
DELETE
A
FROM
tab_gic_mall_order_refund_logistics
A
DELETE
A
FROM
tab_gic_mall_order_refund_logistics
A
LEFT
JOIN
tab_gic_mall_order_refund
B
ON
A
.
mall_order_id
=
B
.
order_id
LEFT
JOIN
tab_gic_mall_order_refund
B
ON
A
.
mall_order_id
=
B
.
order_id
WHERE
B
.
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
and
A
.
from_erp
=
1
;
WHERE
B
.
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
and
A
.
from_erp
=
1
;
DELETE
FROM
tab_gic_mall_order
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_order_item
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order_item
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_order_logistics
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order_logistics
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_order_process
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order_process
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_order_refund
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order_refund
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_collection
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_collection
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_evaluate
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_evaluate
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_order_batch_deliver_log
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_order_batch_deliver_log
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
tab_gic_mall_shopping_cart
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
tab_gic_mall_shopping_cart
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
DELETE
FROM
`gic3.0`
.
tab_gic_member_address
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
4f65d9501651798e0f8143d
'
;
DELETE
FROM
`gic3.0`
.
tab_gic_member_address
WHERE
from_erp
=
1
and
enterprise_id
=
'ff8080816
170e8990161f65038745e4e
'
;
...
...
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