mybatis:字符串转成数组拼接成SQL
<foreach item="item" index="index" collection="str.split(',')" open="(" separator="," close=")">#{item}</foreach>
本文来自博客园,作者:huiy_小溪,转载请注明原文链接:https://www.cnblogs.com/huiy/p/11320415.html
<foreach item="item" index="index" collection="str.split(',')" open="(" separator="," close=")">#{item}</foreach>
本文来自博客园,作者:huiy_小溪,转载请注明原文链接:https://www.cnblogs.com/huiy/p/11320415.html