This commit is contained in:
邹宗楠
2024-11-26 18:21:27 +08:00
parent da91dd66b5
commit 31b601b810
2 changed files with 3 additions and 4 deletions

View File

@@ -645,8 +645,6 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
sqlParams = append(sqlParams, pageSize, offset)
//mapLimit := false
txDB, _ := dao.Begin(db)
globals.SugarLogger.Debugf("---sql := %s", sql)
globals.SugarLogger.Debugf("---sql := %s", utils.Format4Output(sqlParams, false))
if err = dao.GetRowsTx(txDB, &storeList, sql, sqlParams...); err == nil {
retVal.Stores = storeList
retVal.TotalCount = dao.GetLastTotalRowCount2(db, txDB)