processDefId = process.getId();
}
}
if (packageId != null || processDefId != null) {
DataListQueryParam param = dataList.getQueryParam(null, null);
// get assignments
WorkflowManager workflowManager = (WorkflowManager) WorkflowUtil.getApplicationContext().getBean("workflowManager");
PagedList<WorkflowAssignment> assignmentList = workflowManager.getAssignmentPendingAndAcceptedList(packageId, processDefId, null, param.getSort(), param.getDesc(), param.getStart(), param.getSize());
DirectoryManager directoryManager = (DirectoryManager) AppUtil.getApplicationContext().getBean("directoryManager");
WorkflowUserManager workflowUserManager = (WorkflowUserManager) AppUtil.getApplicationContext().getBean("workflowUserManager");
User user = directoryManager.getUserByUsername(workflowUserManager.getCurrentUsername());
String gmt = "";