【修改】 名称替换

This commit is contained in:
DESKTOP-932OMT8\REN
2025-05-21 17:28:26 +08:00
parent 3bd8a424ec
commit b5f18ba897
1212 changed files with 1262 additions and 1270 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -17,7 +17,7 @@ import java.time.LocalDateTime;
* 为什么实现 {@link TransPojo} 接口?
* 因为使用 Easy-Trans TransType.SIMPLE 模式,集成 MyBatis Plus 查询
*
* @author 芋道源码
* @author 朋辰
*/
@Data
@JsonIgnoreProperties(value = "transMap") // 由于 Easy-Trans 会添加 transMap 属性,避免 Jackson 在 Spring Cache 反序列化报错

View File

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

View File

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

View File

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

View File

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

View File

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