MyBatis动态 SQL语法IN 语句代码示例
<select id="selectPostIn" resultType="map">
select * from post where id in
<foreach item="item" index="index" collection="list"
open="(" separator="," close=")">
#{item}
</foreach>
</select>
以上是编程学习网小编为您介绍的“MyBatis动态 SQL语法IN 语句代码示例”的全面内容,想了解更多关于 mysql 内容,请继续关注编程基础学习网。