1
This commit is contained in:
@@ -645,6 +645,8 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user