http://haohaoxuexi.iteye.com/blog/1338557
MyBatis的动态SQL是基于OGNL(对象图导航语言)表达式的,MyBatis中用于实现动态SQL的元素主要有:
if
choose(when,otherwise)
trim属性:
prefix:前缀覆盖并增加其内容
suffix:后缀覆盖并增加其内容
prefixOverrides:前缀判断的条件
suffixOverrides:后缀判断的条件
where
set
foreach