摘要: 1.在pom.xml的<dependencies></dependencies>标签中中加入以下依赖 2.把resource包下的application.properties复制一份再粘贴名字改成application.yml,加入以下内容 我的数据库密码是123456,数据库名是mybatis 阅读全文
posted @ 2019-06-07 09:57 [浪子回头] 阅读(71831) 评论(2) 推荐(5) 编辑
摘要: Mapper接口的方法的参数没有加:@Param("xxx")注解,或者是xxx写不对 阅读全文
posted @ 2019-06-06 22:31 [浪子回头] 阅读(455) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/liming_0820/article/details/80878168 阅读全文
posted @ 2019-06-06 22:25 [浪子回头] 阅读(472) 评论(0) 推荐(0) 编辑
摘要: http://www.importnew.com/18872.html 阅读全文
posted @ 2019-06-04 12:09 [浪子回头] 阅读(160) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_32131937/article/details/87905944 阅读全文
posted @ 2019-06-01 19:50 [浪子回头] 阅读(3454) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u011480603/article/details/75332435/ 阅读全文
posted @ 2019-05-31 09:12 [浪子回头] 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://www.bbsmax.com/A/VGzlqbOJbq/ 阅读全文
posted @ 2019-05-30 17:41 [浪子回头] 阅读(213) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_40110871/article/details/83420125 阅读全文
posted @ 2019-05-30 16:36 [浪子回头] 阅读(766) 评论(0) 推荐(0) 编辑
摘要: http://www.pianshen.com/article/640129598/ 阅读全文
posted @ 2019-05-28 17:18 [浪子回头] 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 修饰符有四种:public、protected、默认、private。 public:表示所有其他类都可以访问。 protected:当前类或子类可以访问,同时相同包内的其他类也可以访问protected成员; default :默认(没有修饰符):表示本包内可以使用 private:表示的是在本类 阅读全文
posted @ 2019-05-22 15:44 [浪子回头] 阅读(8141) 评论(0) 推荐(0) 编辑