|
|
@ -709,7 +709,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|
DeviceManagementDAOFactory.closeConnection();
|
|
|
|
DeviceManagementDAOFactory.closeConnection();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (requireDeviceInfo) {
|
|
|
|
if (requireDeviceInfo && !allDevices.isEmpty()) {
|
|
|
|
paginationResult.setData(getAllDeviceInfo(allDevices));
|
|
|
|
paginationResult.setData(getAllDeviceInfo(allDevices));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
paginationResult.setData(allDevices);
|
|
|
|
paginationResult.setData(allDevices);
|
|
|
|