oracle批量更新操作,对应的dao层xml文件


 begin  
 
    UPDATE USER_INFO
    
        
            
        
    
	
  
   ;end;




   
update test  test=${item.test}+1  where id = ${item.id}
    



  
        update aa   set   
            a=#{fptm},  
            b=#{csoftrain}  
        where c in   
          
            #{item}  
          
 


 
  
  UPDATE USERINFO T 
    
   T.USERID = #{userlist.userid,jdbcType=VARCHAR}, 
   T.USERNAME = #{userlist.username,jdbcType=VARCHAR}, 
    
   WHERE 
   T.USERID = #{userlist.userid,jdbcType=VARCHAR} 
  



  
     begin    
           
             update table_name  
               
                 name= #{item.name}  
               
             where id = #{item.id}  
           
         ;end;  
 


  
     
      update table_name  
        
         name= #{item.name}  
        
         where id = #{item.id}  
     
 

 

你可能感兴趣的:(Oracle,批量更新,Oracle)