订单状态修改
This commit is contained in:
@@ -1066,7 +1066,7 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
||||
if err = err2; err == nil {
|
||||
if model.IsOrderFinalStatus(order.Status) {
|
||||
goodsOrder.Status = order.Status
|
||||
goodsOrder.OrderFinishedAt = order.OrderFinishedAt
|
||||
goodsOrder.OrderFinishedAt = order.StatusTime
|
||||
_, err = dao.UpdateEntity(db, goodsOrder, "Status", "OrderFinishedAt")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user