mybatis动态sql使用

MyBatis动态sql使用详解 <choose>:相似于switchweb <choose> //when 跟 switch中case同样 <when 条件!= null and 条件 != ''>and条件 = #{条件}</when> <otherwise>若是条件都不符合 则运行</otherwise> <choose/> 2.<trim></trim>:能够代替where和
相关文章
相关标签/搜索