Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeout_sbk
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
yunpeng.song
takeout_sbk
Commits
f35df15f
Commit
f35df15f
authored
Nov 21, 2022
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log
parent
161b5df4
Pipeline
#42055
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fmTakeout/Control/flowControl.cpp
+4
-4
No files found.
fmTakeout/Control/flowControl.cpp
View file @
f35df15f
...
@@ -940,10 +940,10 @@ void FlowControl::_OrderAnalysis(const QJsonObject& jsonObject)
...
@@ -940,10 +940,10 @@ void FlowControl::_OrderAnalysis(const QJsonObject& jsonObject)
// 更新订单的重打方式【支持补打方式】;
// 更新订单的重打方式【支持补打方式】;
if
(
orderObject
->
pluginOptions
.
length
()
&&
orderObject
->
pluginOptions
.
contains
(
JSON_PRINT_OPT
)
)
{
if
(
orderObject
->
pluginOptions
.
length
()
&&
orderObject
->
pluginOptions
.
contains
(
JSON_PRINT_OPT
)
)
{
QJsonObject
printOptions
=
orderObject
->
pluginOptions
[
JSON_PRINT_OPT
].
toObject
();
QJsonObject
p
luginP
rintOptions
=
orderObject
->
pluginOptions
[
JSON_PRINT_OPT
].
toObject
();
bool
reprintOrderRet
=
PrintMsgQueueDB
::
getInstance
().
resetPrintMsgStatus
(
orderObject
,
printOptions
);
bool
reprintOrderRet
=
PrintMsgQueueDB
::
getInstance
().
resetPrintMsgStatus
(
orderObject
,
p
luginP
rintOptions
);
QLOG_INFO
()
<<
QString
(
"[<<<<---PrintMsgQueueDB.getInstance().resetPrintMsgStatus orderId:%1 reprintOrderRet:%2,
printOpt
= --->>>>]"
)
QLOG_INFO
()
<<
QString
(
"[<<<<---PrintMsgQueueDB.getInstance().resetPrintMsgStatus orderId:%1 reprintOrderRet:%2,
pluginPrintOptions
= --->>>>]"
)
.
arg
(
orderObject
->
id
).
arg
(
reprintOrderRet
?
1
:
0
)
<<
printOptions
;
.
arg
(
orderObject
->
id
).
arg
(
reprintOrderRet
?
1
:
0
)
<<
p
luginP
rintOptions
;
orderObject
->
pluginOptions
=
QJsonObject
();
// 补打完成后,必须清空补打选项设置; 否则订单状态后续变化将会出现重复打印;
orderObject
->
pluginOptions
=
QJsonObject
();
// 补打完成后,必须清空补打选项设置; 否则订单状态后续变化将会出现重复打印;
}
}
}
}
...
...
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