1.首先插入的时候传递的是list集合,那么就需要在collection后面写成list,例如:
<insert id ="InsertReaCodeDlInfos" parameterType="java.util.List" > INSERT INTO tpm_reacodegdlinfo (Guid,ReaCGGd,ReaCGd,Creator,CreateTime,LastModifyMan,LastModifyTime,Remark) VALUES <foreach
1.首先插入的时候传递的是list集合,那么就需要在collection后面写成list,例如:
<insert id ="InsertReaCodeDlInfos" parameterType="java.util.List" > INSERT INTO tpm_reacodegdlinfo (Guid,ReaCGGd,ReaCGd,Creator,CreateTime,LastModifyMan,LastModifyTime,Remark) VALUES <foreach