mybatis中批量删除表格

批量drop表格

<update id="dropTable"> 
       DROP TABLE IF EXISTS
       <foreach collection="tableNameList" item="item" index="index" separator=",">
          `${item}` 
       </foreach>                      
    </update> 

 

posted @ 2018-07-06 17:36  磨人小妖精  阅读(735)  评论(0编辑  收藏  举报