Browse Source

产品推送接口

街道、社区、区直部门指标数据统计错误问题修改
ftature/screen
liuchuang 4 years ago
parent
commit
7600d793d9
  1. 8
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenIndexDataDao.xml

8
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/screen/ScreenIndexDataDao.xml

@ -497,9 +497,9 @@
IFNULL(round((t1.respProject / t1.transferedCount),2), 0.00) respProjectRatio,
IFNULL(t1.respProject, 0) respProjectRatioFz,
IFNULL(t1.transferedCount, 0) respProjectRatioFm,
IFNULL(round((t.closedProjectCount / (t1.transferedCount - t.closedProjectCount)),4)*100, 0.00) AS closedProjectRatio,
CASE WHEN t.closedProjectCount > t1.transferedCount THEN 100.00 ELSE IFNULL(round((t.closedProjectCount / t1.transferedCount),4)*100, 0.00) END AS closedProjectRatio,
IFNULL(CASE WHEN t.closedProjectCount > t1.transferedCount THEN t.closedProjectCount ELSE t1.transferedCount END, 0) AS closedProjectRatioFm,
IFNULL(t.closedProjectCount, 0) closedProjectRatioFz,
IFNULL((t1.transferedCount - t.closedProjectCount), 0) closedProjectRatioFm,
IFNULL(t.satisfactionRatio, 0.00) AS satisfactionRatio,
IFNULL(t.satisfactionRatioFz, 0) AS satisfactionRatioFz,
IFNULL(t.satisfactionRatioFm, 0) AS satisfactionRatioFm,
@ -578,9 +578,9 @@
IFNULL(round((t1.respProject / t1.transferedCount),2), 0.00) respProjectRatio,
IFNULL(t1.respProject, 0) respProjectRatioFz,
IFNULL(t1.transferedCount, 0) respProjectRatioFm,
IFNULL(round((t.closedProjectCount / (t1.transferedCount - t.closedProjectCount)),4)*100, 0.00) AS closedProjectRatio,
CASE WHEN t.closedProjectCount > t1.transferedCount THEN 100.00 ELSE IFNULL(round((t.closedProjectCount / t1.transferedCount),4)*100, 0.00) END AS closedProjectRatio,
IFNULL(CASE WHEN t.closedProjectCount > t1.transferedCount THEN t.closedProjectCount ELSE t1.transferedCount END, 0) AS closedProjectRatioFm,
IFNULL(t.closedProjectCount, 0) closedProjectRatioFz,
IFNULL((t1.transferedCount - t.closedProjectCount), 0) closedProjectRatioFm,
IFNULL(t.satisfactionRatio, 0.00) AS satisfactionRatio,
IFNULL(t.satisfactionRatioFz, 0) AS satisfactionRatioFz,
IFNULL(t.satisfactionRatioFm, 0) AS satisfactionRatioFm,

Loading…
Cancel
Save