mysql的佔位符問題

<if test=' field != "" and field != null  '>test order by ${field} <if test=' order != "" and order != null' > ${order} </if> </if> #{field}表示有單引號  ${field} 無雙引號
相關文章
相關標籤/搜索