mybatis動態sql使用

MyBatis動態sql使用詳解 <choose>:相似於switchweb <choose> //when 跟 switch中case同樣 <when 條件!= null and 條件 != ''>and條件 = #{條件}</when> <otherwise>若是條件都不符合 則運行</otherwise> <choose/> 2.<trim></trim>:能夠代替where和
相關文章
相關標籤/搜索