mybatis和mysql批量添加和删除和sharding-sphere批量删除
这里写自定义目录标题批量添加批量删除批量添加insert into student(age, name)values<foreach collection="list" item="entity" separator=","> (#{entity.age}, #{entity.name})</foreach>批量删除<-只支持mysql>delete from studentwhere (age,name) in<foreach ite
原创
2020-11-26 10:32:27 ·
887 阅读 ·
0 评论