Commit 7b22c616 by ss.dai

1:去除入账日期限制避免前一天订单无法入账

parent b8068e02
...@@ -247,14 +247,14 @@ bool FlowControl::_PullOrder() ...@@ -247,14 +247,14 @@ bool FlowControl::_PullOrder()
} }
} }
QDateTime ctime(QDateTime::currentDateTime()); // QDateTime ctime(QDateTime::currentDateTime());
ctime.setTime(QTime(0,0)); // ctime.setTime(QTime(0,0));
if(QDateTime::fromTime_t(orderObject->create_time)<ctime) // if(QDateTime::fromTime_t(orderObject->create_time)<ctime)
{ // {
bWrite = false; // bWrite = false;
} // }
if(bWrite) if(bWrite)
{ {
......
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