This commit is contained in:
邹宗楠
2023-08-03 22:13:48 +08:00
parent 570b092543
commit 14e6cd92b4
2 changed files with 4 additions and 1 deletions

View File

@@ -486,6 +486,9 @@ func (v *VendorSync) SyncStoresCategory(ctx *jxcontext.Context, db *dao.DaoDB, v
//
func (v *VendorSync) SyncStoresSkus2(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag int, db *dao.DaoDB, vendorIDs []int, storeIDs []int, syncDisabled bool, skuIDs, excludeSkuIDs []int, setSyncStatus int, isAsync, isContinueWhenError bool) (hint string, err error) {
if len(vendorIDs) > 0 && vendorIDs[0] == model.VendorIDTaoVegetable {
globals.SugarLogger.Debugf("=====================storeIDs: %s", utils.Format4Output(storeIDs, false))
}
isManageIt := len(storeIDs) != 1 || len(skuIDs) == 0 || len(skuIDs) > 8
funcParam := func(t *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (interface{}, error) {
loopMapInfo := batchItemList[0].(*LoopStoreMapInfo)

View File

@@ -519,7 +519,7 @@ func Init() {
}, []string{
"18:50:00",
"20:50:00",
"22:10:00",
"22:18:00",
"00:50:00",
"02:50:00",
"04:50:00",