|
@@ -280,15 +280,10 @@ public class UserController {
|
|
|
}
|
|
|
@RequestMapping(value = "/findUserIdsByUserIds", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
- public Map<Long,String> findUserIdsByUserIds(Long[] ids) {
|
|
|
+ public List<UserEntity> findUserIdsByUserIds(Long[] ids) {
|
|
|
List list = Arrays.asList(ids.clone());
|
|
|
List<UserEntity> result = userService.findUserIdsByUserIds(list);
|
|
|
- Map<Long,String> userInfos = new HashMap<>();
|
|
|
- for(UserEntity item : result)
|
|
|
- {
|
|
|
- userInfos.put(item.getId(),item.getUsername());
|
|
|
- }
|
|
|
- return userInfos;
|
|
|
+ return result;
|
|
|
}
|
|
|
@ApiOperation(value = "获取登录用户所属机构及其上级机构用户信息")
|
|
|
@RequestMapping(value = "/findUserIdsForOrg", method = RequestMethod.GET)
|