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