去掉打印

This commit is contained in:
苏尹岚
2020-09-09 14:51:25 +08:00
parent a6d39c2f18
commit 79387398f7
2 changed files with 3 additions and 2 deletions

View File

@@ -645,6 +645,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
updateList = rList2
}
}
if ctx.GetUserName() == "suyl" {
fmt.Println(utils.Format4Output(priceList, false))
}
task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx,
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
step := batchItemList[0].(int)

View File

@@ -549,8 +549,6 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
sql = fmt.Sprintf(sql, fmtParams...)
sql += " ORDER BY t1.price"
// globals.SugarLogger.Debug(sql)
fmt.Println(sql)
fmt.Println(sqlParams)
if err = GetRows(db, &skus, sql, sqlParams...); err != nil {
return nil, err
}