|
|
|
@ -210,7 +210,7 @@ public class dbCityHandler extends dbHandlerBase { |
|
|
|
public boolean updateSiegesWithstood(City city, int value) { |
|
|
|
public boolean updateSiegesWithstood(City city, int value) { |
|
|
|
|
|
|
|
|
|
|
|
try (Connection connection = DbManager.getConnection(); |
|
|
|
try (Connection connection = DbManager.getConnection(); |
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("UPDATE `obj_city` SET `name`=?" |
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("UPDATE `obj_city` SET `siegesWithstood`=?" |
|
|
|
+ " WHERE `UID` = ?")) { |
|
|
|
+ " WHERE `UID` = ?")) { |
|
|
|
|
|
|
|
|
|
|
|
preparedStatement.setInt(1, value); |
|
|
|
preparedStatement.setInt(1, value); |
|
|
|
|