Преглед на файлове

解决 离行履职 整改率计算错误的问题

zhulu преди 10 месеца
родител
ревизия
00d4ddd739
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      soc-modules/soc-modules-core/src/main/resources/mapper/reportForms/ResumptionReportMapper.xml

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/reportForms/ResumptionReportMapper.xml

@@ -248,7 +248,7 @@
         SUM( a.exception_reform_count )= 0
         OR IFNULL( a.exception_count, 0 )= 0,
         '0.00%',
-        CONCAT(ROUND(SUM( a.exception_reform_count )/ IFNULL( a.exception_count, 0 )* 100,2) , '%' )) AS realityRectificationRate
+        CONCAT(ROUND(SUM( a.exception_reform_count )/ SUM(IFNULL( a.exception_count, 0 ))* 100,2) , '%' )) AS realityRectificationRate
         FROM
         (
             SELECT