Windows getOpending operations fix

4.x.x
harshanl 8 years ago
parent 9d31590e83
commit 399ef2fc06

@ -811,7 +811,7 @@ public abstract class AbstractDeviceDAOImpl implements DeviceDAO {
stmt.setString(1, deviceId.getId()); stmt.setString(1, deviceId.getId());
stmt.setString(2, deviceId.getType()); stmt.setString(2, deviceId.getType());
stmt.setInt(3, tenantId); stmt.setInt(3, tenantId);
stmt.setInt(5, tenantId); stmt.setInt(4, tenantId);
rs = stmt.executeQuery(); rs = stmt.executeQuery();
if (rs.next()) { if (rs.next()) {
enrolmentInfo = DeviceManagementDAOUtil.loadEnrolment(rs); enrolmentInfo = DeviceManagementDAOUtil.loadEnrolment(rs);

Loading…
Cancel
Save