From 25079ae303353c47ca7121292a41a919d8e2e47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 May 2025 10:42:02 +0800 Subject: [PATCH] 1 --- business/model/dao/dao_order_sku_financial.go | 3 --- business/partner/purchase/mtwm/order_comment.go | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/business/model/dao/dao_order_sku_financial.go b/business/model/dao/dao_order_sku_financial.go index f6ebb5fc4..948e9966d 100644 --- a/business/model/dao/dao_order_sku_financial.go +++ b/business/model/dao/dao_order_sku_financial.go @@ -1,9 +1,7 @@ package dao import ( - "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/model" - "git.rosy.net.cn/jx-callback/globals" "git.rosy.net.cn/jx-print/dao" "sort" "time" @@ -99,7 +97,6 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL } return false }) - globals.SugarLogger.Debugf("---------mathProbability-- := %s", utils.Format4Output(mathProbability, false)) for k, v := range mathProbability { if v == values[0] { return k, nil diff --git a/business/partner/purchase/mtwm/order_comment.go b/business/partner/purchase/mtwm/order_comment.go index 00dad240a..884e3fcce 100644 --- a/business/partner/purchase/mtwm/order_comment.go +++ b/business/partner/purchase/mtwm/order_comment.go @@ -119,6 +119,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) vendorOrderID, _ = dao.GetBadCommentOrderId(storeDetail.ID, time.Now().Add(-RefreshCommentTime), startTime, nil, skuIdList) orderComment.VendorOrderID2 = vendorOrderID } + globals.SugarLogger.Debugf("---------VendorOrderID2-- := %s", utils.Format4Output(orderComment.VendorOrderID2, false)) } orderCommentList = append(orderCommentList, orderComment) }