|
|
@@ -182,13 +182,13 @@
|
|
|
),
|
|
|
'%'
|
|
|
)) AS realityRate,
|
|
|
- IFNULL(SUM( c.exception_reform_count ),0) AS realityRectificationNumber,
|
|
|
+ IFNULL(SUM( a.exception_reform_count ),0) AS realityRectificationNumber,
|
|
|
IF
|
|
|
(
|
|
|
- COUNT( c.exception_reform_count )= 0
|
|
|
+ COUNT( a.exception_reform_count )= 0
|
|
|
OR IFNULL( a.exception_count, 0 )= 0,
|
|
|
'0%',
|
|
|
- CONCAT(ROUND(COUNT( c.exception_reform_count )/ IFNULL( a.exception_count, 0 )* 100,2) , '%' )) AS realityRectificationRate
|
|
|
+ CONCAT(ROUND(COUNT( a.exception_reform_count )/ IFNULL( a.exception_count, 0 )* 100,2) , '%' )) AS realityRectificationRate
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|