diff --git a/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceStatMapperExt.xml b/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceStatMapperExt.xml
index a4418c065d4fdc4e5d939843840e4b8f520dc721..fd7dea4793df5a635cbca8d7625afda86f0c8d37 100644
--- a/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceStatMapperExt.xml
+++ b/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceStatMapperExt.xml
@@ -47,7 +47,8 @@
         sum(s.vacancy) AS vacancy,
         sum(s.nonStandardDressTimes) AS nonStandardDressTimes,
         sum(s.unexcusedMeetingAbsence) AS unexcusedMeetingAbsence,
-        sum(s.earlyLeaveMeeting) AS earlyLeaveMeeting
+        sum(s.earlyLeaveMeeting) AS earlyLeaveMeeting,
+        sum(s.lateTimes) AS lateTimes
         FROM
         mortals_xhx_attendance_stat s
         WHERE
diff --git a/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml b/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml
index f4449e7e2859bf7fa34b8f83a155d8b530e26e1a..5ac8f9f9d201bdeb725461c57290ae3d4398885f 100644
--- a/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml
+++ b/attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceSummaryMapper.xml
@@ -100,7 +100,7 @@
         from
             mortals_xhx_attendance_record_error e INNER JOIN mortals_xhx_staff s ON e.staffId = s.id
         where
-            processResult != 4
+            processResult != 3
             and e.errorDateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{summaryTime},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
             and e.errorDateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{summaryTime},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
         <if test="staffId != null and staffId!=''"> AND e.staffId = #{staffId}</if>