- pending order use real status when calling scheduler.OnOrderNew.

- set the order status to the proper value when there is a early message camme(saveOrder).
This commit is contained in:
gazebo
2018-07-25 22:58:19 +08:00
parent c0770e9ab5
commit a8c2e9991b
4 changed files with 31 additions and 15 deletions

View File

@@ -42,3 +42,7 @@ func (o *GoodsOrder) GetStatusTime() time.Time {
func (o *Waybill) GetStatusTime() time.Time {
return o.StatusTime
}
func (o *OrderStatus) GetStatusTime() time.Time {
return o.StatusTime
}