diff --git a/business/partner/purchase/mtwm/order_comment.go b/business/partner/purchase/mtwm/order_comment.go index 6f9d8c03e..5d9adc8e6 100644 --- a/business/partner/purchase/mtwm/order_comment.go +++ b/business/partner/purchase/mtwm/order_comment.go @@ -122,12 +122,14 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) task.Run() resultList, err2 := task.GetResult(0) + globals.SugarLogger.Debugf("-------------err := %v", err) + globals.SugarLogger.Debugf("-------------resultList := %d", len(resultList)) if err = err2; err != nil { - globals.SugarLogger.Debugf("-------------err := %v", err) return err } var orderCommentList []*model.OrderComment + globals.SugarLogger.Debugf("-------------resultList resultList:= %d", len(resultList)) for _, result := range resultList { orderComment := result.(*model.OrderComment) orderCommentList = append(orderCommentList, orderComment)