![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis基础
文章平均质量分 71
八戒de故事
这个作者很懒,什么都没留下…
展开
-
Mybatis基础---配置文件
mybatis基础原创 2017-11-09 19:47:44 · 436 阅读 · 0 评论 -
Mybatis基础---常用SQL映射标签、多参数设置、resultMap(自定义映射)
一、if 元素如果什么 …..那么什么…….. ——->通常用于判断参数,进行sql语句的动态拼接1、 传入的参数是一个 实体对象 :<select id="selectUserLike" resultType="entity.User" parameterType="entity.User"> select * from user where 1=1 <!--原创 2017-11-10 19:46:50 · 2687 阅读 · 0 评论