mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420
This commit is contained in:
commit
dc3a9e868b
@ -584,6 +584,8 @@ public abstract class AbstractEnrollmentDAOImpl implements EnrollmentDAO {
|
||||
while (rs.next()) {
|
||||
if (ownerDetails.getUserName() == null) {
|
||||
ownerDetails.setUserName(rs.getString("OWNER"));
|
||||
ownerDetails.setDeviceStatus(rs.getString("DEVICE_STATUS"));
|
||||
ownerDetails.setDeviceNames(rs.getString("DEVICE_NAME"));
|
||||
}
|
||||
deviceIds.add(rs.getInt("DEVICE_ID"));
|
||||
deviceCount++;
|
||||
@ -597,8 +599,6 @@ public abstract class AbstractEnrollmentDAOImpl implements EnrollmentDAO {
|
||||
}
|
||||
|
||||
ownerDetails.setDeviceIds(deviceIds);
|
||||
ownerDetails.setDeviceStatus("DEVICE_STATUS");
|
||||
ownerDetails.setDeviceNames("DEVICE_NAME");
|
||||
ownerDetails.setDeviceTypes("DEVICE_TYPE");
|
||||
ownerDetails.setDeviceIdentifiers("DEVICE_IDENTIFICATION");
|
||||
ownerDetails.setDeviceCount(deviceCount);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user