#{}和${}的區別 , 基於Mybatis的增刪改查

接着上一篇的繼續 這是項目結構 8.模糊查詢,排序,#和$的區別 一.模糊查詢 需求 : 根據博客的名字查詢博客列表(模糊查詢) 方式一: 使用#傳參 <select id="selectBlogByTitle" parameterType="string" resultMap="blogResultMap"> select * from Blog where title like #{tit
相關文章
相關標籤/搜索