标签:table mybatis 动态 ble 需要 foreach 表示 tab _id
sql中需要加上分号,表示一天sql语句的结束:
<delete id="deleteBussinessData" statementType="STATEMENT"> <foreach collection="tableList" item="tableName" index="index" > delete from ${tableName} where company_id = ${companyId}; </foreach> </delete>
标签:table mybatis 动态 ble 需要 foreach 表示 tab _id
原文地址:https://www.cnblogs.com/zqq-blog/p/13338671.html