Sfoglia il codice sorgente

quick commit before revert

Trinh Tong 6 anni fa
parent
commit
79a29bc819

+ 1
- 1
src/main/java/io/zipcoder/persistenceapp/service/PersonService.java Vedi File

@@ -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