Skip to content

Commit

Permalink
fix: reverse scheduler logic from true->false due to changed field na…
Browse files Browse the repository at this point in the history
…me (#54)
  • Loading branch information
Ji-soo708 authored Jan 23, 2025
1 parent 1610779 commit 6a6fb1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ class ExperimentPostCustomRepositoryImpl (
val experimentPost = QExperimentPostEntity.experimentPostEntity

return jpaQueryFactory.update(experimentPost)
.set(experimentPost.recruitStatus, true)
.set(experimentPost.recruitStatus, false)
.where(
experimentPost.endDate.lt(currentDate)
.and(experimentPost.recruitStatus.eq(false))
.and(experimentPost.recruitStatus.eq(true))
)
.execute()
}
Expand Down

0 comments on commit 6a6fb1f

Please sign in to comment.