aa
This commit is contained in:
@@ -1605,9 +1605,9 @@ func TmpGetJxBadCommentsByStoreId(ctx *jxcontext.Context, keyword string, storeI
|
||||
}()
|
||||
// globals.SugarLogger.Debug(sql)
|
||||
// globals.SugarLogger.Debug(utils.Format4Output(sqlParams, false))
|
||||
if err = dao.GetRows(db, &commentList, sql, sqlParams...); err == nil {
|
||||
if err = dao.GetRowsTx(txDB, &commentList, sql, sqlParams...); err == nil {
|
||||
retVal = map[string]interface{}{
|
||||
"total": dao.GetLastTotalRowCount(db),
|
||||
"total": dao.GetLastTotalRowCount2(db, txDB),
|
||||
"list": commentList,
|
||||
}
|
||||
dao.Commit(db, txDB)
|
||||
|
||||
Reference in New Issue
Block a user