|  | @ -78,7 +78,7 @@ public class ConsultService {
 | 
	
		
			
				|  |  |     public Map<String,Object> findLastOnlineConsult(String patient,String orgCode){
 | 
	
		
			
				|  |  |         Map<String,Object> map = new HashedMap();
 | 
	
		
			
				|  |  |         String sql = "SELECT " +
 | 
	
		
			
				|  |  |                 " b.consult, " +
 | 
	
		
			
				|  |  |                 " b.consult,b.doctor, " +
 | 
	
		
			
				|  |  |                 " b.type,b.status " +
 | 
	
		
			
				|  |  |                 "FROM " +
 | 
	
		
			
				|  |  |                 " wlyy_consult_team b, " +
 | 
	
	
		
			
				|  | @ -92,6 +92,8 @@ public class ConsultService {
 | 
	
		
			
				|  |  |         if(list.size()>0){
 | 
	
		
			
				|  |  |             map = list.get(0);
 | 
	
		
			
				|  |  |             map.put("sessionId",String.valueOf(map.get("consult"))+"_"+patient+"_23");
 | 
	
		
			
				|  |  |             BaseDoctorDO doctorDO = baseDoctorDao.findById(String.valueOf(map.get("doctor")));
 | 
	
		
			
				|  |  |             map.put("doctorName",doctorDO.getName());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return map;
 | 
	
		
			
				|  |  |     }
 |