输入banner图图片脚本导航/分类

mybatis:字符串转成数组拼接成SQL

<foreach item="item" index="index" collection="str.split(‘,‘)" open="(" separator="," close=")">#{item}</foreach>
这里调用了java的split方法,把str分成了一个数组.

mybatis:字符串转成数组拼接成SQL

标签:index   round   pre   调用   cti   mybatis   dex   order   方法