|
|
@ -9,11 +9,11 @@ |
|
|
|
agency_id AS "agencyId", |
|
|
|
project_total AS "projectTotal", |
|
|
|
DATE_FORMAT(date_id, '%Y.%m.%d') AS "dateName", |
|
|
|
pending_total AS "pendingTotal", |
|
|
|
IFNULL(pending_total,0) AS "pendingTotal", |
|
|
|
/*CAST(pending_ratio AS DECIMAL (9, 2)) AS "pendingRatioInt",*/ |
|
|
|
pending_ratio AS "pendingRatioInt", |
|
|
|
closed_total AS "closedTotal", |
|
|
|
closed_ratio AS "closedRatioInt" |
|
|
|
IFNULL(pending_ratio,0) AS "pendingRatioInt", |
|
|
|
IFNULL(closed_total,0) AS "closedTotal", |
|
|
|
IFNULL(closed_ratio,0) AS "closedRatioInt" |
|
|
|
FROM |
|
|
|
fact_agency_project_daily |
|
|
|
WHERE |
|
|
|