回头一顾一相思,佳时堪恨再难寻

摘要: 1在SpringBoot项目pom.xml中添加依赖 依赖注意版本 https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E 由于我的spring-boot-starter-pa 阅读全文
posted @ 2020-04-02 12:14 serena_uuu 阅读(3324) 评论(0) 推荐(0) 编辑

摘要: maven依赖<dependency> <groupId>in.zapr.druid</groupId> <artifactId>druidry</artifactId> <version>2.1</version></dependency> 1 组装json//时间范围:Interval Date 阅读全文
posted @ 2019-03-07 12:12 serena_uuu 阅读(3133) 评论(0) 推荐(0) 编辑
 
摘要: 一 Json转换 1 输出组装好的json ObjectMapper mapper = new ObjectMapper(); try { String requiredJson = mapper.writeValueAsString(query); System.out.println(" "); 阅读全文
posted @ 2019-03-07 11:53 serena_uuu 阅读(172) 评论(0) 推荐(0) 编辑

摘要: Springboot & Mybatis 构建restful 服务五 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务四 成功执行完Springboot & Mybatis 构建restful 服务四 2 restful service 整合 swigger 阅读全文
posted @ 2017-03-07 16:27 serena_uuu 阅读(1113) 评论(0) 推荐(0) 编辑
 
摘要: Springboot & Mybatis 构建restful 服务四 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务三 成功执行完Springboot & Mybatis 构建restful 服务三 2 restful service 添加 Apache 阅读全文
posted @ 2017-03-07 16:25 serena_uuu 阅读(388) 评论(0) 推荐(0) 编辑
 
摘要: Springboot & Mybatis 构建restful 服务三 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务二 成功执行完Springboot & Mybatis 构建restful 服务二 2 restful service 添加日志 1)新建 阅读全文
posted @ 2017-03-07 16:24 serena_uuu 阅读(752) 评论(0) 推荐(0) 编辑
 
摘要: Springboot & Mybatis 构建restful 服务二 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务一 成功执行完Springboot & Mybatis 构建restful 服务一 2 restful service 打包问题 ​ 要求打 阅读全文
posted @ 2017-03-07 16:22 serena_uuu 阅读(393) 评论(0) 推荐(0) 编辑
 
摘要: Springboot & Mybatis 构建restful 服务一 1 前置条件 jdk测试:java -version maven测试:命令行之行mvn -v eclipse及maven插件 jdk测试:java -version maven测试:命令行之行mvn -v eclipse及mave 阅读全文
posted @ 2017-03-07 16:17 serena_uuu 阅读(3311) 评论(0) 推荐(0) 编辑

2022年11月8日

摘要: 日志根据业务和等级拆分 1 导入依赖 <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> < 阅读全文
posted @ 2022-11-08 17:33 serena_uuu 阅读(31) 评论(0) 推荐(0) 编辑

2021年12月1日

摘要: IDEA新建SpringBoot+JSP项目 1 File->New->Project... 2 使用Spring Initializar 项目结构如下 3 在pom.xml添加依赖 <dependency> <groupId>org.springframework.boot</groupId> < 阅读全文
posted @ 2021-12-01 17:59 serena_uuu 阅读(234) 评论(0) 推荐(0) 编辑

2019年3月7日

摘要: public class ExportExcelUtil{ /** * 这是一个通用的方法,利用了JAVA的反射机制,可以将放置在JAVA集合中并且符号一定条件的数据以EXCEL 的形式输出到指定IO设备上 * * @param title * 表格标题名 * @param headers * 表格 阅读全文
posted @ 2019-03-07 11:54 serena_uuu 阅读(303) 评论(0) 推荐(0) 编辑

2018年10月8日

摘要: 1 爱心特效 <script type="text/javascript"> (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return windo 阅读全文
posted @ 2018-10-08 11:55 serena_uuu 阅读(100) 评论(0) 推荐(0) 编辑
 
摘要: 编码规范插件安装使用指南 阿里技术公众号公布的《阿里巴巴Java开发规约》,瞬间引起全民代码规范的热潮,后又发布了PDF的终极版,大家踊跃留言,期待配套的静态扫描工具开放出来。 为了让开发者更加方便、快速将规范推动并实行起来,阿里巴巴基于手册内容,研发了一套自动化的IDE检测插件(IDEA、Ecli 阅读全文
posted @ 2018-10-08 11:52 serena_uuu 阅读(792) 评论(0) 推荐(0) 编辑
 
摘要: 1:安装 Node.js lts版本的 https://nodejs.org/en/ 2:安装Yarn https://yarn.bootcss.com/docs/install.html 3:修改yarn库路径 yarn config set cache-folder "你自己的缓存文件夹" 5: 阅读全文
posted @ 2018-10-08 11:42 serena_uuu 阅读(414) 评论(0) 推荐(0) 编辑

2018年6月6日

摘要: Linux 基本命令 man man 是 Linux 的帮助手册,即 manual 。因为大多数程序都会自带手册,所以可以通过 man 命令获取帮助。执行以后,在 man page 页面中按 q 退出。 获取 ls 的帮助 man -f ls ls (1) - list directory cont 阅读全文
posted @ 2018-06-06 10:25 serena_uuu 阅读(328) 评论(0) 推荐(0) 编辑