Commit dbfa5aca427a9f55ca2d7601d221636d603828c7
1 parent
6ca5c3700b
Exists in
master
and in
1 other branch
platform permission
add return pageinfo
Showing 1 changed file with 0 additions and 13 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
dbfa5ac
... | ... | @@ -648,9 +648,6 @@ |
648 | 648 | public void updateUsers(HttpServletResponse response, |
649 | 649 | HttpServletRequest request, |
650 | 650 | @PathVariable(value = "id") Integer id, |
651 | - @RequestParam(value = "deptId",required = false) Integer deptId, | |
652 | - @RequestParam(value = "orgId",required = false) Integer orgId, | |
653 | - @RequestParam(value = "ksId",required = false) Integer ksId, | |
654 | 651 | @RequestParam(value = "name",required = false) String name, |
655 | 652 | @RequestParam(value = "account",required = false)String account, |
656 | 653 | @RequestParam(value = "phone",required = false) String phone, |
657 | 654 | |
... | ... | @@ -660,14 +657,7 @@ |
660 | 657 | |
661 | 658 | |
662 | 659 | |
663 | - Departments departments = departmentsService.getDepartments(deptId); | |
664 | - Organization organization = organizationService.getOrganization(orgId); | |
665 | 660 | |
666 | - if(null == departments || null == organization) { | |
667 | - ResultUtils.buildParameterErrorResultAndWrite(response); | |
668 | - return; | |
669 | - } | |
670 | - | |
671 | 661 | //获取登录用户 |
672 | 662 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
673 | 663 | Users user = usersService.getUsers(loginState.getId()); |
... | ... | @@ -687,9 +677,6 @@ |
687 | 677 | |
688 | 678 | Users users = usersList.get(0); |
689 | 679 | users.setId(id); |
690 | - users.setDeptId(deptId); | |
691 | - users.setKsId(ksId); | |
692 | - users.setOrgId(orgId); | |
693 | 680 | users.setName(name); |
694 | 681 | users.setAccount(account); |
695 | 682 | users.setPhone(phone); |