Merge branch 'dev'
This commit is contained in:
commit
8cb99adfc4
|
@ -248,17 +248,6 @@ public class TAbilityApplicationController {
|
|||
.map(tAbilityApplicationDTO -> resourceService.get(Long.valueOf(tAbilityApplicationDTO.getResourceId()))).collect(Collectors.toList());
|
||||
List<HistoryDetailDTO> taskHandleDetailInfo = activitiService.getTaskHandleDetailInfo(tAbilityApplicationDTOList.get(0).getInstanceId());
|
||||
|
||||
taskHandleDetailInfo = taskHandleDetailInfo.stream().map(index_ -> { // 补充审核人部门名称
|
||||
if (StringUtils.isNumeric(index_.getAssignee())) {
|
||||
SysUserDTO userDTO = sysUserService.get(Long.valueOf(index_.getAssignee()));
|
||||
Optional<SysDeptDTO> sysDeptDTOOptional = Optional.ofNullable(sysDeptService.get(userDTO.getDeptId()));
|
||||
if (sysDeptDTOOptional.isPresent()) {
|
||||
index_.setAssigneeDeptName(sysDeptDTOOptional.get().getName());
|
||||
}
|
||||
}
|
||||
return index_;
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
List<Object> camera;
|
||||
ArrayList cameraList = new ArrayList();
|
||||
QueryWrapper<TAbilityApplicationEntity> queryWrapper = new QueryWrapper<>();
|
||||
|
@ -313,6 +302,17 @@ public class TAbilityApplicationController {
|
|||
}
|
||||
}
|
||||
|
||||
taskHandleDetailInfo = taskHandleDetailInfo.stream().map(index_ -> { // 补充审核人部门名称
|
||||
if (StringUtils.isNumeric(index_.getAssignee())) {
|
||||
SysUserDTO userDTO = sysUserService.get(Long.valueOf(index_.getAssignee()));
|
||||
Optional<SysDeptDTO> sysDeptDTOOptional = Optional.ofNullable(sysDeptService.get(userDTO.getDeptId()));
|
||||
if (sysDeptDTOOptional.isPresent()) {
|
||||
index_.setAssigneeDeptName(sysDeptDTOOptional.get().getName());
|
||||
}
|
||||
}
|
||||
return index_;
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
boolean finalBackToFirst = backToFirst;
|
||||
List<HistoryDetailDTO> finalTaskHandleDetailInfo = taskHandleDetailInfo;
|
||||
return new HashMap<String, Object>() {
|
||||
|
|
Loading…
Reference in New Issue