Commit c4d2de48 by 庄冰

aaa

parent d25877b7
......@@ -259,12 +259,12 @@ class MediaaggregationDao extends Dao {
}
async redisInfo(sql, countSql, optionType, functionName, params = "") {
async redisInfo(sql, countSql, optionType, functionName, params = {}) {
let rtnObj = {
total: 0,//总记录条数
rows: []
};
var list = await this.customQuery(sql);
var list = await this.customQuery(sql,params);
var dataCount = await this.customQuery(countSql);
rtnObj.rows = list;
rtnObj.total = dataCount && dataCount.length > 0 ? dataCount[0].dataCount : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment