Merge branch 'master' into docker_package
This commit is contained in:
commit
c67274cf51
|
@ -275,7 +275,7 @@ public class TAbilityApplicationController {
|
|||
if (tAbilityApplicationDTOList.get(0).getApproveStatus().equals("审核中")) { // 若处于审核中时 增加当前节点信息
|
||||
Task task = taskService.createTaskQuery().processInstanceId(tAbilityApplicationDTOList.get(0).getInstanceId()).active().includeProcessVariables().singleResult();
|
||||
if (task != null && StringUtils.isNotEmpty(task.getId()) && StringUtils.isNumeric(task.getAssignee())) {
|
||||
HistoryDetailDTO detailDTO = new HistoryDetailDTO();
|
||||
final HistoryDetailDTO detailDTO = new HistoryDetailDTO();
|
||||
detailDTO.setId(task.getId());
|
||||
detailDTO.setAssignee(sysUserService.get(Long.valueOf(task.getAssignee())).getRealName());
|
||||
detailDTO.setActivityName(task.getName());
|
||||
|
@ -285,7 +285,11 @@ public class TAbilityApplicationController {
|
|||
detailDTO.setDurationInSeconds(null);
|
||||
detailDTO.setExecutionId(task.getExecutionId());
|
||||
detailDTO.setProcessDefinitionId(task.getProcessDefinitionId());
|
||||
detailDTO.setComment("待审核");
|
||||
final List<HistoryDetailDTO> taskHandleDetailInfo_ = taskHandleDetailInfo;
|
||||
taskHandleDetailInfo.clear();
|
||||
taskHandleDetailInfo.add(detailDTO);
|
||||
taskHandleDetailInfo.addAll(taskHandleDetailInfo_);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue