|  |  | @ -74,7 +74,7 @@ public class ScreenProjectSettleServiceImpl implements ScreenProjectSettleServic | 
			
		
	
		
			
				
					|  |  |  | 		int rows = screenProjectDataService.checkIfExisted(param.getCustomerId()); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 		List<ScreenProjectDataDTO> metaData = | 
			
		
	
		
			
				
					|  |  |  | 				originMainService.initNewScreenProjectData(param.getCustomerId(), rows , param.getDateId()); | 
			
		
	
		
			
				
					|  |  |  | 				originMainService.initNewScreenProjectData(param.getCustomerId(), rows , param.getDateId(), param.getProjectId()); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 		if(!CollectionUtils.isEmpty(metaData)) { | 
			
		
	
		
			
				
					|  |  |  | 			// 查询项目信息
 | 
			
		
	
	
		
			
				
					|  |  | @ -135,6 +135,7 @@ public class ScreenProjectSettleServiceImpl implements ScreenProjectSettleServic | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 		ScreenProjectDataDTO orientCase = new ScreenProjectDataDTO(); | 
			
		
	
		
			
				
					|  |  |  | 		orientCase.setCustomerId(param.getCustomerId()); | 
			
		
	
		
			
				
					|  |  |  | 		orientCase.setProjectId( param.getProjectId()); | 
			
		
	
		
			
				
					|  |  |  | 		//待更新的数据 需要检测更新的字段为:①projectStatusCode    ②closeCaseTime    ③allCategoryName    ④projectLevel
 | 
			
		
	
		
			
				
					|  |  |  | 		List<ScreenProjectDataDTO> orientData = | 
			
		
	
		
			
				
					|  |  |  | 				screenProjectDataService.getPending(orientCase,param.getDateId()); | 
			
		
	
	
		
			
				
					|  |  | @ -188,7 +189,8 @@ public class ScreenProjectSettleServiceImpl implements ScreenProjectSettleServic | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 		//
 | 
			
		
	
		
			
				
					|  |  |  | 		List<ScreenProjectProcessDTO> processes = processService.buildNewScreenProjectProcessData(param.getCustomerId(), param.getDateId(),!screenProjectProcessService.checkIfHistoricalDataExists(param.getCustomerId())); | 
			
		
	
		
			
				
					|  |  |  | 		List<ScreenProjectProcessDTO> processes = processService.buildNewScreenProjectProcessData(param.getCustomerId(), param.getDateId(), | 
			
		
	
		
			
				
					|  |  |  | 				!screenProjectProcessService.checkIfHistoricalDataExists(param.getCustomerId()), param.getProjectId()); | 
			
		
	
		
			
				
					|  |  |  | 		if(!CollectionUtils.isEmpty(processes)){ | 
			
		
	
		
			
				
					|  |  |  | 			screenProjectProcessService.insertBatch(processes,param.getCustomerId(),param.getDateId()); | 
			
		
	
		
			
				
					|  |  |  | 			List<ScreenProjectProcessAttachmentDTO> attachments = processService.buildProcessAttachmentData(processes.stream().map(ScreenProjectProcessDTO::getProcessId).distinct().collect(Collectors.toList())); | 
			
		
	
	
		
			
				
					|  |  | 
 |