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
ce69fe0e
Commit
ce69fe0e
authored
Sep 21, 2018
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: 悬浮框遮盖右下角POS系统的按钮;导致系统无法录单
parent
31070969
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
fmTakeout/Control/flowControl.cpp
+8
-1
fmTakeout/fmTakeout.rc
+4
-4
fmTakeout/preDefine.h
+2
-1
No files found.
fmTakeout/Control/flowControl.cpp
View file @
ce69fe0e
...
@@ -1443,7 +1443,7 @@ void FlowControl::_CrondClearExpireOrder()
...
@@ -1443,7 +1443,7 @@ void FlowControl::_CrondClearExpireOrder()
QLOG_INFO
()
<<
QString
(
"[<<<<---_CrondClearExpireOrder: ClearExpireOrder: Emit Signal:Clear Order orderID:%1--->>>>]"
).
arg
(
order
->
id
);
QLOG_INFO
()
<<
QString
(
"[<<<<---_CrondClearExpireOrder: ClearExpireOrder: Emit Signal:Clear Order orderID:%1--->>>>]"
).
arg
(
order
->
id
);
emit
clearorder
(
order
->
id
,
order
->
orderStatus
);
emit
clearorder
(
order
->
id
,
order
->
orderStatus
);
m_FmOrdersMap
.
value
(
order
->
id
)
->
deleteLater
();
m_FmOrdersMap
.
value
(
order
->
id
)
->
deleteLater
();
// 任何情况情况下都不能清理 Simphony获取的有效队列【除非已经被simphony处理过的数据】
;
// 任何情况情况下都不能清理 Simphony获取的有效队列【除非已经被simphony处理过的数据】
;目前已经在POS 触发的Action1:_ResponseSimReqFristOrderData 中做数据清理了
// m_simValidOrdersList.removeOne(order->id);
// m_simValidOrdersList.removeOne(order->id);
delete
m_FmOrdersMap
.
take
(
order
->
id
);
delete
m_FmOrdersMap
.
take
(
order
->
id
);
}
}
...
@@ -1922,6 +1922,13 @@ bool FlowControl::_ResponseSimReqFristOrderData(const QJsonObject &content, QJso
...
@@ -1922,6 +1922,13 @@ bool FlowControl::_ResponseSimReqFristOrderData(const QJsonObject &content, QJso
QLOG_INFO
()
<<
QString
::
fromLocal8Bit
(
"[<<<<---Simphony_Script请求[ACTION:01:]FMOMS已登录,且有订单待拉取:orderId:%1--->>>>>]"
).
arg
(
orderId
);
QLOG_INFO
()
<<
QString
::
fromLocal8Bit
(
"[<<<<---Simphony_Script请求[ACTION:01:]FMOMS已登录,且有订单待拉取:orderId:%1--->>>>>]"
).
arg
(
orderId
);
OrderObject
*
orderObject
=
m_FmOrdersMap
.
value
(
orderId
);
OrderObject
*
orderObject
=
m_FmOrdersMap
.
value
(
orderId
);
if
(
!
orderObject
){
error
=
QString
::
fromLocal8Bit
(
"Delivery Order had been clear by _CrondClearExpireOrder."
);
m_OrderEntryMutex
.
lock
();
m_simValidOrdersList
.
removeFirst
();
m_OrderEntryMutex
.
unlock
();
result
=
false
;
}
if
(
MAXPUTTIMES
==
orderObject
->
pushOrderTimes
)
{
if
(
MAXPUTTIMES
==
orderObject
->
pushOrderTimes
)
{
orderObject
->
pushOrderTimes
=
0
;
orderObject
->
pushOrderTimes
=
0
;
}
else
{
}
else
{
...
...
fmTakeout/fmTakeout.rc
View file @
ce69fe0e
...
@@ -7,8 +7,8 @@ IDI_ICON ICON DISCARDABLE "logo.ico"
...
@@ -7,8 +7,8 @@ IDI_ICON ICON DISCARDABLE "logo.ico"
#endif
#endif
VS_VERSION_INFO VERSIONINFO
VS_VERSION_INFO VERSIONINFO
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
FILEVERSION 2,2018,91
3
,1
FILEVERSION 2,2018,91
9
,1
PRODUCTVERSION 2,2018,91
3
,1
PRODUCTVERSION 2,2018,91
9
,1
//*************************************************************************//
//*************************************************************************//
FILEFLAGSMASK 0x3fL
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
#ifdef _DEBUG
...
@@ -31,8 +31,8 @@ VS_VERSION_INFO VERSIONINFO
...
@@ -31,8 +31,8 @@ VS_VERSION_INFO VERSIONINFO
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "ProductName", "Delivery Order Plug-in"
VALUE "ProductName", "Delivery Order Plug-in"
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
VALUE "ProductVersion", "2.2018.91
3
.1"
VALUE "ProductVersion", "2.2018.91
9
.1"
VALUE "FileVersion", "2.2018.91
3
.1"
VALUE "FileVersion", "2.2018.91
9
.1"
//*************************************************************************//
//*************************************************************************//
END
END
END
END
...
...
fmTakeout/preDefine.h
View file @
ce69fe0e
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
//#define APP_VERSION "2.20180822.01"
//#define APP_VERSION "2.20180822.01"
//#define APP_VERSION "2.20180824.01"
//#define APP_VERSION "2.20180824.01"
//#define APP_VERSION "2.20180905.01"
//#define APP_VERSION "2.20180905.01"
#define APP_VERSION "2.2018913.1"
//#define APP_VERSION "2.2018913.1"
#define APP_VERSION "2.2018919.1"
//修正版本号时,切记修正 FmTakeout.rc 中的版本号
//修正版本号时,切记修正 FmTakeout.rc 中的版本号
...
...
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