| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -120,7 +120,7 @@ public class MessageServiceImpl implements MessageService { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .createUser(CommonConstant.SYSTEM_USER) | 
					 | 
					 | 
					 | 
					                .createUser(CommonConstant.SYSTEM_USER) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .params(new HashMap<String,String>(){{ | 
					 | 
					 | 
					 | 
					                .params(new HashMap<String,String>(){{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    put("projectName",entity.getStationName()); | 
					 | 
					 | 
					 | 
					                    put("projectName",entity.getStationName()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    put("deviceName", Optional.ofNullable(entity.getDeviceName()).orElse("")); | 
					 | 
					 | 
					 | 
					                    put("deviceName", Optional.ofNullable(entity.getDeviceName()).orElse("未知设备")); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    put("ruleDefName",entity.getAlarmContext()); | 
					 | 
					 | 
					 | 
					                    put("ruleDefName",entity.getAlarmContext()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    put("ts", DateUtil.format(entity.getAlarmTime(),DateUtil.PATTERN_DATETIME)); | 
					 | 
					 | 
					 | 
					                    put("ts", DateUtil.format(entity.getAlarmTime(),DateUtil.PATTERN_DATETIME)); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }}) | 
					 | 
					 | 
					 | 
					                }}) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -162,7 +162,7 @@ public class MessageServiceImpl implements MessageService { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // 微信参数键值对
 | 
					 | 
					 | 
					 | 
					        // 微信参数键值对
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        HashMap<String,Object> map = new HashMap<>(); | 
					 | 
					 | 
					 | 
					        HashMap<String,Object> map = new HashMap<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        map.put("thing18",entity.getStationName()); | 
					 | 
					 | 
					 | 
					        map.put("thing18",entity.getStationName()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        map.put("thing5",entity.getDeviceCode()); | 
					 | 
					 | 
					 | 
					        map.put("thing5",Optional.ofNullable(entity.getDeviceCode()).orElse("未知设备")); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        map.put("thing11",entity.getAlarmContext()); | 
					 | 
					 | 
					 | 
					        map.put("thing11",entity.getAlarmContext()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        map.put("thing14", DictCache.getValue("alarm_source", entity.getAlarmType())); | 
					 | 
					 | 
					 | 
					        map.put("thing14", DictCache.getValue("alarm_source", entity.getAlarmType())); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        map.put("time2",entity.getAlarmTime()); | 
					 | 
					 | 
					 | 
					        map.put("time2",entity.getAlarmTime()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |