소스 검색

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

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