| | |
| | | List<AttendanceGoOut> checkCreateUpdateTime(String startTime, String endTime, Long userId, Set<Long> ids); |
| | | |
| | | // 查询外出记录 |
| | | @Query(value = "SELECT * from attendance_go_out where user_id = ?1 and out_start_time <= ?2 and out_end_time >= ?3 and approval_status in ('go_out_approve_status_agree')", nativeQuery = true) |
| | | @Query(value = "SELECT * FROM attendance_go_out WHERE user_id = ?1 AND out_start_time <= ?3 AND out_end_time >= ?2 AND approval_status IN ('go_out_approve_status_agree')", nativeQuery = true) |
| | | List<AttendanceGoOut> findByUserAndDate(Long userId, LocalDateTime startDate, LocalDateTime endDate); |
| | | } |