From b86d1f009817bb296c1c98fef8255bd155a2fc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 20 Aug 2024 14:11:24 +0800 Subject: [PATCH] 1 --- business/partner/purchase/mtwm/order_comment.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) {