aa
This commit is contained in:
@@ -371,8 +371,6 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b
|
||||
sqlParams = append(sqlParams, pageSize, offset)
|
||||
dao.Begin(db)
|
||||
defer dao.Commit(db)
|
||||
fmt.Println(sql)
|
||||
fmt.Println(sqlParams)
|
||||
if err = dao.GetRows(db, &SkuNames, sql, sqlParams...); err == nil {
|
||||
skuNamesInfo = &dao.StoreSkuNamesInfo{
|
||||
TotalCount: dao.GetLastTotalRowCount(db),
|
||||
@@ -743,8 +741,6 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str
|
||||
sqlParams2 = append(sqlParams2, sqlParamsPage)
|
||||
var storeNameList []*tStoreNameBind
|
||||
beginTime := time.Now()
|
||||
fmt.Println(sql2)
|
||||
fmt.Println(sqlParams2)
|
||||
if err = dao.GetRows(db, &storeNameList, sql2, sqlParams2...); err != nil {
|
||||
dao.Rollback(db)
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user