From 55ef8e9ea3a27131cafe7550c979b3628a018410 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 28 Aug 2018 13:57:40 +0800 Subject: [PATCH] - fix sync LockStatus bug in orderman.addOrderStatus. --- business/jxcallback/orderman/order.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 8faf2ef3d..103713fb4 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -304,6 +304,7 @@ func (c *OrderManager) addOrderStatus(orderStatus *model.OrderStatus, db orm.Orm updateFields = append(updateFields, "LockStatus") } } + orderStatus.LockStatus = order.LockStatus if orderStatus.Status >= model.OrderStatusEndBegin { order.OrderFinishedAt = orderStatus.StatusTime updateFields = append(updateFields, "OrderFinishedAt")