| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -20,6 +20,7 @@ import lombok.AllArgsConstructor; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import lombok.extern.slf4j.Slf4j; | 
					 | 
					 | 
					 | 
					import lombok.extern.slf4j.Slf4j; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springblade.core.log.exception.ServiceException; | 
					 | 
					 | 
					 | 
					import org.springblade.core.log.exception.ServiceException; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springblade.core.log.logger.BladeLogger; | 
					 | 
					 | 
					 | 
					import org.springblade.core.log.logger.BladeLogger; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.springblade.core.secure.utils.AuthUtil; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springblade.core.tool.api.R; | 
					 | 
					 | 
					 | 
					import org.springblade.core.tool.api.R; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springblade.core.tool.utils.Func; | 
					 | 
					 | 
					 | 
					import org.springblade.core.tool.utils.Func; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springblade.core.tool.utils.StringUtil; | 
					 | 
					 | 
					 | 
					import org.springblade.core.tool.utils.StringUtil; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -51,13 +52,16 @@ public class FdpQuestionServiceImpl implements IFdpQuestionService { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							R<StationEntity> stationResult = stationClient.getStationByCode(stationCode); | 
					 | 
					 | 
					 | 
							R<StationEntity> stationResult = stationClient.getStationByCode(stationCode); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							if(stationResult.isSuccess()) { | 
					 | 
					 | 
					 | 
							if(stationResult.isSuccess()) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								StationEntity stationEntity = stationResult.getData(); | 
					 | 
					 | 
					 | 
								StationEntity stationEntity = stationResult.getData(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
								log.info("请求体为:{}",AuthUtil.getTenantId()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								StationInfoReq infoReq = StationInfoReq.builder() | 
					 | 
					 | 
					 | 
								StationInfoReq infoReq = StationInfoReq.builder() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.stationId(stationCode) | 
					 | 
					 | 
					 | 
										.stationId(stationCode) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.stationName(stationEntity.getName()) | 
					 | 
					 | 
					 | 
										.stationName(stationEntity.getName()) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.type(this.getStationType(stationEntity.getType())) | 
					 | 
					 | 
					 | 
										.type(this.getStationType(stationEntity.getType())) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.stationDesc(Optional.ofNullable(stationDesc).orElse("")) | 
					 | 
					 | 
					 | 
										.stationDesc(Optional.ofNullable(stationDesc).orElse("")) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
										.tenantId("200000") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									.build(); | 
					 | 
					 | 
					 | 
									.build(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
								if(Func.isNotEmpty(infoReq.getType())) { | 
					 | 
					 | 
					 | 
								if(Func.isNotEmpty(infoReq.getType())) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
									log.info("请求体为:{}",JSON.toJSONString(infoReq)); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
									HttpResponse httpResponse = HttpRequest.post(fdpUrlConfiguration.getSubmitStationInfo()) | 
					 | 
					 | 
					 | 
									HttpResponse httpResponse = HttpRequest.post(fdpUrlConfiguration.getSubmitStationInfo()) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.body(JSON.toJSONString(infoReq)) | 
					 | 
					 | 
					 | 
										.body(JSON.toJSONString(infoReq)) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
										.execute(); | 
					 | 
					 | 
					 | 
										.execute(); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |