| 
					
				 | 
			
			
				@@ -147,8 +147,7 @@ public interface YzYpZyOrderMapper { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     " FROM  yz_yp_zy_order a  WITH(NOLOCK)" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     " where a.page_no_ty =#{pageNoTy}  and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     "       a.status_flag in (${submitFlag}) and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "       a.amount < 0 and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "       a.drug_class<>'d' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    "       a.amount < 0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     " group by a.charge_code,a.serial" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     " order by charge_code,serial" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -191,8 +190,7 @@ public interface YzYpZyOrderMapper { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     "    FROM yz_yp_zy_order a WITH(NOLOCK)" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     "where    a.page_no_ty =#{pageNoTy}  and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     "         a.status_flag in (${submitFlag}) and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "         a.amount < 0 and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    "         a.drug_class<>'d' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    "         a.amount < 0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     "order by a.inpatient_no,a.admiss_times,a.charge_code,a.occ_time " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<YzYpZyOrder> selectYzYpOrderTyDetail(@Param("pageNoTy") String pageNoTy, @Param("submitFlag") String submitFlag); 
			 |