This commit is contained in:
邹宗楠
2024-09-13 10:28:43 +08:00
parent 5ac899e36d
commit 6c88988020

View File

@@ -117,7 +117,6 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
orderCommentList = append(orderCommentList, orderComment)
}
}
globals.SugarLogger.Debugf("----------orderCommentList := %s", utils.Format4Output(orderCommentList, false))
return orderCommentList, nil
}, storeIDs)
@@ -132,7 +131,9 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
for _, result := range resultList {
orderComment := result.(*model.OrderComment)
orderCommentList = append(orderCommentList, orderComment)
globals.SugarLogger.Debugf("--------------orderComment.VendorOrderID := %s", orderComment.VendorOrderID)
}
globals.SugarLogger.Debugf("--------------orderCommentList := %d", len(orderCommentList))
if len(orderCommentList) > 0 {
err = partner.CurOrderManager.OnOrderComments(orderCommentList)