| | |
| | | import com.ard.common.core.domain.R; |
| | | import com.ard.common.core.web.domain.TreeDeptWell; |
| | | import com.ard.system.api.domain.SysDept; |
| | | import com.ard.system.api.domain.SysUser; |
| | | import com.ard.system.api.factory.RemoteDeptFallbackFactory; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | public interface RemoteDeptService |
| | | { |
| | | /** |
| | | * 查询所有部门信息 |
| | | * |
| | | * @param sysDept 部门信息 |
| | | * @return 用户对象信息列表 |
| | | */ |
| | | @PostMapping(value ="/api/dept/list") |
| | | public R<List<SysDept>> list(@RequestBody SysDept sysDept, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); |
| | | /** |
| | | * 根据deptList查询出用户及以下的所有部门信息 |
| | | * |
| | | * @param deptIds deptIds |