1. 剔除掉多余的文档以及标记

This commit is contained in:
chenbowen
2025-11-28 18:12:00 +08:00
parent 30bd4810f5
commit 0c22975df0
432 changed files with 705 additions and 1650200 deletions

View File

@@ -51,7 +51,7 @@ public class CodegenController {
@Parameters({
@Parameter(name = "dataSourceConfigId", description = "数据源配置的编号", required = true, example = "1"),
@Parameter(name = "name", description = "表名,模糊匹配", example = "zt"),
@Parameter(name = "comment", description = "描述,模糊匹配", example = "芋道")
@Parameter(name = "comment", description = "描述,模糊匹配", example = "ZT")
})
@PreAuthorize("@ss.hasPermission('infra:codegen:query')")
public CommonResult<List<DatabaseTableRespVO>> getDatabaseTableList(

View File

@@ -16,7 +16,7 @@ public class CodegenTablePageReqVO extends PageParam {
@Schema(description = "表名称,模糊匹配", example = "zt")
private String tableName;
@Schema(description = "表描述,模糊匹配", example = "芋道")
@Schema(description = "表描述,模糊匹配", example = "ZT")
private String tableComment;
@Schema(description = "实体,模糊匹配", example = "Zt")

View File

@@ -18,7 +18,7 @@ public class CodegenTableRespVO {
@Schema(description = "表名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "zt")
private String tableName;
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
private String tableComment;
@Schema(description = "备注", example = "我是备注")
@@ -36,7 +36,7 @@ public class CodegenTableRespVO {
@Schema(description = "类描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "代码生成器的表定义")
private String classComment;
@Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
private String author;
@Schema(description = "模板类型,参见 CodegenTemplateTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")

View File

@@ -25,7 +25,7 @@ public class CodegenTableSaveReqVO {
@NotNull(message = "表名称不能为空")
private String tableName;
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@NotNull(message = "表描述不能为空")
private String tableComment;
@@ -48,7 +48,7 @@ public class CodegenTableSaveReqVO {
@NotNull(message = "类描述不能为空")
private String classComment;
@Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
@NotNull(message = "作者不能为空")
private String author;

View File

@@ -10,7 +10,7 @@ public class DatabaseTableRespVO {
@Schema(description = "表名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "yuanma")
private String name;
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道源码")
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT源码")
private String comment;
}

View File

@@ -12,7 +12,7 @@ import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH
@Data
public class Demo02CategoryListReqVO {
@Schema(description = "名字", example = "芋艿")
@Schema(description = "名字", example = "ZT")
private String name;
@Schema(description = "父级编号", example = "6080")

View File

@@ -16,7 +16,7 @@ public class Demo02CategoryRespVO {
@ExcelProperty("编号")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@ExcelProperty("名字")
private String name;

View File

@@ -12,7 +12,7 @@ public class Demo02CategorySaveReqVO {
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10304")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@NotEmpty(message = "名字不能为空")
private String name;

View File

@@ -13,7 +13,7 @@ import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH
@Data
public class Demo03StudentErpPageReqVO extends PageParam {
@Schema(description = "名字", example = "芋艿")
@Schema(description = "名字", example = "ZT")
private String name;
@Schema(description = "性别")

View File

@@ -18,7 +18,7 @@ public class Demo03StudentErpRespVO {
@ExcelProperty("编号")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@ExcelProperty("名字")
private String name;

View File

@@ -14,7 +14,7 @@ public class Demo03StudentErpSaveReqVO {
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8525")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@NotEmpty(message = "名字不能为空")
private String name;

View File

@@ -13,7 +13,7 @@ import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH
@Data
public class Demo03StudentInnerPageReqVO extends PageParam {
@Schema(description = "名字", example = "芋艿")
@Schema(description = "名字", example = "ZT")
private String name;
@Schema(description = "性别")

View File

@@ -18,7 +18,7 @@ public class Demo03StudentInnerRespVO {
@ExcelProperty("编号")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@ExcelProperty("名字")
private String name;

View File

@@ -17,7 +17,7 @@ public class Demo03StudentInnerSaveReqVO {
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8525")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@NotEmpty(message = "名字不能为空")
private String name;

View File

@@ -13,7 +13,7 @@ import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH
@Data
public class Demo03StudentNormalPageReqVO extends PageParam {
@Schema(description = "名字", example = "芋艿")
@Schema(description = "名字", example = "ZT")
private String name;
@Schema(description = "性别")

View File

@@ -18,7 +18,7 @@ public class Demo03StudentNormalRespVO {
@ExcelProperty("编号")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@ExcelProperty("名字")
private String name;

View File

@@ -17,7 +17,7 @@ public class Demo03StudentNormalSaveReqVO {
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8525")
private Long id;
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
@Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "ZT")
@NotEmpty(message = "名字不能为空")
private String name;

View File

@@ -89,7 +89,7 @@ public class ApiAccessLogRespVO {
@ExcelProperty("结果码")
private Integer resultCode;
@Schema(description = "结果提示", example = "芋道源码,牛逼!")
@Schema(description = "结果提示", example = "ZT源码,牛逼!")
@ExcelProperty("结果提示")
private String resultMsg;

View File

@@ -42,7 +42,7 @@ public class SecurityConfiguration {
registry.requestMatchers(buildAdminApi("/infra/doc-file/file-content")).permitAll();
registry.requestMatchers(buildAdminApi("/infra/doc-file/callback")).permitAll();
// TODO 芋艿:这个每个项目都需要重复配置,得捉摸有没通用的方案
// TODO ZT:这个每个项目都需要重复配置,得捉摸有没通用的方案
// RPC 服务的安全配置
registry.requestMatchers(ApiConstants.PREFIX + "/**").permitAll();
}

View File

@@ -210,7 +210,7 @@ public class CodegenBuilder {
}
// name
if (StrUtil.endWithIgnoreCase(column.getJavaField(), "name")) {
column.setExample(randomEle(new String[]{"张三", "李四", "王五", "赵六", "芋艿"}));
column.setExample(randomEle(new String[]{"张三", "李四", "王五", "赵六", "ZT"}));
return;
}
// status

View File

@@ -96,6 +96,6 @@ spring:
# Spring Boot Admin Server 服务端的相关配置
context-path: /admin # 配置 Spring
--- #################### 芋道相关配置 ####################
--- #################### ZT相关配置 ####################

View File

@@ -109,11 +109,11 @@ logging:
com.zt.plat.module.infra.dal.mysql: debug
com.zt.plat.module.infra.dal.mysql.logger.ApiErrorLogMapper: INFO # 配置 ApiErrorLogMapper 的日志级别为 info避免和 GlobalExceptionHandler 重复打印
com.zt.plat.module.infra.dal.mysql.file.FileConfigMapper: INFO # 配置 FileConfigMapper 的日志级别为 info
org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿先禁用Spring Boot 3.X 存在部分错误的 WARN 提示
org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO ZT先禁用Spring Boot 3.X 存在部分错误的 WARN 提示
--- #################### 芋道相关配置 ####################
--- #################### ZT相关配置 ####################
# 芋道配置项,设置当前项目所有自定义的配置
# ZT配置项,设置当前项目所有自定义的配置
zt:
env: # 多环境的配置项
tag: ${HOSTNAME}

View File

@@ -68,7 +68,7 @@ springdoc:
default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档
knife4j:
enable: false # TODO 芋艿需要关闭增强具体原因见https://github.com/xiaoymin/knife4j/issues/874
enable: false # TODO ZT需要关闭增强具体原因见https://github.com/xiaoymin/knife4j/issues/874
setting:
language: zh_cn
@@ -140,7 +140,7 @@ xxl:
logpath: ${user.home}/logs/xxl-job/${spring.application.name} # 执行器运行日志文件存储磁盘路径
accessToken: default_token # 执行器通讯TOKEN
--- #################### 芋道相关配置 ####################
--- #################### ZT相关配置 ####################
zt:
# 附件加密相关配置