|
|
|
@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
|
|
|
|
( |
|
|
|
( |
|
|
|
select |
|
|
|
select |
|
|
|
CONCAT(COALESCE(ROUND(sum(COALESCE(b.resolved, 0))*100/SUM(CASE WHEN b.completed = '1' THEN 1 ELSE 0 END),0),0),'%') Rate, |
|
|
|
CONCAT(COALESCE(ROUND(sum(COALESCE(b.resolved, 0))*100/NULLIF(SUM(CASE WHEN b.completed = '1' THEN 1 ELSE 0 END),0),0),0),'%') Rate, |
|
|
|
COALESCE(SUM(COALESCE(b.resolved, 0)),0) resolved,COALESCE(SUM(CASE WHEN b.completed = '1' THEN 1 ELSE 0 END),0) rSum, |
|
|
|
COALESCE(SUM(COALESCE(b.resolved, 0)),0) resolved,COALESCE(SUM(CASE WHEN b.completed = '1' THEN 1 ELSE 0 END),0) rSum, |
|
|
|
count(b.mail_id) AS total2 |
|
|
|
count(b.mail_id) AS total2 |
|
|
|
|
|
|
|
|
|
|
|
|