We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
雖然現在LeaveTimeBatchBuilder好像還沒有在自動執行 本來的目的應該是讓他自動去找誰60天後會滿週年,然後自動幫他重新算請假額度. (除非執行的時候硬把forced設成true)
scope :filter_by_join_date, ->(month, date) { where( '(EXTRACT(MONTH FROM join_date), EXTRACT(DAY FROM join_date)) = (:month, :date)', month: month, date: date ) }
這樣如果有人真的是2/29到職的話,閏年以外的年份上面那一段永遠不會把他撈出來
The text was updated successfully, but these errors were encountered:
No branches or pull requests
雖然現在LeaveTimeBatchBuilder好像還沒有在自動執行
本來的目的應該是讓他自動去找誰60天後會滿週年,然後自動幫他重新算請假額度.
(除非執行的時候硬把forced設成true)
這樣如果有人真的是2/29到職的話,閏年以外的年份上面那一段永遠不會把他撈出來
The text was updated successfully, but these errors were encountered: