chenshudong 1 mese fa
parent
commit
bbc838269c

+ 2 - 1
airport-attendance/src/main/resources/mapper/attendance/AttendancePostRecordMapper.xml

@@ -413,8 +413,9 @@
413
             attendance_team_id = #{attendanceTeamId}
413
             attendance_team_id = #{attendanceTeamId}
414
             AND attendance_date <= DATE(#{date})
414
             AND attendance_date <= DATE(#{date})
415
             AND (
415
             AND (
416
-            check_out_time >= #{date}
416
+            check_out_time IS NULL
417
             OR check_out_time = '2000-01-01 00:00:00'
417
             OR check_out_time = '2000-01-01 00:00:00'
418
+            OR check_out_time = ''
418
             )
419
             )
419
         </where>
420
         </where>
420
     </select>
421
     </select>