mybatis 使用`` 遇到的坑

mybatis 使用<if test=" "> 遇到的坑 mybatis中<if test=" !null "></if>或者<if test=" null "></if>會執行<if>中的代碼,如下圖 建議使用boolean類型,因爲默認值爲false,Boolean類型默認值爲null。
相關文章
相關標籤/搜索