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
4677a9c0
Commit
4677a9c0
authored
Jan 04, 2019
by
蘑菇🍄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小童pay_number
parent
512d621a
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 @
4677a9c0
...
...
@@ -86,7 +86,7 @@ update order_import A inner join(select county_id,full_name from `gic3.0`.tab_gi
)
select
replace
(
uuid
(),
'-'
,
''
)
as
order_id
,
oi
.
erp_order_id
,
IFNULL
(
oi
.
order_number
,
CONCAT
(
'RE999'
,
floor
(
UNIX_TIMESTAMP
(
oi
.
create_time
))))
as
order_number
,
pay_number
as
order_number
,
replace
(
uuid
(),
'-'
,
''
)
as
order_process_id
,
IF
(
oi
.
create_time
<
(
date_sub
(
now
()
,
interval
3
day
)),
0
,
oi
.
order_step
)
as
order_step
,
members_view
.
enterprise_id
,
'-1'
as
brand_id
,
members_view
.
member_id
,
oi
.
mall_pro_all_price
...
...
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