init: 导入项目
This commit is contained in:
42
README.md
Normal file
42
README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# 快速开始(项目部署采用tomcat9)
|
||||
## 修改项目名称
|
||||
|
||||
使用全局替换groupId中 1)ag.后的内容 2)artifactId内容
|
||||
|
||||
## 设置资源文件夹
|
||||
|
||||

|
||||
|
||||
## 首次运行注意事项
|
||||
|
||||
### install整个工程
|
||||
|
||||
### 添加tomcat
|
||||
|
||||
设置ILogBizSystem为启动项目
|
||||
|
||||
tomcat9版本增加启动参数
|
||||
|
||||
**-Dfile.encoding=UTF-8**
|
||||
|
||||
## 使用mybatis-plus-generator
|
||||
|
||||
### 启动位置
|
||||
位于test下,如果存在多个启动项目可以复制ApplicationTests分别设置
|
||||
|
||||
### 修改配置
|
||||
|
||||
根据需要放置生成类,接口位置自定义设置
|
||||
|
||||
### 生成表
|
||||
|
||||
.run(后设置所需生成的表(可以输入多个表名)
|
||||
|
||||
**生成为mybatisplus标准的接口**
|
||||
|
||||
## 版本历史
|
||||
**2022-11-12 添加监控sql需求**
|
||||
- 添加pom.xml引入p6spy
|
||||
- 添加输出sql格式和输出方式类,CustomSqlLogger和CustomOutlooger类
|
||||
- 修改datasource.properties,修改driver class指向p6spy
|
||||
- 添加spy.properties配置文件,其中driverlist要替换成指定数据库类型的驱动类
|
||||
Reference in New Issue
Block a user