diff --git a/business/partner/purchase/mtwm/order_comment.go b/business/partner/purchase/mtwm/order_comment.go index d8237e0ba..3f227cad6 100644 --- a/business/partner/purchase/mtwm/order_comment.go +++ b/business/partner/purchase/mtwm/order_comment.go @@ -50,8 +50,9 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) endDateStr := startTime.Format("20060102") startDateStr := time.Now().Add(-RefreshCommentTime).Format("20060102") storeIDs, _ := dao.GetOrderStoreIDs(dao.GetDB(), fromTime, toTime, model.VendorIDMTWM) - globals.SugarLogger.Debugf("------fromTime := %s", utils.Time2TimeStr(fromTime)) - globals.SugarLogger.Debugf("------toTime := %s", utils.Time2TimeStr(toTime)) + storeIDs = append(storeIDs, 804697) + globals.SugarLogger.Debugf("------fromTime := %s", utils.Format4Output(fromTime, false)) + globals.SugarLogger.Debugf("------toTime := %s", utils.Format4Output(toTime, false)) globals.SugarLogger.Debugf("------storeIDs := %s", utils.Format4Output(storeIDs, false)) task := tasksch.NewParallelTask("mtwm RefreshComment", nil, jxcontext.AdminCtx, func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {