Skip to content

Commit

Permalink
Merge pull request #316 from WE-ARE-RACCOONS/RAC-436
Browse files Browse the repository at this point in the history
RAC-436 fix : μž¬κ°€μž… 15일 및 μ™„μ „νƒˆν‡΄ 30일둜 μˆ˜μ •
  • Loading branch information
ywj9811 authored Oct 2, 2024
2 parents d3b9124 + 6d68bfe commit 88fe559
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,18 @@ public boolean isRealDelete() {
this.isDelete
&&
this.updatedAt.isBefore(
now().minusMonths(3)
now().minusDays(15)
.atStartOfDay()
)
);
}

public boolean isHardDelete() {
return (
this.isDelete
&&
this.updatedAt.isBefore(
now().minusDays(30)
.atStartOfDay()
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class QuitManageUseCase {
public void updateRealDelete() {
userGetService.byDelete()
.stream()
.filter(User::isRealDelete)
.filter(User::isHardDelete)
.forEach(
user -> {
if (user.isSenior()) {
Expand Down

0 comments on commit 88fe559

Please sign in to comment.