Commit bc96131c by 纪旭 韦

解决下载报错

parent 504d5033
......@@ -432,6 +432,8 @@ public List<dynamic> QueryComputeByDate(string viewName, DateTime beginTime, Dat
sql = $"select {string.Join(",", groupBy)}, {string.Join(",", sumBy.Select(t => $"sum({t}) {t}"))} from ({sql}) tab group by {string.Join(",", groupBy)}";
sql = $@" select 0 as count;{sql}";
if (pageNumber != 0 && pageSize != 0)
sql = $@" select count(1) count from ({sql}) tab;
{sql} limit {pageSize} offset {(pageNumber - 1)};";
......
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