Skip to content

Commit

Permalink
HOTFIX: 삭제조건 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
oxdjww committed Nov 15, 2024
1 parent bf82b76 commit 333324c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public interface ApplicationRepository extends JpaRepository<Application, Long>
@Transactional
@Query("DELETE FROM Application a " +
"WHERE a.accept = 'UNMATCHED' " +
"AND (a.possibleDate.date < CURRENT_DATE " +
"OR (a.possibleDate.date = CURRENT_DATE AND a.possibleDate.startTime < CURRENT_TIME))")
"AND (a.possibleDate.date < CURRENT_DATE) ")
void deleteExpiredApplications();

}

0 comments on commit 333324c

Please sign in to comment.