你可以拼sql语句,如:insert into table (id,name,xxx) values(id1,name1,xxx1),(id2,name2,xxx3),(...),(...)(...)(...)(...)(...)(...)这样执行一条sql可以插入多行,比insert多次要效率