|  | @ -288,7 +288,7 @@ public class MessageService extends BaseService {
 | 
	
		
			
				|  |  |         int count= messageDao.findMessageNum(doctor,type);
 | 
	
		
			
				|  |  |         String DateString="";
 | 
	
		
			
				|  |  |         String message="";
 | 
	
		
			
				|  |  |         String sql="select w.* from wlyy_message w where w.type=3 and w.receiver='"+doctor+"' order by w.czrq desc limit 0,1";
 | 
	
		
			
				|  |  |         String sql="select w.* from wlyy_message w where w.type='"+type+"' and w.receiver='"+doctor+"' order by w.czrq desc limit 0,1";
 | 
	
		
			
				|  |  |         List<Message> returnList= jdbcTemplate.query(sql,new BeanPropertyRowMapper(Message.class));
 | 
	
		
			
				|  |  |         if(returnList!=null&&returnList.size()>0){
 | 
	
		
			
				|  |  |             Message m=returnList.get(0);
 |