|  | @@ -2,6 +2,7 @@ package com.persagy.apm.energyalarmstarter.alarmengine.redis;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import cn.hutool.json.JSONUtil;
 | 
	
		
			
				|  |  |  import com.alibaba.fastjson.JSON;
 | 
	
		
			
				|  |  | +import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  |  import lombok.SneakyThrows;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.data.redis.core.RedisTemplate;
 | 
	
	
		
			
				|  | @@ -35,11 +36,11 @@ public class RedisUtil4EngineStater {
 | 
	
		
			
				|  |  |          if (obj == null) {
 | 
	
		
			
				|  |  |              return null;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        return JSONUtil.toBean(JSON.toJSONString(obj), resultClazz);
 | 
	
		
			
				|  |  | +        return JSONUtil.toBean(obj.toString(), resultClazz);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void put(String mapName, String key, Object value) {
 | 
	
		
			
				|  |  | -        alarmRedisTemplate.opsForHash().put(mapName, key, value);
 | 
	
		
			
				|  |  | +        alarmRedisTemplate.opsForHash().put(mapName, key, JSONObject.toJSONString(value));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void delete(String mapName, String key) {
 |