@ -121,13 +121,12 @@ public class GroupBasedSubscriptionManagementHelperServiceImpl implements Subscr
} else {
groupDetailsDTO = groupManagementProviderService . getGroupDetailsWithDevices ( subscriptionInfo . getIdentifier ( ) ,
applicationDTO . getDeviceTypeId ( ) , deviceSubscriptionFilterCriteria . getOwner ( ) , deviceSubscriptionFilterCriteria . getName ( ) ,
deviceSubscriptionFilterCriteria . getDeviceStatus ( ) , offset , limit ) ;
List < Integer > p aginatedDeviceIdsOwnByGroup = groupDetailsDTO . getDeviceIds ( ) ;
deviceSubscriptionFilterCriteria . getDeviceStatus ( ) , - 1 , - 1 ) ;
List < Integer > nonP aginatedDeviceIdsOwnByGroup = groupDetailsDTO . getDeviceIds ( ) ;
deviceSubscriptionDTOS = subscriptionDAO . getSubscriptionDetailsByDeviceIds ( applicationReleaseDTO . getId ( ) ,
isUnsubscribe , tenantId , p aginatedDeviceIdsOwnByGroup, dbSubscriptionStatus ,
isUnsubscribe , tenantId , nonP aginatedDeviceIdsOwnByGroup, dbSubscriptionStatus ,
null , deviceSubscriptionFilterCriteria . getTriggeredBy ( ) , - 1 , - 1 ) ;
}
deviceCount = SubscriptionManagementHelperUtil . getTotalDeviceSubscriptionCount ( deviceSubscriptionDTOS ,
subscriptionInfo . getDeviceSubscriptionFilterCriteria ( ) , applicationDTO . getDeviceTypeId ( ) ) ;