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
相關文章
相關標籤/搜索