| 
					
				 | 
			
			
				@ -721,7 +721,7 @@ public class YkyyInternetService extends BaseJpaService<InternetUpErrorLogDO, In 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "JOIN base_doctor c ON c.id = b.doctor \n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "JOIN base_patient d ON d.id = b.patient \n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "JOIN base_doctor_hospital e ON e.doctor_code = b.doctor \n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "JOIN im_internet_hospital.topics t ON t.id = b.consult\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "JOIN topics t ON t.id = b.consult\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "WHERE\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "\ta.id = b.consult\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               "AND a.symptoms <> ''\n" + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -743,7 +743,7 @@ public class YkyyInternetService extends BaseJpaService<InternetUpErrorLogDO, In 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for(int i=0; i<total; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            LinkedCaseInsensitiveMap info = (LinkedCaseInsensitiveMap) list.get(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String sqlMessage = "SELECT m.sender_name AS \"sender_name\", m.`timestamp` AS \"timestamp\", m.content AS  \"content\", t.id AS \"id\"  FROM im_internet_hospital.topics t " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    "JOIN im_internet_hospital.muc_messages m ON m.session_id = t.session_id AND m.`timestamp` >= t.create_time AND m.`timestamp` <= t.end_time " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    "JOIN muc_messages m ON m.session_id = t.session_id AND m.`timestamp` >= t.create_time AND m.`timestamp` <= t.end_time " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    "AND t.id = '"+info.get("consult").toString()+"' ORDER BY m.`timestamp` ASC"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<Map<String,Object>> list1 = jdbcTemplate.queryForList(sqlMessage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String content=""; 
			 |