This commit is contained in:
邹宗楠
2023-07-17 16:11:51 +08:00
parent e4bd1658cc
commit e509133d5e
2 changed files with 3 additions and 1 deletions

View File

@@ -751,6 +751,9 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
panic(r)
}
}()
globals.SugarLogger.Debugf("sql := %s", sql)
globals.SugarLogger.Debugf("sql := %s", utils.Format4Output(sqlParams, false))
if err = GetRowsTx(txDB, &acts, sql, sqlParams...); err == nil && len(acts) != 0 {
aa := GetLastTotalRowCount2(db, txDB)
pageInfo.TotalCount = aa

View File

@@ -674,7 +674,6 @@ func updateStoreSkusStockByCreate(ctx *jxcontext.Context, api *tao_vegetable.API
globals.SugarLogger.Debugf("Updat stock err := %s", err.Error())
//failedList = append(failedList, putils.GetErrMsg2FailedSingleList(v, err, storeID, model.VendorChineseNames[model.VendorIDTaoVegetable], "更新库存错误")...)
}
globals.SugarLogger.Debugf("UpdateStoreSkusStock=====err := %v", failedList)
return failedList
}