摘要: 一、代码自动补全 1.我的是:Alt shift+L 2.自己查看在setting中: 二、查询 1.Ctrl+H 全局搜索字符串 2.Ctrl+Shift+R 全局搜索文件名 3.Ctrl+F 当前页面搜索字符串 三、其他 页面修改完后,按ctrl+F9,重新编译。 阅读全文
posted @ 2019-07-01 17:06 一个九 阅读(133) 评论(0) 推荐(0)
摘要: 1.idea注册码下载地址: http://idea.lanyus.com/http://idea.medeming.com 2.mySQL压缩包安装方法: https://www.cnblogs.com/jamespan23/p/5953133.html 3.nodeJS 环境安装 https:/ 阅读全文
posted @ 2019-06-26 15:57 一个九 阅读(178) 评论(0) 推荐(0)
摘要: 1.查询已有分区 select partition_name part, partition_expression expr, partition_description descr, table_rows from information_schema.partitions where table 阅读全文
posted @ 2019-06-26 15:50 一个九 阅读(238) 评论(0) 推荐(0)
摘要: 1. 常用函数 uuid和时间戳 SELECT UUID(),UNIX_TIMESTAMP() ; 日期格式 相关 1.时间转字符串 DATE_FORMAT(日期,格式字符串) SELECT DATE_FORMAT(NOW(), '%Y-%m-%d %H:%i:%s'); 2.字符串转时间 STR_ 阅读全文
posted @ 2019-05-09 11:28 一个九 阅读(264) 评论(0) 推荐(0)
摘要: 1.启动类上添加注解 @EnableScheduling //启用定时器功能 2.定时器任务类 阅读全文
posted @ 2019-01-30 18:19 一个九 阅读(265) 评论(0) 推荐(0)
摘要: 1.启动类上添加注解 @ServletComponentScan @SpringBootApplication() @ComponentScan(basePackages={"com"}) @ServletComponentScan //scans from the package of the a 阅读全文
posted @ 2019-01-30 18:04 一个九 阅读(255) 评论(0) 推荐(0)
摘要: 1.添加配置文件 @Bean public FilterRegistrationBean nextFilterRegistrationBean(){ //加载自定义过滤器 FilterRegistrationBean registrationBean = new FilterRegistration 阅读全文
posted @ 2019-01-30 11:37 一个九 阅读(210) 评论(0) 推荐(0)
摘要: 1.Thymeleaf简介 Thymeleaf是一个现代服务器端Java模板引擎,适用于Web和独立环境,能够处理HTML,XML,JavaScript,CSS甚至纯文本。 Thymeleaf的主要目标是提供一种优雅且高度可维护的模板创建方式。为实现这一目标,它以自然模板的概念为基础,将其逻辑注入模 阅读全文
posted @ 2019-01-23 11:43 一个九 阅读(397) 评论(0) 推荐(0)
摘要: 1.新建banner.txt文件保存在resources文件夹下。 收纳几个自己常用的banner.txt 阅读全文
posted @ 2019-01-21 19:48 一个九 阅读(377) 评论(0) 推荐(0)
摘要: 1. 添加jar包依赖 2. 配置文件放config文件夹下 3.接口添加注释 4. 访问网址:localhost:8080/swagger-ui.html 5.注解 swagger通过注解表明该接口会生成文档,包括接口名、请求方法、参数、返回信息的等等。 关于参数的详细解释(paramType取不 阅读全文
posted @ 2019-01-19 18:53 一个九 阅读(243) 评论(0) 推荐(0)