mybatis的动态SQL经常使用标签详解

<if> <if test="id!=null and id!=''"> test test="type='Y'" <choose>     <when>    <otherwise> <choose>     <when test="name!= null and name =='zhangsan'">         AND    sal = #{sal}     </when>     <w
相关文章
相关标签/搜索