Skip to content

Commit

Permalink
Update concept.mdx
Browse files Browse the repository at this point in the history
Spring篇>Spring Data风格>定义RepositoryBookStoreRepository示例代码有误
  • Loading branch information
SparrowAndSnow authored Dec 19, 2024
1 parent 25cc071 commit aae1878
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Jimmer整合了spring data,为Java用户和Kotlin用户各自提供了一个Re

import org.babyfish.jimmer.spring.repository.JRepository;

public interface BookRepository extends JRepository<BookStore, Long> {}
public interface BookStoreRepository extends JRepository<BookStore, Long> {}
```

</TabItem>
Expand All @@ -51,7 +51,7 @@ Jimmer整合了spring data,为Java用户和Kotlin用户各自提供了一个Re

import org.babyfish.jimmer.spring.repository.KRepository

interface BookRepository : KRepository<BookStore, Long>
interface BookStoreRepository : KRepository<BookStore, Long>
```

</TabItem>
Expand Down

0 comments on commit aae1878

Please sign in to comment.