首页 > TAG信息列表 > 单引

mybatis sqlmap sql in 查询

<select id="selectBlogs" parameterType="map"> SELECT * FROM blog WHERE user_id = #{user_id} AND blog_id IN <foreach item="tempId" collection="blogIdList" open="(" separator="," c