mybatis 动态元素

动态SQL是MyBatis最强大的特性之一。用于实现动态SQL的主要元素如下:   1、where、if   2、choose、when、otherwise   3、set、trim   4、foreach 1、where、if <select id="getEmpByIf" resultType="Emp" parameterType="Emp">     select * from emp  
相关文章
相关标签/搜索