Files
AG-ONE/README.md

45 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

# 知识库
https://fengjunnn.gitlab.io/ag-k-vuepress/
2024-07-02 11:40:01 +08:00
# 快速开始(项目部署采用tomcat9)
## 修改项目名称
使用全局替换groupId中 1)ag.后的内容 2)artifactId内容
## 设置资源文件夹
![](https://fjtc-1256213302.cos.ap-nanjing.myqcloud.com/img/202211011026762.png)
## 首次运行注意事项
### 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要替换成指定数据库类型的驱动类