|
@@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<insert id="batchInsert" keyColumn="id" keyProperty="list.id" parameterType="java.util.List" useGeneratedKeys="true">
|
|
|
insert into dynamic_resource (id,dynamic_id,resource_frame,resource_key,sort) values
|
|
|
<foreach collection="list" item="item" index="index" separator="," >
|
|
|
- (#{item.id}, #{item.dynamicId}, #{item.resourceKey}, #{item.resourceFrame}, #{item.sort})
|
|
|
+ (#{item.id}, #{item.dynamicId}, #{item.resourceFrame},#{item.resourceKey}, #{item.sort})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
</mapper>
|