diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 1f470d6a1..2e20eaa40 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -291,6 +291,11 @@ func (c *OrderManager) OnOrderStatusChanged(vendorOrgCode string, orderStatus *m } else { partner.CurOrderManager.OnOrderMsg(order2, utils.Int2Str(order2.Status), fmt.Sprintf("取消订单申请赔付:%s", "成功")) } + if order2.Status != model.OrderStatusCanceled { + order2.Status = model.OrderStatusCanceled + order2.VendorStatus = orderStatus.VendorStatus + dao.UpdateEntity(db, order2, "Status") + } } // 判断是否需要打印取消订单