if
choose(when,oterwise)
trim(where,set)
foreach
bind
<if>标签:如果test为true,则生成标签里的内容;false,则忽略标签里的内容
if 标签
<where>标签:如果标签内有返回值,则where留下,并自动消除其后的and,or。如果没有,则where自动消失。
if 标签
本文标题:Mybatis-动态SQL的五种常用标签
本文链接:https://www.haomeiwen.com/subject/frgyfftx.html
网友评论