diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 27d802753..f4d4bdd7d 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -322,14 +322,14 @@ func syncStoreSku() { func doDailyWork() { globals.SugarLogger.Debug("doDailyWork") - cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true) - netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true) dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus) cms.CurVendorSync.SyncStore2(jxcontext.AdminCtx, dao.GetDB(), nil, nil, true, true) syncStoreSku() InitEx() + cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true) + netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true) // 每天补全前一天与当天的订单 curDate := utils.Time2Date(time.Now())