質問編集履歴
1
変数にミスが合ったので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
@Autowired
|
92
92
|
|
93
|
-
private TeacherRepository
|
93
|
+
private TeacherRepository teacher;
|
94
94
|
|
95
95
|
|
96
96
|
|
@@ -114,7 +114,7 @@
|
|
114
114
|
|
115
115
|
student.setSubject(student.getSubject());
|
116
116
|
|
117
|
-
|
117
|
+
teacher.insert(student);
|
118
118
|
|
119
119
|
}
|
120
120
|
|