|  | @ -382,7 +382,6 @@ public class DeviceService {
 | 
	
		
			
				|  |  |                     messageDO.setData(JSON.toJSONString(errorIndex,SerializerFeature.WriteNullStringAsEmpty));
 | 
	
		
			
				|  |  |                     messageDO.setDel("1");
 | 
	
		
			
				|  |  |                     messageDO.setCreateTime(new Date());
 | 
	
		
			
				|  |  |                     systemMessageDao.save(messageDO);
 | 
	
		
			
				|  |  |                     //推送socket
 | 
	
		
			
				|  |  |                     com.alibaba.fastjson.JSONObject message = new com.alibaba.fastjson.JSONObject();
 | 
	
		
			
				|  |  |                     message.put("title","您刚刚测量了一次心率");
 | 
	
	
		
			
				|  | @ -402,6 +401,8 @@ public class DeviceService {
 | 
	
		
			
				|  |  |                         content_notice.substring(0,content_notice.length()-2);
 | 
	
		
			
				|  |  |                         message.put("content_notice","您的key1过高,请注意饮食,尽量食用少油少盐食物".replace("key1",content_notice));
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     messageDO.setContent("您的key1过高,请注意饮食,尽量食用少油少盐食物".replace("key1",content_notice));
 | 
	
		
			
				|  |  |                     systemMessageDao.save(messageDO);
 | 
	
		
			
				|  |  |                     imUtil.sendPatientSystemMessage(messageDO.getReceiver(),JSON.toJSONString(message,SerializerFeature.WriteMapNullValue));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                 }
 | 
	
	
		
			
				|  | @ -465,7 +466,6 @@ public class DeviceService {
 | 
	
		
			
				|  |  |                     messageDO.setData(JSON.toJSONString(errorIndex,SerializerFeature.WriteNullStringAsEmpty));
 | 
	
		
			
				|  |  |                     messageDO.setDel("1");
 | 
	
		
			
				|  |  |                     messageDO.setCreateTime(new Date());
 | 
	
		
			
				|  |  |                     systemMessageDao.save(messageDO);
 | 
	
		
			
				|  |  |                     //推送socket
 | 
	
		
			
				|  |  |                     com.alibaba.fastjson.JSONObject message = new com.alibaba.fastjson.JSONObject();
 | 
	
		
			
				|  |  |                     message.put("title","您刚刚测量了一次血压");
 | 
	
	
		
			
				|  | @ -485,6 +485,8 @@ public class DeviceService {
 | 
	
		
			
				|  |  |                         content_notice.substring(0,content_notice.length()-2);
 | 
	
		
			
				|  |  |                         message.put("content_notice","您的key1过高,请注意饮食,尽量食用少油少盐食物".replace("key1",content_notice));
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     messageDO.setContent("您的key1过高,请注意饮食,尽量食用少油少盐食物".replace("key1",content_notice));
 | 
	
		
			
				|  |  |                     systemMessageDao.save(messageDO);
 | 
	
		
			
				|  |  |                     imUtil.sendPatientSystemMessage(messageDO.getReceiver(),JSON.toJSONString(message,SerializerFeature.WriteMapNullValue));
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |             }
 |