| 
					
				 | 
			
			
				@@ -34,16 +34,16 @@ public interface RoomScreenDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "from a_employee_mi a where a.code=#{code}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     DoctorInfo getDoctorInfo(@Param("code") String code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Select("select rtrim(a.room_no) code, rtrim(b.name) name from " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Select("select rtrim(a.room_no) as code, rtrim(b.name) as name from " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "mzfz_zd_dept_room a, zd_unit_code b where a.room_code=#{roomCode} " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and b.code=a.dept_code") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     CodeName getRoomNoAndDept(@Param("roomCode") String roomCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Select("select top 1 fz_no,rtrim(name) name from mzfz_patient_order where room_code=#{roomCode} " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Select("select top 1 fz_no,rtrim(name) as name from mzfz_patient_order where room_code=#{roomCode} " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and datediff(day , visit_date,getdate())=0 and fz_no>#{fzNo} order by fz_no") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     MessageForPush getNextJz(MessageForPush param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Select("select fz_no, rtrim(name) name from mzfz_patient_order " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Select("select fz_no, rtrim(name) as name from mzfz_patient_order " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "where room_code=#{roomCode} and datediff(day , visit_date,getdate())=0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and status_flag in ('1','2','3') order by fz_no") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<MessageForPush> getNextJzList(MessageForPush param); 
			 |