标签:ati span strong 括号 应该 into slist code size
1.value的后面不应该再加小括号(),在foreach里面加小括号,不然会发生语法错误;
<insert id="addGoodsList" parameterType="list"> insert into wms_goods(GOOD_NAME,GOOD_TYPE,GOOD_SIZE,GOOD_VALUE)values <foreach collection="list" item="s" separator=","> ( #{s.goodName}, #{s.goodType}, #{s.goodSize}, #{s.goodValue} ) </foreach> </insert>
标签:ati span strong 括号 应该 into slist code size
原文地址:https://www.cnblogs.com/yyk520/p/13380266.html