1. 替换原始 code 签名

2. 服务与模块生成器,支持指定起始端口批量端口分配

(cherry picked from commit e99da38fd4)
This commit is contained in:
chenbowen
2025-09-02 10:15:16 +08:00
committed by chenbowen
parent 9929ae8a39
commit 1e1216c150
778 changed files with 876 additions and 801 deletions

View File

@@ -14,7 +14,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
* 数据库配置类
*
* @author 芋道源码
* @author ZT
*/
@AutoConfiguration
@EnableTransactionManagement(proxyTargetClass = true) // 启动事务管理

View File

@@ -12,7 +12,7 @@ import java.io.IOException;
/**
* Druid 底部广告过滤器
*
* @author 芋道源码
* @author ZT
*/
public class DruidAdRemoveFilter extends OncePerRequestFilter {

View File

@@ -15,7 +15,7 @@ import java.util.Set;
/**
* 当 IdType 为 {@link IdType#NONE} 时,根据 PRIMARY 数据源所使用的数据库,自动设置
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
public class IdTypeEnvironmentPostProcessor implements EnvironmentPostProcessor {

View File

@@ -23,7 +23,7 @@ import java.util.concurrent.TimeUnit;
/**
* MyBaits 配置类
*
* @author 芋道源码
* @author ZT
*/
@AutoConfiguration(before = MybatisPlusAutoConfiguration.class) // 目的:先于 MyBatis Plus 自动配置,避免 @MapperScan 可能扫描不到 Mapper 打印 warn 日志
@MapperScan(value = "${yudao.info.base-package}", annotationClass = Mapper.class,

View File

@@ -16,7 +16,7 @@ import java.sql.SQLException;
* 字段字段的 TypeHandler 实现类,基于 {@link AES} 实现
* 可通过 jasypt.encryptor.password 配置项,设置密钥
*
* @author 芋道源码
* @author ZT
*/
public class EncryptTypeHandler extends BaseTypeHandler<String> {

View File

@@ -16,7 +16,7 @@ import java.util.List;
/**
* List<Long> 的类型转换器实现类,对应数据库的 varchar 类型
*
* @author 芋道源码
* @author ZT
*/
@MappedJdbcTypes(JdbcType.VARCHAR)
@MappedTypes(List.class)

View File

@@ -17,7 +17,7 @@ import java.util.Set;
/**
* Set<Long> 的类型转换器实现类,对应数据库的 varchar 类型
*
* @author 芋道源码
* @author ZT
*/
@MappedJdbcTypes(JdbcType.VARCHAR)
@MappedTypes(List.class)

View File

@@ -15,7 +15,7 @@ import java.sql.SQLException;
/**
* JDBC 工具类
*
* @author 芋道源码
* @author ZT
*/
public class JdbcUtils {

View File

@@ -9,7 +9,7 @@ import java.util.List;
/**
* VO 数据翻译 Utils
*
* @author 芋道源码
* @author ZT
*/
public class TranslateUtils {