会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
市丸银
知行合一
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
100
下一页
2025年5月10日
springboot 逻辑删除、创建时间、更新时间实现 返回值 忽略 逻辑删除字段、创建时间字段和更新时间字段 不同时区(越南)
摘要: 注意:创建实体类 父类 BaseEntity @Data public class BaseEntity implements Serializable { @Schema(description = "主键") @TableId(value = "id", type = IdType.AUTO)
阅读全文
posted @ 2025-05-10 15:56 市丸银
阅读(177)
评论(0)
推荐(0)
2025年5月8日
springboot3.4.5 配置Knife4j 官方推荐使用
摘要: 网址: http://localhost:8080/doc.html#/home 一、注入依赖 <!-- SpringDoc OpenAPI UI --> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-open
阅读全文
posted @ 2025-05-08 20:28 市丸银
阅读(880)
评论(0)
推荐(0)
springboot3.4.5 配置mybatis-plus
摘要: 一、引入依赖 <!--数据库相关依赖--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-spring-boot3-starter</artifactId> <version>3.5.11</version
阅读全文
posted @ 2025-05-08 19:12 市丸银
阅读(1442)
评论(0)
推荐(0)
springboot3.4.5 swagger配置
摘要: 一、依赖 <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> <version>2.0.4</version> </dependency>
阅读全文
posted @ 2025-05-08 12:25 市丸银
阅读(241)
评论(0)
推荐(0)
springboot3.4.5 log4j2 日志配置
摘要: 一、引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <exclusions> <exclusion> <groupId>org.spr
阅读全文
posted @ 2025-05-08 10:30 市丸银
阅读(233)
评论(0)
推荐(0)
2025年5月3日
springboot3 maven yaml mybatis-plus
摘要: 一、maven <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
posted @ 2025-05-03 14:38 市丸银
阅读(118)
评论(0)
推荐(0)
2025年5月2日
springboot3 mybatis-plus 分页
摘要: 一、自带查询的分页 1、mapper public interface UserMapper extends BaseMapper<User> { } 2、获取 Page<User> page = new Page<>(1, 3); userMapper.selectPage(page, null)
阅读全文
posted @ 2025-05-02 21:42 市丸银
阅读(329)
评论(0)
推荐(0)
springboot3 maven yaml文件 mybatis
摘要: 一、yaml # 配置 server: port: 8081 servlet: context-path: /api # 数据库 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.dru
阅读全文
posted @ 2025-05-02 17:41 市丸银
阅读(71)
评论(0)
推荐(0)
2025年5月1日
springboot3 druid连接池
摘要: 一、依赖(maven) <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst
阅读全文
posted @ 2025-05-01 23:03 市丸银
阅读(137)
评论(0)
推荐(0)
2025年4月30日
ssm jdbc文件
摘要: jdbc.username=root jdbc.password=123 jdbc.url=jdbc:mysql://localhost:3306/数据库名?allowMultiQueries=true jdbc.driver=com.mysql.cj.jdbc.Driver
阅读全文
posted @ 2025-04-30 17:06 市丸银
阅读(26)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
100
下一页
公告