| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * name: IRemoteDeptService |
| | | * package: cc.mrbird.febs.server.hr.feign |
| | |
| | | */ |
| | | @FeignClient(value = FebsServerConstant.FEBS_SERVER_SYSTEM, contextId = "deptServiceClient", fallbackFactory = RemoteDeptServiceFallback.class) |
| | | public interface IRemoteDeptService { |
| | | // @GetMapping("dept") |
| | | // FebsResponse deptList(@RequestParam("queryRequest") QueryRequest queryRequest, @RequestParam("dept") Dept depts); |
| | | |
| | | @GetMapping("dept") |
| | | FebsResponse deptList(@RequestParam("queryRequest") QueryRequest queryRequest, @RequestParam("dept") Dept depts); |
| | | List<Dept> selectAllDept(Dept dept); |
| | | } |