|
|
@ -4661,8 +4661,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
paginationResult.setRecordsTotal(0);
|
|
|
|
paginationResult.setRecordsTotal(0);
|
|
|
|
return paginationResult;
|
|
|
|
return paginationResult;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int count = deviceDAO.getSubscribedDeviceCount(devicesIds, tenantId, request.getStatusList());
|
|
|
|
//int count = deviceDAO.getSubscribedDeviceCount(devicesIds, tenantId, request.getStatusList());
|
|
|
|
paginationResult.setRecordsFiltered(count);
|
|
|
|
int count = deviceDAO.getSubscribedDeviceCountOfFilteredList();
|
|
|
|
|
|
|
|
paginationResult.setRecordsFiltered(subscribedDeviceDetails.size());
|
|
|
|
paginationResult.setRecordsTotal(count);
|
|
|
|
paginationResult.setRecordsTotal(count);
|
|
|
|
} catch (DeviceManagementDAOException e) {
|
|
|
|
} catch (DeviceManagementDAOException e) {
|
|
|
|
String msg = "Error occurred while retrieving device list for device ids " + devicesIds;
|
|
|
|
String msg = "Error occurred while retrieving device list for device ids " + devicesIds;
|
|
|
|