银豹同步京西删除测试

This commit is contained in:
苏尹岚
2020-04-28 08:41:18 +08:00
parent ff101b359d
commit 94ebfe3837

View File

@@ -950,9 +950,9 @@ func syncStoreSkusFromYb(ctx *jxcontext.Context, storeID, vendorID int, vendorSt
deleteList = append(deleteList, v)
}
}
fmt.Println("addList", utils.Format4Output(addList, false))
// fmt.Println("updateList", utils.Format4Output(updateList, false))
fmt.Println("deleteList", utils.Format4Output(deleteList, false))
// fmt.Println("addList", utils.Format4Output(addList, false))
fmt.Println("updateList", utils.Format4Output(updateList, false))
// fmt.Println("deleteList", utils.Format4Output(deleteList, false))
taskSeqFunc := func(task *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) {
store, _ := dao.GetStoreDetail(db, storeID, vendorID)
switch step {