|
@@ -50,7 +50,7 @@ public class PersonService {
|
50
|
50
|
public void update(Person p) {
|
51
|
51
|
Object[] info = {p.getFirstName(), p.getLastName(), p.getMobile(), p.getBirthday(), p.getHomeId()};
|
52
|
52
|
jdbcTemplate.update(
|
53
|
|
- "UPDATE person set first_name = ?, last_name ?, mobile = ?, birthday = ?, home_ID = ?" +
|
|
53
|
+ "update person set first_name = ?, last_name ?, mobile = ?, birthday = ?, home_ID = ?" +
|
54
|
54
|
"VALUES (?, ?, ?, ?, ?)", info, types);
|
55
|
55
|
}
|
56
|
56
|
|