mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing response duplicate issue
This commit is contained in:
parent
8819c6e36b
commit
efa74030b4
@ -412,7 +412,9 @@ public class GenericOperationDAOImpl implements OperationDAO {
|
||||
activity.getActivityStatus().add(activityStatus);
|
||||
|
||||
enrolmentId = rs.getInt("ENROLMENT_ID");
|
||||
} else {
|
||||
}
|
||||
|
||||
if (operationId == rs.getInt("OPERATION_ID") && enrolmentId == rs.getInt("ENROLMENT_ID")){
|
||||
if (rs.getTimestamp("RECEIVED_TIMESTAMP") != (null)) {
|
||||
activityStatus.getResponses().add(this.getOperationResponse(rs));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user