- 博客(6)
- 问答 (1)
- 收藏
- 关注
原创 Gradle版本问题
@Idea Gradle版本不匹配 Gradle版本问题 java.lang.AbstractMethodError: org.jetbrains.plugins.gradle.tooling.util.ModuleComponentIdentifierImpl.getModuleIdentifier()Lorg/gradle/api/artifacts/ModuleIdentifier Idea 2018.1不支持gradle-5.0以上版本。可以选择gradle-4.0+版本 ...
2020-07-03 11:23:56
490
原创 IDEA Springboot 项目热部署
Springboot项目热部署的几种方式 1、添加依赖 //gradle热部署 compile ('org.springframework.boot:spring-boot-devtools') //Maven热部署 <dependency> <groupId>org.springframework.boot</groupId> ...
2019-02-19 13:42:57
273
翻译 Mybatis Generator 不识别主键,无法生成selectByPrimaryKey方法
Mybatis Generator 不识别主键,无法生成selectByPrimaryKey方法 在jdbcConnection添加useInformationSchema为true <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver" connectionURL="jdbc:mysql://127.0....
2019-02-12 15:33:20
3290
1
原创 查询近7天,近1个月,近3个月每天的数据量,查询近一年每个月的数据量
统计近7天每天,近一个月每天,近三个月每天,近一年每个月的新增数量,用于画折线图,由于是根据create_time字段统计的,所以如果有一天没有新增,就会缺少这一天的日期,要对日期进行补充,当天没有新增的new_count置为0,所以要建立一个日期表calendar 1、查询单表account,近7天每天新增的数量 SELECT IFNULL(COUNT(a.create_time), 0...
2018-01-04 15:17:06
17505
原创 List<Map>>按某个字段排序
对service层返回的数据进行排序 1、controller @GetMapping(value = "/per/{perId}", produces = {"application/json;charset=UTF-8"}) @ResponseBody public String getInfo(@PathVariable String perId) throws ControllerE...
2017-07-14 16:06:44
1929
原创 Idea热部署,安装jrebel
1、 File->Settings->Plugins->搜索jrebel->searchrepositories->选择JRebel for IntelliJ->Install 2、 登录网站https://my.jrebel.com/ 3、 注册/登录Twitter或facebook账号 4、 登录邮箱,查看邮件中的链接,复制Activation
2017-06-15 13:56:32
1258
空空如也
mysql如何查询近三个月每周的数据量,查询近一年每个月的数据量?
2017-12-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅