Bläddra i källkod

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

zhulu 10 månader sedan
förälder
incheckning
00d4ddd739

+ 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