打印信息

This commit is contained in:
邹宗楠
2022-03-28 17:15:42 +08:00
parent 8279463e17
commit 4fb391befe
2 changed files with 4 additions and 2 deletions

View File

@@ -736,7 +736,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin
func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string, isFocus, isHighPrice bool, priceType int, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) {
//权限
if permission.IsRoled(ctx) {
if permission.IsRoled(ctx) { // 管理员不进入
if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil {
var storeIDs2 []int
if len(storeIDs) > 0 {
@@ -877,6 +877,8 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str
}
var tmpList []*tGetStoresSkusInfo
beginTime := time.Now()
fmt.Println("long=================================sql", sql)
fmt.Println("long============================paramter", sqlParams)
if err = dao.GetRowsTx(txDB, &tmpList, sql, sqlParams...); err != nil {
dao.Rollback(db, txDB)
return nil, err