Commit 29177e08c6120a5a2896cc5ca151186d5193b783
1 parent
90001fa7e5
Exists in
master
and in
7 other branches
修改产检删除
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
29177e0
| ... | ... | @@ -483,8 +483,10 @@ |
| 483 | 483 | users.setOrganization(organization); |
| 484 | 484 | //是否是建档医院 |
| 485 | 485 | users.setbStatus(organization.getbStatus()); |
| 486 | + | |
| 487 | + String hospital=autoMatchFacade.getHospitalId(loginContext.getId()); | |
| 486 | 488 | //设置建档方式 |
| 487 | - String groupId= groupsFacade.findByCurrentUserId(loginContext.getId()+""); | |
| 489 | + String groupId= groupsFacade.findByCurrentUserId(hospital); | |
| 488 | 490 | Integer bType= GroupEnums.BuildType.SINGLE.getbType(); |
| 489 | 491 | if(StringUtils.isNotEmpty(groupId)){ |
| 490 | 492 | OrganizationGroups groups= groupsService.findById(groupId); |