mybatis-xml-------foreach

		<if test="list!=null and list.size>0">
			and create_by in
			<foreach collection="list" item="item" separator="," open="(" close=")" >
				#{item}
			</foreach>
		</if>

  

posted @ 2020-09-30 17:02  wangt1  阅读(108)  评论(0编辑  收藏  举报