diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 032cbfc1..f9976885 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -159,7 +159,7 @@ public class dbWarehouseHandler extends dbHandlerBase { try (Connection connection = DbManager.getConnection(); PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_workorders` (`workorderID`, `workorder`) VALUES (?, ?) " + - "ON DUPLICATE KEY UPDATE `workoder` = VALUES(`workoder`)")) { + "ON DUPLICATE KEY UPDATE `workorder` = VALUES(`workorder`)")) { preparedStatement.setInt(1, workOrder.workOrderID); preparedStatement.setString(2, warehouseJSON.toString());