<insert id="insertbatchinfotoemploees" parameterType="java.util.List"> insert
<insert id="insertbatchinfotoemploees" parameterType="java.util.List">
insert into INFOTOEMPLOEE
select INFO_EMPLOEES.NEXTVAL,A.* from( <!--INFO_EMPLOEES为自增序列-->
<foreach collection="list" item="item" index="index"
separator="UNION">
SELECT
#{item.infoid}, #{item.empoyessid},
#{item.infostate}
from dual
</foreach>
) A
</insert>
--结束END--
本文标题: mybatis oracle批量插入
本文链接: https://www.lsjlt.com/news/37694.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
2024-04-28
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0