mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request 'Fix user, role app installations failing' (#445) from prathabanKavin/device-mgt-core:uuserrolefix into master
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/445
This commit is contained in:
commit
faefad1505
@ -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…
Reference in New Issue
Block a user