Commit a8a90b8d by 庄冰

aaa

parent ca96fd35
...@@ -101,7 +101,7 @@ class MediaaggregationDao extends Dao { ...@@ -101,7 +101,7 @@ class MediaaggregationDao extends Dao {
rows: [] rows: []
}; };
var countSql = "select count(1) as dataCount from mc_product_type where deleted_at is null and p_id = 0 order by sequence asc"; var countSql = "select count(1) as dataCount from mc_product_type where deleted_at is null and p_id = 0 order by sequence asc";
var sql = "select * from mc_product_type where deleted_at is null and p_id = 0 order by sequence desc"; var sql = "select * from mc_product_type where deleted_at is null and p_id = 0 order by sequence asc";
var optionType = "get"; var optionType = "get";
var functionName = "productTypeFirst"; var functionName = "productTypeFirst";
var returnRes = this.redisInfo(sql, countSql, optionType, functionName); var returnRes = this.redisInfo(sql, countSql, optionType, functionName);
......
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