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