Commit 51b3f360 by 庄冰

aaa

parent c4d2de48
...@@ -265,7 +265,7 @@ class MediaaggregationDao extends Dao { ...@@ -265,7 +265,7 @@ class MediaaggregationDao extends Dao {
rows: [] rows: []
}; };
var list = await this.customQuery(sql,params); var list = await this.customQuery(sql,params);
var dataCount = await this.customQuery(countSql); var dataCount = await this.customQuery(countSql,params);
rtnObj.rows = list; rtnObj.rows = list;
rtnObj.total = dataCount && dataCount.length > 0 ? dataCount[0].dataCount : 0; rtnObj.total = dataCount && dataCount.length > 0 ? dataCount[0].dataCount : 0;
return rtnObj; return rtnObj;
......
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