Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ncov
/
back
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
lintry
2020-04-03 18:40:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
62ed425b574e4811c6a6600d66e20833052bf4c2
62ed425b
1 parent
cf296e58
debug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/routers/c/info_action.js
server/routers/c/info_action.js
View file @
62ed425
...
...
@@ -68,8 +68,8 @@ module.exports = function (dbo) {
, summ as (
select country_name, today, sum(confirmed_count) confirmed_sum, sum(increase) increase
from rpt
group by 1,2
where province != '中国'
group by 1,2
order by country_name, confirmed_sum desc
)
select country_name, province, max(confirmed_count) max_count, jsonb_agg(today order by today) days, jsonb_agg(confirmed_count order by today) confirmed_counts,
...
...
Please
register
or
login
to post a comment