Fix issue in geofence creation

This commit is contained in:
Pahansith 2020-09-30 18:04:28 +05:30
parent 47dc8ec708
commit 5e98e816cf

View File

@ -53,7 +53,7 @@ public class GeofenceDAOImpl implements GeofenceDAO {
"CREATED_TIMESTAMP, " +
"OWNER, " +
"TENANT_ID) " +
"VALUES (?, ?, ?, ?, ?, ?, ?, ?)";
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
try (PreparedStatement stmt = conn.prepareStatement(sql)) {
stmt.setString(1, geofenceData.getFenceName());
stmt.setString(2, geofenceData.getDescription());