摘要:
2023-09-10 version字段表示乐观锁 在表结构中添加一个字段表示乐观锁 package com.hh.domain; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatispl 阅读全文
摘要:
2023-09-10 @Data @TableName("tbl_phone") public class Phone { @TableField(select = false) private Integer id; private String type; private String name 阅读全文
摘要:
2023-09-10 目录结构 logback.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> </configuration> application.yml spring: datasource: driver-class-n 阅读全文
摘要:
2023-09-10 mybatis-plus中添加的依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.0</version> 阅读全文
摘要:
2023-09-10 spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:33 阅读全文
摘要:
2023-09-10 spring: profiles: active: dev spring: profiles: dev server: port: 8080 spring: profiles: pro server: port: 8081 spring: profiles: test serv 阅读全文
摘要:
2023-09-10 maven中配置多环境的写法 <!-- 多环境配置--> <profiles> <!-- 开发环境--> <profile> <id>env_dep</id> <properties> <jdbc.url>jdbc:mysql://127.0.0.1:3306/db01?use 阅读全文