mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing the activity Id issue
This commit is contained in:
parent
cc6883d955
commit
a04300b3b6
@ -283,8 +283,8 @@ public class GenericOperationDAOImpl implements OperationDAO {
|
|||||||
ActivityStatus activityStatus = null;
|
ActivityStatus activityStatus = null;
|
||||||
|
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
activity = new Activity();
|
|
||||||
if (enrolmentId == 0) {
|
if (enrolmentId == 0) {
|
||||||
|
activity = new Activity();
|
||||||
activity.setType(Activity.Type.valueOf(rs.getString("OPERATION_TYPE")));
|
activity.setType(Activity.Type.valueOf(rs.getString("OPERATION_TYPE")));
|
||||||
activity.setCreatedTimeStamp(new java.util.Date(rs.getLong(("CREATED_TIMESTAMP"))).toString());
|
activity.setCreatedTimeStamp(new java.util.Date(rs.getLong(("CREATED_TIMESTAMP"))).toString());
|
||||||
activity.setCode(rs.getString("OPERATION_CODE"));
|
activity.setCode(rs.getString("OPERATION_CODE"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user