|  | @ -67,6 +67,7 @@ public interface MessageDao extends PagingAndSortingRepository<Message, Long>, J
 | 
	
		
			
				|  |  |     @Query("select count(a) from Message a where a.read = 0 and a.over ='0'  and a.receiver=?1 and a.type=?2 ")
 | 
	
		
			
				|  |  |     int findMessageNum(String doctor, Integer type);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Modifying
 | 
	
		
			
				|  |  |     @Query("update Message a set a.prescriptionStatus=?2 where a.relationCode = ?1 and a.type=?3 ")
 | 
	
		
			
				|  |  |     int updatePreScriptionMessage(String relateCode,String prescriptionStatus,Integer type);
 | 
	
		
			
				|  |  | 
 |