com.ruoyi
diff --git a/ruoyi-common/ruoyi-common-translation/pom.xml b/ruoyi-common/ruoyi-common-translation/pom.xml
deleted file mode 100644
index 51199d5..0000000
--- a/ruoyi-common/ruoyi-common-translation/pom.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- com.ruoyi
- ruoyi-common
- ${revision}
-
- 4.0.0
-
- ruoyi-common-translation
-
-
- ruoyi-common-translation 通用翻译功能
-
-
-
-
-
- com.ruoyi
- ruoyi-common-json
-
-
-
-
-
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/Translation.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/Translation.java
deleted file mode 100644
index 1a74001..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/Translation.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package com.ruoyi.common.translation.annotation;
-
-import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
-import com.fasterxml.jackson.databind.annotation.JsonSerialize;
-import com.ruoyi.common.translation.core.handler.TranslationHandler;
-
-import java.lang.annotation.*;
-
-/**
- * 通用翻译注解
- *
- * @author Lion Li
- */
-@Inherited
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.FIELD, ElementType.METHOD})
-@Documented
-@JacksonAnnotationsInside
-@JsonSerialize(using = TranslationHandler.class)
-public @interface Translation {
-
- /**
- * 类型 (需与实现类上的 {@link TranslationType} 注解type对应)
- *
- * 默认取当前字段的值 如果设置了 @{@link Translation#mapper()} 则取映射字段的值
- */
- String type();
-
- /**
- * 映射字段 (如果不为空则取此字段的值)
- */
- String mapper() default "";
-
- /**
- * 其他条件 例如: 字典type(sys_user_sex)
- */
- String other() default "";
-
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/TranslationType.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/TranslationType.java
deleted file mode 100644
index e90ee38..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/annotation/TranslationType.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.ruoyi.common.translation.annotation;
-
-import com.ruoyi.common.translation.core.TranslationInterface;
-
-import java.lang.annotation.*;
-
-/**
- * 翻译类型注解 (标注到{@link TranslationInterface} 的实现类)
- *
- * @author Lion Li
- */
-@Inherited
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE})
-@Documented
-public @interface TranslationType {
-
- /**
- * 类型
- */
- String type();
-
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/config/TranslationConfig.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/config/TranslationConfig.java
deleted file mode 100644
index a9aefe5..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/config/TranslationConfig.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package com.ruoyi.common.translation.config;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.ruoyi.common.translation.annotation.TranslationType;
-import com.ruoyi.common.translation.core.TranslationInterface;
-import com.ruoyi.common.translation.core.handler.TranslationBeanSerializerModifier;
-import com.ruoyi.common.translation.core.handler.TranslationHandler;
-import jakarta.annotation.PostConstruct;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.AutoConfiguration;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * 翻译模块配置类
- *
- * @author Lion Li
- */
-@Slf4j
-@AutoConfiguration
-public class TranslationConfig {
-
- @Autowired
- private List> list;
-
- @Autowired
- private ObjectMapper objectMapper;
-
- @PostConstruct
- public void init() {
- Map> map = new HashMap<>(list.size());
- for (TranslationInterface> trans : list) {
- if (trans.getClass().isAnnotationPresent(TranslationType.class)) {
- TranslationType annotation = trans.getClass().getAnnotation(TranslationType.class);
- map.put(annotation.type(), trans);
- } else {
- log.warn(trans.getClass().getName() + " 翻译实现类未标注 TranslationType 注解!");
- }
- }
- TranslationHandler.TRANSLATION_MAPPER.putAll(map);
- // 设置 Bean 序列化修改器
- objectMapper.setSerializerFactory(
- objectMapper.getSerializerFactory()
- .withSerializerModifier(new TranslationBeanSerializerModifier()));
- }
-
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/constant/TransConstant.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/constant/TransConstant.java
deleted file mode 100644
index 1cfec58..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/constant/TransConstant.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package com.ruoyi.common.translation.constant;
-
-/**
- * 翻译常量
- *
- * @author Lion Li
- */
-public interface TransConstant {
-
- /**
- * 用户id转账号
- */
- String USER_ID_TO_NAME = "user_id_to_name";
-
- /**
- * 部门id转名称
- */
- String DEPT_ID_TO_NAME = "dept_id_to_name";
-
- /**
- * 字典type转label
- */
- String DICT_TYPE_TO_LABEL = "dict_type_to_label";
-
- /**
- * ossId转url
- */
- String OSS_ID_TO_URL = "oss_id_to_url";
-
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/TranslationInterface.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/TranslationInterface.java
deleted file mode 100644
index d5c9ec7..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/TranslationInterface.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.ruoyi.common.translation.core;
-
-import com.ruoyi.common.translation.annotation.TranslationType;
-
-/**
- * 翻译接口 (实现类需标注 {@link TranslationType} 注解标明翻译类型)
- *
- * @author Lion Li
- */
-public interface TranslationInterface {
-
- /**
- * 翻译
- *
- * @param key 需要被翻译的键(不为空)
- * @param other 其他参数
- * @return 返回键对应的值
- */
- T translation(Object key, String other);
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationBeanSerializerModifier.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationBeanSerializerModifier.java
deleted file mode 100644
index fb3f6f7..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationBeanSerializerModifier.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.ruoyi.common.translation.core.handler;
-
-import com.fasterxml.jackson.databind.BeanDescription;
-import com.fasterxml.jackson.databind.SerializationConfig;
-import com.fasterxml.jackson.databind.ser.BeanPropertyWriter;
-import com.fasterxml.jackson.databind.ser.BeanSerializerModifier;
-
-import java.util.List;
-
-/**
- * Bean 序列化修改器 解决 Null 被单独处理问题
- *
- * @author Lion Li
- */
-public class TranslationBeanSerializerModifier extends BeanSerializerModifier {
-
- @Override
- public List changeProperties(SerializationConfig config, BeanDescription beanDesc,
- List beanProperties) {
- for (BeanPropertyWriter writer : beanProperties) {
- // 如果序列化器为 TranslationHandler 的话 将 Null 值也交给他处理
- if (writer.getSerializer() instanceof TranslationHandler serializer) {
- writer.assignNullSerializer(serializer);
- }
- }
- return beanProperties;
- }
-
-}
diff --git a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationHandler.java b/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationHandler.java
deleted file mode 100644
index ac10ee5..0000000
--- a/ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/handler/TranslationHandler.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package com.ruoyi.common.translation.core.handler;
-
-import cn.hutool.core.util.ObjectUtil;
-import com.fasterxml.jackson.core.JsonGenerator;
-import com.fasterxml.jackson.databind.BeanProperty;
-import com.fasterxml.jackson.databind.JsonMappingException;
-import com.fasterxml.jackson.databind.JsonSerializer;
-import com.fasterxml.jackson.databind.SerializerProvider;
-import com.fasterxml.jackson.databind.ser.ContextualSerializer;
-import com.ruoyi.common.translation.annotation.Translation;
-import com.ruoyi.common.translation.core.TranslationInterface;
-import com.ruoyi.common.core.utils.StringUtils;
-import com.ruoyi.common.core.utils.reflect.ReflectUtils;
-import lombok.extern.slf4j.Slf4j;
-
-import java.io.IOException;
-import java.util.Map;
-import java.util.Objects;
-import java.util.concurrent.ConcurrentHashMap;
-
-/**
- * 翻译处理器
- *
- * @author Lion Li
- */
-@Slf4j
-public class TranslationHandler extends JsonSerializer
-