diff --git a/business/jxcallback/orderman/order_comment.go b/business/jxcallback/orderman/order_comment.go index bb489b562..93fb530ac 100644 --- a/business/jxcallback/orderman/order_comment.go +++ b/business/jxcallback/orderman/order_comment.go @@ -77,6 +77,7 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( OrderId: orderComment.VendorOrderID, } err = dao.GetEntity(db, comment2, "OrderId") + globals.SugarLogger.Debugf("==============comment2 := %s", utils.Format4Output(comment2, false)) if err == nil || dao.IsNoRowsError(err) { isNewComment := false if dao.IsNoRowsError(err) { @@ -179,6 +180,7 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( } } } else { + globals.SugarLogger.Debugf("=comment2Update========== %s", utils.Format4Output(comment2, false)) comment2.VendorOrderId = orderComment.VendorOrderID2 _, err = dao.UpdateEntity(db, comment2, "VendorOrderId") }