| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -626,7 +626,9 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (buildResult.isSuccess()) { | 
					 | 
					 | 
					 | 
					        if (buildResult.isSuccess()) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            // 所属机构回传
 | 
					 | 
					 | 
					 | 
					            // 所属机构回传
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            R<Dept> deptByStation = sysClient.getDeptByStation(request.getStationId(), AuthUtil.getTenantId()); | 
					 | 
					 | 
					 | 
					            R<Dept> deptByStation = sysClient.getDeptByStation(request.getStationId(), AuthUtil.getTenantId()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            stationEntity.setRefDept(Optional.ofNullable(deptByStation).map(R::getData).map(Dept::getId).orElse(null)); | 
					 | 
					 | 
					 | 
					            Long deptId = Optional.ofNullable(deptByStation).map(R::getData).map(Dept::getId).orElse(null); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            stationEntity.setRefDept(deptId); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            stationEntity.setCreateDept(deptId); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return buildResult.isSuccess(); | 
					 | 
					 | 
					 | 
					        return buildResult.isSuccess(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |