Commit 06888308 by xieshaohua

获取mccl机构列表

parent edcc6cbb
...@@ -248,6 +248,14 @@ public class PeopleCenterApi { ...@@ -248,6 +248,14 @@ public class PeopleCenterApi {
} }
@PostMapping(value = "/getOrganMcclList")
public List<SsoOrganMcclAbstract> getOrganMcclList(@RequestParam(required = false) String rootId) {
List<SsoOrganMcclAbstract> result = new ArrayList<>();
ssoOrganMcclRepository.findAll().forEach(e -> result.add(e));
return result;
}
@RequestMapping(value = "/userSync", method = {RequestMethod.POST, RequestMethod.GET}) @RequestMapping(value = "/userSync", method = {RequestMethod.POST, RequestMethod.GET})
@Async @Async
public void userSync(HttpServletRequest request, @RequestParam(required = false) Integer startPage, public void userSync(HttpServletRequest request, @RequestParam(required = false) Integer startPage,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment