晚上同步还是提前把

This commit is contained in:
苏尹岚
2020-07-01 09:08:39 +08:00
parent d564d637a5
commit c443b873c4

View File

@@ -43,7 +43,7 @@ var (
"09:00:00", "09:00:00",
} }
dailyWorkTimeList = []string{ dailyWorkTimeList = []string{
"22:00:00", "20:00:00",
} }
dailyWorkTimeList2 = []string{ dailyWorkTimeList2 = []string{
"04:00:00", "04:00:00",
@@ -368,7 +368,7 @@ func syncStoreSku() {
errList.AddErr(err) errList.AddErr(err)
SaveImportantTaskID(TaskNameSyncStoreSku, SpecialTaskID) SaveImportantTaskID(TaskNameSyncStoreSku, SpecialTaskID)
taskID, err2 := cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, []int{1, 3}, nil, false, nil, nil, syncFlag, true, true) taskID, err2 := cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, []int{1, 3, 5}, nil, false, nil, nil, syncFlag, true, true)
// taskID, err2 := cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, partner.GetSingleStoreVendorIDs(), nil, false, nil, nil, syncFlag, true, true) // taskID, err2 := cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, partner.GetSingleStoreVendorIDs(), nil, false, nil, nil, syncFlag, true, true)
errList.AddErr(err2) errList.AddErr(err2)