Home > Back-end >  Mybatis bulk insert, parameters for a List <Map <String, Object>
Mybatis bulk insert, parameters for a List <Map <String, Object>

Time:12-22

The dynamic Sql should be how to write, please teach a great god!

Parameters as follows:
1, the List of each node Map, the key representative insert column, the corresponding value value as inserted value;
2, there are a lot of key/value pairs in a Map as insert column names and insert value;
3, the multiple Map into a List, to insert parameters,

CodePudding user response:

Seek advice!!!!!!

CodePudding user response:

Make sure all of your map, the key is the same table of fixed field,
How to insert a single map data, circulation,
https://www.cnblogs.com/gxyandwmm/p/9565002.html

CodePudding user response:

Circular insert, the efficiency is too low
  • Related