mybatis中批量删除表格

批量drop表格

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

猜你喜欢

转载自www.cnblogs.com/chen-yun/p/9274815.html