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
52e61156
Commit
52e61156
authored
Dec 03, 2018
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc no
parent
d4fd36cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
数据组装pro.sql
jnby-pomme/数据组装pro.sql
+3
-3
No files found.
jnby-pomme/数据组装pro.sql
View file @
52e61156
...
...
@@ -264,7 +264,7 @@ UPDATE `tab_gic_mall_order_refund_logistics_copy` SET logistics_information = re
,
`refund_describe`
,
`order_refund_number`
,
`clique_id`
,
`clique_member_id`
,
`apply_channel`
,
`refund_type`
,
`refund_logistics_id`
,
`order_item_num`
,
`order_item_sum_num`
,
`order_num`
,
`refund_deliver_type`
,
`refund_seller_address_id`
,
`refund_seller_desc`
,
`refund_process_time`
,
`refund_goods_time`
,
`from_erp`
,
`refund_process_time`
,
`refund_goods_time`
,
`
doc_no`
,
`
from_erp`
)
...
...
@@ -276,7 +276,7 @@ UPDATE `tab_gic_mall_order_refund_logistics_copy` SET logistics_information = re
,
null
as
refund_describe
,
replace
(
uuid
(),
'-'
,
''
)
as
order_refund_number
,
members_view
.
clique_id
,
members_view
.
clique_member_id
,
r
.
apply_channel
,
r
.
refund_type
,
null
as
refund_logistics_id
,
r
.
order_item_num
,
r
.
order_item_sum_num
,
SUM
(
item
.
mall_pro_number
)
as
order_num
,
r
.
refund_deliver_type
,
null
as
refund_seller_address_id
,
null
as
refund_seller_desc
,
null
as
refund_process_time
,
null
as
refund_goods_time
,
1
as
from_erp
,
null
as
refund_process_time
,
null
as
refund_goods_time
,
o
.
order_number
as
doc_no
,
1
as
from_erp
FROM
order_refund_import
r
left
join
tab_gic_mall_order_copy
o
on
o
.
erp_order_id
=
r
.
erp_order_id
left
join
tab_gic_mall_order_item_copy
item
on
item
.
order_item_number
=
r
.
order_item_number
...
...
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