Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
35331dd5
authored
Oct 26, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整更新竞调单
parent
9d30ffdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
dal/order/Order/Order.go
dal/order/Order/Order.go
View file @
35331dd5
...
@@ -89,10 +89,10 @@ func UpdateJingDiaoOrder() {
...
@@ -89,10 +89,10 @@ func UpdateJingDiaoOrder() {
start_time
:=
t
.
Unix
()
-
86400
start_time
:=
t
.
Unix
()
-
86400
end_time
:=
t
.
Unix
()
-
1
end_time
:=
t
.
Unix
()
-
1
_
,
err
:=
db
.
DB
.
Exec
(
"update lie_order set status = ? where is_type = ? and
create_time between ? and ?"
,
8
,
1
,
start_time
,
end_time
)
_
,
err
:=
db
.
DB
.
Exec
(
"update lie_order set status = ? where is_type = ? and
status = ? and create_time between ? and ?"
,
8
,
1
,
4
,
start_time
,
end_time
)
if
err
!=
nil
{
if
err
!=
nil
{
logger
.
Fatal
(
"更新昨天的竞调订单操作失败
"
)
logger
.
Fatal
(
"更新昨天的竞调订单操作失败
,"
+
err
.
Error
()
)
return
return
}
}
...
...
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