From e00d73b06c28955f062caf01eb78c338eedcfeb3 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 31 Dec 2019 17:40:42 +0800 Subject: [PATCH] =?UTF-8?q?doDailyWork,=20AmendMissingOrders=E6=94=B9?= =?UTF-8?q?=E4=B8=BA72=E5=B0=8F=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 769bed0d4..a19c191ff 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -216,7 +216,7 @@ func doDailyWork() { // 每天补全前一天与当天的订单 curDate := utils.Time2Date(time.Now()) - orderman.FixedOrderManager.AmendMissingOrders(jxcontext.AdminCtx, nil, 0, curDate.Add(-24*time.Hour), curDate, true, true) + orderman.FixedOrderManager.AmendMissingOrders(jxcontext.AdminCtx, nil, 0, curDate.Add(-72*time.Hour), curDate, true, true) //订单门店归属补漏 //fromDate, toDate都不传默认刷新当前天5天以前的订单,只传fromDate默认刷新fromDate到当天的订单 //只传toDate默认刷新toDate到5天以前的订单