上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 33 下一页
摘要: 1、首先创建一个maven项目 2、导入相关的依赖 注意:lombok的版本 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www 阅读全文
posted @ 2022-11-14 23:06 我也有梦想呀 阅读(120) 评论(0) 推荐(0)
摘要: pom.xml <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding 阅读全文
posted @ 2022-11-14 20:58 我也有梦想呀 阅读(1048) 评论(0) 推荐(0)
摘要: List<String> list = new ArrayList<>(); boolean a = list.stream().anyMatch("a"::equals); // If the stream is empty then false is returned and the predi 阅读全文
posted @ 2022-11-10 13:36 我也有梦想呀 阅读(69) 评论(0) 推荐(0)
摘要: 问题现象 路由 页面效果 解决办法 路由添加中配置 alwaysShow: true, // 树形层级显示 页面效果 阅读全文
posted @ 2022-10-30 22:00 我也有梦想呀 阅读(59) 评论(0) 推荐(0)
摘要: 在pmo.xml中加入两个依赖 <!--增加两个配置--> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>${swagger-models.versio 阅读全文
posted @ 2022-10-30 21:51 我也有梦想呀 阅读(33) 评论(0) 推荐(0)
摘要: 1、导入相关依赖 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </depend 阅读全文
posted @ 2022-10-25 21:47 我也有梦想呀 阅读(154) 评论(0) 推荐(0)
摘要: MySQL日期查询 1、今天 select * from 表名 where to_days(时间字段名) = to_days(now()); 2、昨天 SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 1; 3、7天 SELE 阅读全文
posted @ 2022-10-20 16:10 我也有梦想呀 阅读(946) 评论(0) 推荐(0)
摘要: 导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 配置Redis连接信息 spring 阅读全文
posted @ 2022-10-19 21:44 我也有梦想呀 阅读(268) 评论(0) 推荐(0)
摘要: CURRENT_TIMESTAMP alter table 表名 modify column update_time DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间'; 阅读全文
posted @ 2022-09-20 15:55 我也有梦想呀 阅读(892) 评论(0) 推荐(0)
摘要: 一、使用Docker安装minio docker run -d -p 9000:9000 -p 9001:9001 --name minio -e MINIO_ACCESS_KEY=qbb -e MINIO_SECRET_KEY=startqbb -v /opt/minio/data:/data - 阅读全文
posted @ 2022-09-19 17:00 我也有梦想呀 阅读(1453) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 33 下一页