|
@@ -6,14 +6,12 @@ import com.ruoyi.common.translation.core.TranslationInterface;
|
|
|
import com.ruoyi.system.api.RemoteDeptService;
|
|
import com.ruoyi.system.api.RemoteDeptService;
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 部门翻译实现
|
|
* 部门翻译实现
|
|
|
*
|
|
*
|
|
|
* @author Lion Li
|
|
* @author Lion Li
|
|
|
*/
|
|
*/
|
|
|
-@Component
|
|
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
@TranslationType(type = TransConstant.DEPT_ID_TO_NAME)
|
|
@TranslationType(type = TransConstant.DEPT_ID_TO_NAME)
|
|
|
public class DeptNameTranslationImpl implements TranslationInterface<String> {
|
|
public class DeptNameTranslationImpl implements TranslationInterface<String> {
|