- 设置门店假营业时间放在每晚例行同步任务之后

This commit is contained in:
gazebo
2019-08-02 16:23:36 +08:00
parent 8518248080
commit 87d78777af
3 changed files with 31 additions and 11 deletions

View File

@@ -99,6 +99,7 @@ func doDailyWork() {
globals.SugarLogger.Debug("doDailyWork")
// 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)
InitEx()
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
}