This commit is contained in:
zt
2025-04-01 13:39:58 +08:00
parent 379ce97ab5
commit 621a97588c

View File

@ -151,7 +151,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and (wa.late = 0 and wa.early_leave = 0 and wa.missed_in = 0 and wa.missed_out = 0) and leave_mark_id is null and (wa.late = 0 and wa.early_leave = 0 and wa.missed_in = 0 and wa.missed_out = 0) and leave_mark_id is null
</if> </if>
<if test="dto.attendanceType !=null and dto.attendanceType ==2 "> <if test="dto.attendanceType !=null and dto.attendanceType ==2 ">
AND ((wa.late = 1 OR wa.missed_in = 1 OR wa.early_leave = 1 OR wa.missed_out = 1) AND ((wa.id is null OR wa.late = 1 OR wa.missed_in = 1 OR wa.early_leave = 1 OR wa.missed_out = 1)
AND leave_mark_id IS NULL) AND leave_mark_id IS NULL)
</if> </if>
<if test="dto.attendanceType !=null and dto.attendanceType ==3 "> <if test="dto.attendanceType !=null and dto.attendanceType ==3 ">