From 8ce9457c4ba1aa51d06f9b5b400682714f825afd Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 13 Jun 2019 11:42:49 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=A5=BF=E7=99=BE=E9=97=A8=E5=BA=97?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E5=AF=BC=E5=87=BA=E5=B7=AE=E8=AF=84=E7=8E=87?= =?UTF-8?q?=20-=20=E6=AF=8F=E6=99=9A=E4=BA=AC=E4=B8=9C=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E4=BB=8E=E5=BC=BA=E5=88=B6=E5=88=B7=E6=96=B0=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 1 + business/jxstore/misc/misc.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b70e3df78..60d17f211 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1125,6 +1125,7 @@ func ExportShopsHealthInfo(ctx *jxcontext.Context, vendorIDs, storeIDs []int, is "sku_num", "target_jiedan", "is_healthy", + "bad_order_rate", }, } excelBin = excel.Obj2Excel([]*excel.Obj2ExcelSheetConfig{excelConf}) diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index dedcd155e..6520ce94f 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -98,6 +98,6 @@ func StartDailyWork() { func doDailyWork() { globals.SugarLogger.Debug("doDailyWork") cms.EnableHaveRestStores(jxcontext.AdminCtx, true, true) - cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD}, nil, true, true) - cms.CurVendorSync.SyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDEBAI, model.VendorIDMTWM}, nil, nil, false, true, true) + // cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD}, nil, true, true) + cms.CurVendorSync.SyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD, model.VendorIDEBAI, model.VendorIDMTWM}, nil, nil, false, true, true) }