chenshudong 1 місяць тому
батько
коміт
bbc838269c

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

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