#{}和${}的区别 , 基于Mybatis的增删改查

接着上一篇的继续 这是项目结构 8.模糊查询,排序,#和$的区别 一.模糊查询 需求 : 根据博客的名字查询博客列表(模糊查询) 方式一: 使用#传参 <select id="selectBlogByTitle" parameterType="string" resultMap="blogResultMap"> select * from Blog where title like #{tit
相关文章
相关标签/搜索