diff --git a/docs/quick-view/fetch/export/dto.mdx b/docs/quick-view/fetch/export/dto.mdx index 962bf9299..587fb01ec 100644 --- a/docs/quick-view/fetch/export/dto.mdx +++ b/docs/quick-view/fetch/export/dto.mdx @@ -27,8 +27,8 @@ List books = bookRepository.findBooksByName( for (Book book : books) { System.out.println("--------"); System.out.println("Id: " + book.id()); - System.out.println("Name: " + book.id()); - System.out.println("Edition: " + book.id()); + System.out.println("Name: " + book.name()); + System.out.println("Edition: " + book.edition()); System.out.println("Price:" + book.price()); ❷ } ``` diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/quick-view/fetch/export/dto.mdx b/i18n/zh/docusaurus-plugin-content-docs/current/quick-view/fetch/export/dto.mdx index 11f06cdb2..9192b51e9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/quick-view/fetch/export/dto.mdx +++ b/i18n/zh/docusaurus-plugin-content-docs/current/quick-view/fetch/export/dto.mdx @@ -27,8 +27,8 @@ List books = bookRepository.findBooksByName( for (Book book : books) { System.out.println("--------"); System.out.println("Id: " + book.id()); - System.out.println("Name: " + book.id()); - System.out.println("Edition: " + book.id()); + System.out.println("Name: " + book.name()); + System.out.println("Edition: " + book.edition()); System.out.println("Price:" + book.price()); ❷ } ```