|
|
@ -160,7 +160,6 @@ public class ReportManagementServiceImpl implements ReportManagementService {
|
|
|
|
public PaginationResult getDevicesExpiredByOSVersion(PaginationRequest request)
|
|
|
|
public PaginationResult getDevicesExpiredByOSVersion(PaginationRequest request)
|
|
|
|
throws ReportManagementException, DeviceTypeNotFoundException {
|
|
|
|
throws ReportManagementException, DeviceTypeNotFoundException {
|
|
|
|
if (request == null ||
|
|
|
|
if (request == null ||
|
|
|
|
StringUtils.isBlank(request.getDeviceType()) ||
|
|
|
|
|
|
|
|
StringUtils.isBlank(request.getDeviceType()) ||
|
|
|
|
StringUtils.isBlank(request.getDeviceType()) ||
|
|
|
|
!request.getProperties().containsKey(Constants.OS_BUILD_DATE) ||
|
|
|
|
!request.getProperties().containsKey(Constants.OS_BUILD_DATE) ||
|
|
|
|
(Long) request.getProperty(Constants.OS_BUILD_DATE) == 0) {
|
|
|
|
(Long) request.getProperty(Constants.OS_BUILD_DATE) == 0) {
|
|
|
|