|
|
@@ -83,7 +83,7 @@
|
|
|
COUNT( c.id )= 0
|
|
|
OR IFNULL( a.exception_count, 0 )= 0,
|
|
|
'0%',
|
|
|
- CONCAT( COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100, '%' )) AS realityRectificationRate
|
|
|
+ CONCAT( ROUND( COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100, 2 ), '%' )) AS realityRectificationRate
|
|
|
FROM
|
|
|
core_resumption a
|
|
|
LEFT JOIN core_resumption_plan b ON a.plan_id = b.id
|
|
|
@@ -122,7 +122,7 @@
|
|
|
COUNT( c.id )= 0
|
|
|
OR IFNULL( a.exception_count, 0 )= 0,
|
|
|
'0%',
|
|
|
- CONCAT( COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100, '%' )) AS realityRectificationRate
|
|
|
+ CONCAT(ROUND(COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100,2) , '%' )) AS realityRectificationRate
|
|
|
FROM
|
|
|
core_resumption a
|
|
|
LEFT JOIN core_resumption_plan b ON a.plan_id = b.id
|
|
|
@@ -161,7 +161,7 @@
|
|
|
COUNT( c.id )= 0
|
|
|
OR IFNULL( a.exception_count, 0 )= 0,
|
|
|
'0%',
|
|
|
- CONCAT( COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100, '%' )) AS realityRectificationRate
|
|
|
+ CONCAT(ROUND(COUNT( c.id )/ IFNULL( a.exception_count, 0 )* 100,2) , '%' )) AS realityRectificationRate
|
|
|
FROM
|
|
|
core_resumption a
|
|
|
LEFT JOIN core_resumption_plan b ON a.plan_id = b.id
|