From 832d4a8a2235d7f026b025a6c696cd6125a44f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 13 Sep 2024 16:00:37 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order_comment.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/business/jxcallback/orderman/order_comment.go b/business/jxcallback/orderman/order_comment.go index 81885af4f..9f0c86956 100644 --- a/business/jxcallback/orderman/order_comment.go +++ b/business/jxcallback/orderman/order_comment.go @@ -172,7 +172,6 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( if err == nil { if comment2.OrderFlag == "1" { - globals.SugarLogger.Debugf("---------------comment2-isNewComment :%s", utils.Format4Output(comment2, false)) } if isNewComment { err = dao.CreateEntity(db, comment2) @@ -181,18 +180,12 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) ( } } } else { - if comment2.OrderFlag == "1" { - globals.SugarLogger.Debugf("---------------comment2-UpdateEntity :%s", utils.Format4Output(comment2, false)) - } if orderComment.VendorOrderID2 != "" { comment2.VendorOrderId = orderComment.VendorOrderID2 _, err = dao.UpdateEntity(db, comment2) } } } else { - if comment2.OrderFlag == "1" { - globals.SugarLogger.Debugf("---------------comment2-UpdateEntity2 :%s", utils.Format4Output(comment2, false)) - } comment2.VendorOrderId = orderComment.VendorOrderID2 _, err = dao.UpdateEntity(db, comment2, "VendorOrderId") }