|
@@ -267,6 +267,19 @@ public class UserController {
|
|
|
List<UserEntity> result = userService.findUserIdsByOrgId(list);
|
|
|
return new AjaxMessage<>(ResultStatus.OK,result);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询运维人员
|
|
|
+ * @param ids
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/findUserIdsByOrgIdAndType", method = RequestMethod.GET)
|
|
|
+ public AjaxMessage<List<UserEntity>> findUserIdsByOrgIdAndType(String ids) {
|
|
|
+ List list = JSONObject.parseObject(ids, List.class);
|
|
|
+ List<UserEntity> result = userService.findUserIdsByOrgIdAndType(list);
|
|
|
+ return new AjaxMessage<>(ResultStatus.OK,result);
|
|
|
+ }
|
|
|
+
|
|
|
@RequestMapping(value = "/findUserList", method = RequestMethod.GET)
|
|
|
public AjaxMessage<List<UserListDto>> findUserList(Integer type) {
|
|
|
List<UserListDto> userList = userService.findUserList(type);
|