| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -144,13 +144,20 @@ public class ProjectTraceServiceImpl implements ProjectTraceService { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								log.warn(ProjectConstant.NOT_EXIST_PROJECT); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								return new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<String> processIds = processList.stream().filter(f -> f.getIsSend().equals(NumConstant.ONE)).map(m -> m.getProcessId()).collect(Collectors.toList()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<SubProcessDTO> subProcess = projectSubProcessService.selectSubProcessAndAttachment(processIds); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// 是否发送到外部系统 0否 1是
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							processList.forEach(p -> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								if (p.getIsSend().equals(NumConstant.ONE)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									// 赋值 子节点
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									p.setSubProcess(projectSubProcessService.selectSubProcessAndAttachment(p.getProcessId())); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							if (!CollectionUtils.isEmpty(subProcess)){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								processList.forEach(p -> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									subProcess.forEach(s -> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										if (p.getProcessId().equals(s.getProcessId())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											List<SubProcessDTO> process = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											process.add(s); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											p.setSubProcess(process); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								}); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							// 查询进展附件列表
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<PublicAndInternalFileResultDTO> files = attachmentDao.selectAttachByProjectId(formDTO.getProjectId()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |