Эх сурвалжийг харах

履职离行巡检报表隐患异常统计错误处理

jingyuanchao 1 жил өмнө
parent
commit
704742bbaa

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

@@ -227,7 +227,7 @@
     <select id="selectServiceBankReport"
             resultType="com.xunmei.core.reportForms.resumption.vo.LhSelfBankInspectionReport">
         SELECT
-        IFNULL( a.exception_count, 0 ) AS abnormalNumber,
+        sum(IFNULL( a.exception_count, 0 )) AS abnormalNumber,
         COUNT( a.id ) AS planNumber,
         IFNULL( SUM( IF ( a.`status` = 3, 1, 0 )), 0 ) AS realityNumber,
         IF