- fixed crash bug caused by misuse order(should use status).

This commit is contained in:
gazebo
2018-07-25 23:07:17 +08:00
parent a8c2e9991b
commit 155c336f44

View File

@@ -109,7 +109,7 @@ func LoadPendingOrders() {
} else if status, ok := item.(*model.OrderStatus); ok {
jxutils.CallMsgHandlerAsync(func() {
scheduler.CurrentScheduler.OnOrderStatusChanged(status, true)
}, order.VendorOrderID)
}, status.VendorOrderID)
} else {
bill := item.(*model.Waybill)
jxutils.CallMsgHandlerAsync(func() {