feat: 优化代码生成策略,完美适配项目结构

This commit is contained in:
landaiqing
2024-06-02 21:52:30 +08:00
parent 623ca1b91a
commit a9d0bb01cc
44 changed files with 2137 additions and 244 deletions

View File

@@ -8,23 +8,23 @@
# 数据库连接信息
jdbc:
dbName: schisandra-cloud-storage
tableName: schisandra_auth_role_permission
tableName: schisandra_oss_aws
url: jdbc:mysql://1.95.0.111:3306/
username: root
password: LDQ20020618xxx
driver: com.mysql.cj.jdbc.Driver
# 使用的模板与生成文件映射给关系
mapperInfos: genCode/authMapper.yml
mapperInfos: genCode/Mapper.yml
# 全局参数
params:
# 作者
author: landaiqing
# 模块
module: auth
module: oss
# controller 通用前缀
api: /auth/permission/
api: /oss/aws/
# 生成对象是否移除前缀
removePre: false
# 使用内置函数赋值给变量 FunctionUtils 中替换