Fix EVENT_REVOKE operation is not being sent after geofence delete

pull/397/head
Pramila Niroshan 6 months ago
parent 03d6a145d8
commit 14580b5f5f

@ -626,6 +626,9 @@ public class GenericGeofenceDAOImpl extends AbstractGeofenceDAOImpl {
geofenceData.setGroupData(groupMap); geofenceData.setGroupData(groupMap);
} }
} }
if (geofenceData != null) {
geofenceData.setGroupIds(new ArrayList<>(groupMap.keySet()));
}
return geofenceData; return geofenceData;
} }
} catch (SQLException e) { } catch (SQLException e) {

@ -157,6 +157,9 @@ public class SQLServerGeofenceDAOImpl extends AbstractGeofenceDAOImpl {
geofenceData.setFenceShape(rst.getString("FENCE_SHAPE")); geofenceData.setFenceShape(rst.getString("FENCE_SHAPE"));
geofenceData.setGroupData(groupMap); geofenceData.setGroupData(groupMap);
} }
if (geofenceData != null) {
geofenceData.setGroupIds(new ArrayList<>(groupMap.keySet()));
}
return geofenceData; return geofenceData;
} }
} }

Loading…
Cancel
Save