摘要:
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
阅读(3474)
推荐(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
阅读(3207)
推荐(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
阅读(191)
推荐(0)
摘要:
Springboot & Mybatis 构建restful 服务五 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务四 成功执行完Springboot & Mybatis 构建restful 服务四 2 restful service 整合 swigger
阅读全文
posted @ 2017-03-07 16:27
serena_uuu
阅读(1121)
推荐(0)
摘要:
Springboot & Mybatis 构建restful 服务四 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务三 成功执行完Springboot & Mybatis 构建restful 服务三 2 restful service 添加 Apache
阅读全文
posted @ 2017-03-07 16:25
serena_uuu
阅读(409)
推荐(0)
摘要:
Springboot & Mybatis 构建restful 服务三 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务二 成功执行完Springboot & Mybatis 构建restful 服务二 2 restful service 添加日志 1)新建
阅读全文
posted @ 2017-03-07 16:24
serena_uuu
阅读(776)
推荐(0)
摘要:
Springboot & Mybatis 构建restful 服务二 1 前置条件 成功执行完Springboot & Mybatis 构建restful 服务一 成功执行完Springboot & Mybatis 构建restful 服务一 2 restful service 打包问题 要求打
阅读全文
posted @ 2017-03-07 16:22
serena_uuu
阅读(400)
推荐(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
阅读(3366)
推荐(0)
摘要:
日志根据业务和等级拆分 1 导入依赖 <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <
阅读全文
posted @ 2022-11-08 17:33
serena_uuu
阅读(43)
推荐(0)
摘要:
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
阅读(403)
推荐(0)
摘要:
public class ExportExcelUtil{ /** * 这是一个通用的方法,利用了JAVA的反射机制,可以将放置在JAVA集合中并且符号一定条件的数据以EXCEL 的形式输出到指定IO设备上 * * @param title * 表格标题名 * @param headers * 表格
阅读全文
posted @ 2019-03-07 11:54
serena_uuu
阅读(313)
推荐(0)
摘要:
1 爱心特效 <script type="text/javascript"> (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return windo
阅读全文
posted @ 2018-10-08 11:55
serena_uuu
阅读(112)
推荐(0)
摘要:
编码规范插件安装使用指南 阿里技术公众号公布的《阿里巴巴Java开发规约》,瞬间引起全民代码规范的热潮,后又发布了PDF的终极版,大家踊跃留言,期待配套的静态扫描工具开放出来。 为了让开发者更加方便、快速将规范推动并实行起来,阿里巴巴基于手册内容,研发了一套自动化的IDE检测插件(IDEA、Ecli
阅读全文
posted @ 2018-10-08 11:52
serena_uuu
阅读(832)
推荐(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
阅读(427)
推荐(0)
摘要:
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
阅读(448)
推荐(0)