去掉打印

This commit is contained in:
苏尹岚
2020-09-09 14:26:53 +08:00
parent d71edfbd6d
commit bc902cdebf
2 changed files with 0 additions and 7 deletions

View File

@@ -962,10 +962,6 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
Begin(db)
defer Commit(db)
if params["keyword"] != nil {
fmt.Println(sql)
fmt.Println(sqlParams)
}
if err = GetRows(db, &orders, sql, sqlParams...); err == nil {
totalCount = GetLastTotalRowCount(db)
}

View File

@@ -1,7 +1,6 @@
package dao
import (
"fmt"
"time"
"git.rosy.net.cn/baseapi/platformapi/aliupcapi"
@@ -231,8 +230,6 @@ func GetSkuCategoryWithVendor(db *DaoDB, vendorIDs []int, appOrgCodes []string,
sqlParams = append(sqlParams, parentCatID)
}
sql += " ORDER BY t1.seq"
fmt.Println(sql)
fmt.Println(sqlParams)
err = GetRows(db, &catList, sql, sqlParams...)
return catList, err
}