Mybatis in use in the method

Passing parameters must be an array or list, if the transmission is being given a string (using foreach traverse)

(<foreach item="temp" index="index" collection="defaultGroup" separator=",">
#{temp}
</foreach>)

Where "defaultGroup" to pass variables

Guess you like

Origin www.cnblogs.com/csgbpd/p/12512367.html