| 
					
				 | 
			
			
				@@ -457,15 +457,17 @@ public interface YiZhuLuRuDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "                          kf_flag /*饭前饭后*/,parent_no, refer_physician/*患者的管床医生*/, confirm_time/*确认时间*/, signer/*确认人*/,end_time,modifier) " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "VALUES " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "<foreach collection='list' item='item' separator=','>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "(#{item.orderCode}, #{item.orderName}, #{item.frequCode}, #{item.instruction}, #{item.discription}, #{infantFlag}, #{item.orderTime}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "        #{inputCode}, #{item.startTime}, #{item.drugSpecification}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "#{item.drugQuan}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "(#{item.orderCode,jdbcType=VARCHAR}, #{item.orderName,jdbcType=VARCHAR}, #{item.frequCode,jdbcType=VARCHAR}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " #{item.instruction,jdbcType=VARCHAR}, #{item.discription,jdbcType=VARCHAR}, #{infantFlag,jdbcType=VARCHAR}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "#{item.orderTime,jdbcType=TIMESTAMP}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "        #{inputCode}, #{item.startTime,jdbcType=TIMESTAMP}, #{item.drugSpecification}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "#{item.drugQuan,jdbcType=DECIMAL}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " #{item.supplyCode}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            " #{item.actOrderNo}, #{patNo}, #{times}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " #{item.actOrderNo,jdbcType=DECIMAL}, #{patNo}, #{times}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "#{item.drugFlag}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " #{inputCode}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " getdate(), #{item.miniUnit}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "#{item.drugWeight}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "#{item.drugWeight,jdbcType=DECIMAL}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "#{item.drugWeightUnit}, '2', #{item.selfBuy}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "cast(#{item.dose,jdbcType=DECIMAL} as decimal(10,2))," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " #{item.doseUnit}, " + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -475,13 +477,8 @@ public interface YiZhuLuRuDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "#{item.groupNo}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "'1', #{item.execUnit}, " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "        #{deptCode}, #{wardCode}, '0', #{item.ybSelfFlag},#{item.emergencyFlag}, #{item.kfFlag}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "<if test=\"item.parentNo != null \">" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "#{item.parentNo}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "</if>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "<if test=\"item.parentNo == null \">" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "null," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "</if>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            " #{referPhysician}, getdate(), #{inputCode},#{item.endTime},#{item.modifier})" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "#{item.parentNo,jdbcType=DECIMAL}," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " #{referPhysician}, getdate(), #{inputCode},#{item.endTime,jdbcType=TIMESTAMP},#{item.modifier})" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "</foreach>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "</script>") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     void chaRuYiZhu(@Param("patNo") String patNo, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -846,8 +843,8 @@ public interface YiZhuLuRuDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "update op_record " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "set status ='d' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "where act_order_no = #{actOrderNo};") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    void genXingShanChuBiao(@Param("userCode") String userCode, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            @Param("actOrderNo") BigDecimal actOrderNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    void genXingShanChuBiaoZhi(@Param("userCode") String userCode, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                               @Param("actOrderNo") BigDecimal actOrderNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Update("update yz_act_order " + 
			 |