IbatisNet maps中select,insert,update中动态字段

来源:互联网 发布:the eric python ide 编辑:程序博客网 时间:2024/04/30 05:01



-

  


  
   
   
   
   
   
   
   
   
  



  
  

  
    Insert Into csip_QA (
   
     userid
   

   
     qflag
   

   
     question
   

   
     answer
   

   
     ip
   

    )Values(
   
     #userid#
   

   
     #qflag#
   

   
     #question#
   

   
     #answer#
   

   
     #ip#
   

    )
   
     select @@identity as id
   

  

  
   
    
     
       qflag=#qflag#
     

     
       question=#question#
     

     
       answer=#answer#
     

     
       id=#id#
     

    

   

  

  
    Delete From csip_QA
   
    
      id=#id#
    

   

  


原创粉丝点击