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

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

jingyuanchao преди 1 година
родител
ревизия
704742bbaa
променени са 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

@@ -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