From 6da1506479debb1863b8131d3fd1172c0802a5c5 Mon Sep 17 00:00:00 2001 From: yujt Date: Fri, 22 May 2020 09:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B9=E6=B3=95=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/elink/esua/epdc/modules/feign/AdminFeignClient.java | 3 ++- .../epdc/modules/feign/fallback/AdminFeignClientFallback.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/AdminFeignClient.java b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/AdminFeignClient.java index 6304f68..4734141 100644 --- a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/AdminFeignClient.java +++ b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/AdminFeignClient.java @@ -2,6 +2,7 @@ package com.elink.esua.epdc.modules.feign; import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; import com.elink.esua.epdc.commons.tools.utils.Result; +import com.elink.esua.epdc.dto.DeptLevelAndLeaderDTO; import com.elink.esua.epdc.dto.ParentAndAllDeptDTO; import com.elink.esua.epdc.modules.feign.fallback.AdminFeignClientFallback; import org.springframework.cloud.openfeign.FeignClient; @@ -50,5 +51,5 @@ public interface AdminFeignClient { * @date 2020/5/22 08:57 */ @GetMapping("optimize/deptlevel/listByParent/{typeKey}/{deptId}") - Result> listChildDeptLevelById(@PathVariable("typeKey") String typeKey, @PathVariable("deptId") Long deptId); + Result> listChildDeptLevelById(@PathVariable("typeKey") String typeKey, @PathVariable("deptId") Long deptId); } diff --git a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/fallback/AdminFeignClientFallback.java b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/fallback/AdminFeignClientFallback.java index ec461b2..3952650 100644 --- a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/fallback/AdminFeignClientFallback.java +++ b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/feign/fallback/AdminFeignClientFallback.java @@ -3,6 +3,7 @@ package com.elink.esua.epdc.modules.feign.fallback; import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; import com.elink.esua.epdc.commons.tools.utils.ModuleUtils; import com.elink.esua.epdc.commons.tools.utils.Result; +import com.elink.esua.epdc.dto.DeptLevelAndLeaderDTO; import com.elink.esua.epdc.dto.ParentAndAllDeptDTO; import com.elink.esua.epdc.modules.feign.AdminFeignClient; import org.springframework.stereotype.Component; @@ -28,7 +29,7 @@ public class AdminFeignClientFallback implements AdminFeignClient { } @Override - public Result> listChildDeptLevelById(String typeKey, Long deptId) { + public Result> listChildDeptLevelById(String typeKey, Long deptId) { return ModuleUtils.feignConError(ServiceConstant.EPDC_ADMIN_SERVER, "listChildDeptLevelById", typeKey, deptId); } }