-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from Team-Smeme/sohyeon_#194
[FIX] 회원이 임시 삭제한 일기 데이터 삭제
- Loading branch information
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
src/main/java/com/smeme/server/repository/diary/DeletedDiaryRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package com.smeme.server.repository.diary; | ||
|
||
import com.smeme.server.model.DeletedDiary; | ||
import com.smeme.server.model.Member; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
public interface DeletedDiaryRepository extends JpaRepository<DeletedDiary, Long> { | ||
void deleteByUpdatedAtBefore(LocalDateTime expiredAt); | ||
void deleteByMember(Member member); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters