Fix user, role app installations failing

geofence-revoke-fix
prathabanKavin 5 months ago
parent 99e7d12ab7
commit 9a99b5804f

@ -982,7 +982,7 @@ public abstract class AbstractDeviceDAOImpl implements DeviceDAO {
+ "e.TENANT_ID = ? AND " + "e.TENANT_ID = ? AND "
+ "LOWER(e.OWNER) = LOWER(?) AND " + "LOWER(e.OWNER) = LOWER(?) AND "
+ "e.STATUS IN (", + "e.STATUS IN (",
")) e1 ORDER BY e1.DATE_OF_LAST_UPDATE DESC"); ")) e1 WHERE d.ID = e1.DEVICE_ID ORDER BY e1.DATE_OF_LAST_UPDATE DESC");
deviceStatuses.stream().map(ignored -> "?").forEach(joiner::add); deviceStatuses.stream().map(ignored -> "?").forEach(joiner::add);
String query = joiner.toString(); String query = joiner.toString();

Loading…
Cancel
Save