new load recruits

This commit is contained in:
r.gaztdinov 2025-06-10 13:41:05 +03:00
parent e5319e4b95
commit c46e306618
289 changed files with 22883 additions and 23936 deletions

View file

@ -263,7 +263,7 @@ WHERE recording_date = current_date
<limit>0</limit>
<sql>SELECT
COALESCE(SUM(total_appeals), 0) total_appeals,
COALESCE(SUM(average_consideration), 0) average_consideration,
coalesce(ROUND(avg(average_consideration) FILTER (where average_consideration!=0),1),0) as average_consideration,
COALESCE(SUM(resolved), 0) resolved,
COALESCE(SUM(not_resolved), 0) not_resolved,
COALESCE(
@ -275,7 +275,7 @@ WHERE recording_date = current_date
0
) not_resolved_percent,
COALESCE(SUM(average_rating), 0) average_rating,
coalesce(ROUND(avg(average_rating) FILTER (where average_rating!=0),1),0) as average_rating,
COALESCE(
CASE
WHEN SUM(total_appeals) > 0