chenshudong 1 ヶ月 前
コミット
bbc838269c
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      airport-attendance/src/main/resources/mapper/attendance/AttendancePostRecordMapper.xml

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