Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmtakeout
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李定达
fmtakeout
Commits
ee7155a1
Commit
ee7155a1
authored
Oct 19, 2018
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复外卖单完成bug;
parent
afe3c0f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
+1
-12
takeout/control/ordergetwork.cpp
+1
-12
No files found.
takeout/control/ordergetwork.cpp
View file @
ee7155a1
...
@@ -627,18 +627,7 @@ void OrderGetWork::optOrderWithType(const QVariantMap &map)
...
@@ -627,18 +627,7 @@ void OrderGetWork::optOrderWithType(const QVariantMap &map)
int
order_type
=
-
1
;
int
order_type
=
-
1
;
if
(
PosOrderPool
::
GetOrderObject
(
orderid
,
localorder
))
if
(
PosOrderPool
::
GetOrderObject
(
orderid
,
localorder
))
{
order_type
=
localorder
.
order_type
;
int
tmpstatus
=
0
;
if
(
localorder
.
refund_status
==
20
||
localorder
.
refund_status
==
100
||
localorder
.
refund_status
==
22
)
tmpstatus
=
localorder
.
refund_status
;
else
tmpstatus
=
localorder
.
status
;
order_type
=
tmpstatus
;
}
if
(
localorder
.
refund_status
)
QLOG_DEBUG
()
<<
"order type : "
<<
order_type
<<
"opt type : "
<<
type
;
QLOG_DEBUG
()
<<
"order type : "
<<
order_type
<<
"opt type : "
<<
type
;
...
...
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