質問編集履歴

1

文章の修正

2019/05/30 08:17

投稿

usako
usako

スコア31

test CHANGED
File without changes
test CHANGED
@@ -552,7 +552,7 @@
552
552
 
553
553
  public List<Map<String, Object>> selectEmployee(String id) {
554
554
 
555
- List<Map<String, Object>> list1 = jdbcTemplate.queryForList("select * from unit02.addressbook where id = '200101'");
555
+ List<Map<String, Object>> list1 = jdbcTemplate.queryForList("select * from unit02.addressbook where id = ?");
556
556
 
557
557
  return list1;
558
558