| 
					
				 | 
			
			
				@@ -1,5 +1,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.usky.fire.service.impl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.alibaba.nacos.shaded.com.google.gson.JsonObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.core.metadata.IPage; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.baomidou.mybatisplus.core.toolkit.StringUtils; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -85,7 +87,7 @@ public class PatrolInspectionEventServiceImpl extends AbstractCrudService<Patrol 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         patrolInspectionEvent.setCreateBy(SecurityUtils.getUsername()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         patrolInspectionEvent.setCreateTime(LocalDateTime.now()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Map<String,Object> map = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Map<Object,Object> map = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("deviceId",patrolInspectionEvent.getDeviceId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("personnelId",patrolInspectionEvent.getPersonnelId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("personnelName",patrolInspectionEvent.getPersonnelName()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -100,7 +102,8 @@ public class PatrolInspectionEventServiceImpl extends AbstractCrudService<Patrol 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("createBy",patrolInspectionEvent.getCreateBy()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("createTime",patrolInspectionEvent.getCreateTime()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        rabbitTemplate.convertAndSend(rabbitMQConfig.patrolEventExchange,rabbitMQConfig.patrolEventRoute,map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        rabbitTemplate.convertAndSend(rabbitMQConfig.patrolEventExchange,rabbitMQConfig.patrolEventRoute,map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        rabbitTemplate.convertAndSend(rabbitMQConfig.patrolFEventExchange,"", JSONObject.toJSONString(map)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.save(patrolInspectionEvent); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |