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
a31a083b
Commit
a31a083b
authored
Jan 05, 2019
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mall pro name
parent
dbc9abb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
数据组装pro.sql
jnby-by-jnby/数据组装pro.sql
+2
-2
No files found.
jnby-by-jnby/数据组装pro.sql
View file @
a31a083b
...
...
@@ -140,7 +140,7 @@ update order_import A inner join(select county_id,full_name from `gic3.0`.tab_gi
select
replace
(
uuid
(),
'-'
,
''
)
as
order_item_id
,
o
.
order_id
,
o
.
enterprise_id
,
o
.
brand_id
,
o
.
member_id
,
pro
.
mall_pro_id
,
pro
.
pro_name
as
mall_pro_name
,
IFNULL
(
oitem
.
mall_pro_price
,
0
)
,
o
.
member_id
,
pro
.
mall_pro_id
,
IFNULL
(
oitem
.
mall_pro_name
,
pro
.
pro_name
)
as
mall_pro_name
,
IFNULL
(
oitem
.
mall_pro_price
,
0
)
,
sku
.
mall_pro_propvalue_image_url
as
mall_pro_image_url
,
IFNULL
(
oitem
.
mall_pro_number
,
0
)
,
IFNULL
(
pro
.
mall_pro_spu_price
,
0
)
,
sku
.
mall_pro_sku_id
,
oitem
.
mall_pro_sku_code
,
IFNULL
(
sku
.
mall_prop_values
,
'[{}]'
)
as
mall_pro_sku_attr
,
oitem
.
discount_amount_info
,
oitem
.
amount_payable_info
,
IFNULL
(
oitem
.
pay_amount
,
0
),
IFNULL
(
oitem
.
get_points
,
0
)
,
oitem
.
use_points
,
oitem
.
order_item_freight
...
...
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