Commit 0c61e426 by levphon

车辆精确授权

1 parent bab8e289
......@@ -46,7 +46,8 @@
<insert id="insertIgnoreExistedPermit">
INSERT IGNORE INTO t_vehicle_permit (content_id, accorder_id, receiver_id, content_type, permit_type, del_flag, created_date, created_by)
VALUES
<foreach collection="list" item="item" open="(" close=")" separator=",">
<foreach collection="list" item="item" index="index" separator=",">
(
#{item.contentId},
#{item.accorderId},
#{item.receiverId},
......@@ -55,6 +56,7 @@
0,
sysdate(),
#{item.createdBy}
)
</foreach>
</insert>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!