39

死磕了关于MyBatis10种超好用的写法-程序员麦冬

 3 years ago
source link: https://blog.51cto.com/14849432/2514473
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
用来循环容器的标签forEach,查看例子foreach元素的属性主要有item,index,collection,open,separator,close。item:集合中元素迭代时的别名index:集合中元素迭代时的索引open:常用语where语句中,表示以什么开始,比如以'('开始separator:表示在每次进行迭代时的分隔符close 常用语where语句中,表示以什么结束在使用for

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK