Skip to content

Commit

Permalink
Merge pull request #151 from YAPP-19th/feature/#10-북마크API
Browse files Browse the repository at this point in the history
[#132] fix : compile error fix
  • Loading branch information
Ji-Ha authored Jun 25, 2022
2 parents 3803846 + 08b3bec commit 52b5a03
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package com.yapp.web2.domain.bookmark.repository

import com.yapp.web2.domain.bookmark.entity.BookmarkInterface
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.stereotype.Repository

@Repository
interface BookmarkInterfaceRepository : MongoRepository<BookmarkInterface, String>{
fun findBookmarkInterfaceById(id: String): BookmarkInterface?
fun deleteAllByParentBookmarkId(parentBookmarkId: String)
fun deleteAllByParentBookmarkId(parentBookmarkIdList: List<String>)
fun deleteByParentBookmarkIdAndUserId(parentBookmarkId: String, userId: Long)
fun findAllByParentBookmarkId(bookmarkId: String): List<BookmarkInterface>
fun findAllByFolderId(folderId: Long): List<BookmarkInterface>?

// page 조회
Expand Down

0 comments on commit 52b5a03

Please sign in to comment.