摘要: 先上干货,只需要在启动类上加(exclude = {DataSourceAutoConfiguration.class}) 即可 @SpringBootApplication (exclude = {DataSourceAutoConfiguration.class}) 阅读全文
posted @ 2021-07-29 21:22 暴走的轰炸机 阅读(3393) 评论(0) 推荐(0) 编辑
摘要: 一、创建父项目 二、创建子项目 三、修改配置 阅读全文
posted @ 2021-07-29 21:18 暴走的轰炸机 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 一、构造方法 一、构造方法 1)基础构造方法 //从默认时区的系统时钟获取当前的日期时间。 LocalDateTime localDateTime = LocalDateTime.now(); //从默认时区的系统时钟获取当前日期。 LocalDate localDate = LocalDate.n 阅读全文
posted @ 2020-11-17 19:03 暴走的轰炸机 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: 知识点:@RestController注解相当于@ResponseBody + @Controller合在一起的作用。 1) 如果只是使用@RestController注解Controller,则Controller中的方法无法返回jsp页面,或者html,配置的视图解析器 InternalReso 阅读全文
posted @ 2020-04-16 14:39 暴走的轰炸机 阅读(196) 评论(0) 推荐(0) 编辑
摘要: setSqlSelect SELECT 查询字段 where WHERE 语句,拼接 + WHERE 条件 and AND 语句,拼接 + AND 字段=值 andNew AND 语句,拼接 + AND (字段=值) or OR 语句,拼接 + OR 字段=值 orNew OR 语句,拼接 + OR 阅读全文
posted @ 2019-12-19 09:19 暴走的轰炸机 阅读(57826) 评论(0) 推荐(0) 编辑
摘要: 一、常用命令 pull status stash add commit push reset head 二、常规更新提交操作 1.更新 git pull 2.状态 git status 3.添加上传文件 git add 例: git add fileName.java 4.提交,注释 git com 阅读全文
posted @ 2019-12-13 15:21 暴走的轰炸机 阅读(851) 评论(0) 推荐(0) 编辑
摘要: 一、安装MySQL 1,更新源文件地址库 sudo apt-get update 2,安装MySQL apt install mysql-server 等待安装完成即可; 二、MySQL数据库配置密码 当数据库安装完成后,是没有密码的,默认是这样的, 1,查看密码 password 行 sudo v 阅读全文
posted @ 2019-11-29 09:29 暴走的轰炸机 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 一、 下载jdk安装包 官网:https://www.oracle.com/technetwork/java/index.html下载页:https://www.oracle.com/technetwork/java/javase/downloads/index.html 二,将安装包拷到Ubunt 阅读全文
posted @ 2019-11-27 16:13 暴走的轰炸机 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 这是第一个博客,就以Holle word 开始吧! 阅读全文
posted @ 2019-11-27 08:51 暴走的轰炸机 阅读(187) 评论(0) 推荐(0) 编辑