MyBatis动态sql语句使用

1、MyBatis动态语句分为4种元素: 元素 做用 描述 if 条件判断 单条件判断 choose(when、otherwise) 条件选择,至关Java when 多条件分支判断 where、set 辅助 处理sql语句拼接问题 foreache 循环 循环   2、Mybatis动态sql语句使用方式、例子 一、if元素,以下 <select id="selByName" resultTyp
相关文章
相关标签/搜索