Commit ee7155a1 by 李定达

1.修复外卖单完成bug;

parent afe3c0f0
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment