回答編集履歴
1
add comment
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
BookBean book = new BookBean();
|
12
12
|
|
13
|
-
book = bookservice.referBookInfo(bookID);
|
13
|
+
book = bookservice.referBookInfo(bookID);//BookService.javaで定義
|
14
14
|
|
15
15
|
model.addAttribute("book", book);
|
16
16
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
PublisherBean publisher = new PublisherBean();
|
22
22
|
|
23
|
-
publisher = bookservice.getPublisherInfoFromBookBean(book);
|
23
|
+
publisher = bookservice.getPublisherInfoFromBookBean(book); //BookService.javaで定義
|
24
24
|
|
25
25
|
model.addAttribute("publisher", publisher);
|
26
26
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
DepartmentBean department = new DepartmentBean();
|
30
30
|
|
31
|
-
department = bookservice.getDepartmentInfoFromBookBean(book);
|
31
|
+
department = bookservice.getDepartmentInfoFromBookBean(book);//BookService.javaで定義
|
32
32
|
|
33
33
|
model.addAttribute("department", department);
|
34
34
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
UserBean user = new UserBean();
|
38
38
|
|
39
|
-
user = bookservice.getUserInfoFromBookBean(book);
|
39
|
+
user = bookservice.getUserInfoFromBookBean(book);//BookService.javaで定義
|
40
40
|
|
41
41
|
model.addAttribute("user", user);
|
42
42
|
|