Mybatis the Mapper interface to pass value problem

Mybatis the Mapper interface does not allow multilevel transmission

Ideas:

  Packaged as a single multivalued value

  1. The value of the encapsulated object pojo

  2. The value of the collection array package array / List collection / Map collection

  3. Add @Param this annotation parameters, practically to map the parameter set encapsulated

Guess you like

Origin www.cnblogs.com/gxlaqj/p/11541514.html