|
|
|
@ -3,6 +3,7 @@ package com.elink.esua.epdc.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.ParentAndAllDeptDTO; |
|
|
|
import com.elink.esua.epdc.dto.SysSimpleDictDTO; |
|
|
|
import com.elink.esua.epdc.feign.fallback.AdminFeignClientFallback; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
@ -39,4 +40,15 @@ public interface AdminFeignClient { |
|
|
|
*/ |
|
|
|
@GetMapping("/sys/dept/getParentAndAllDept/{deptId}") |
|
|
|
Result<ParentAndAllDeptDTO> getParentAndAllDept(@PathVariable("deptId") String deptId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据数据字典类型获取简版数据字典列表,用于页面下拉菜单 |
|
|
|
* |
|
|
|
* @param dictType 数据字典类型 |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<ParentAndAllDeptDTO> |
|
|
|
* @Author zhangyong |
|
|
|
* @Date 18:40 2020-05-18 |
|
|
|
*/ |
|
|
|
@GetMapping("/sys/dict/listSimple/{dictType}") |
|
|
|
Result<List<SysSimpleDictDTO>> getListSimpleByDictType(@PathVariable("dictType") String dictType); |
|
|
|
} |
|
|
|
|