|
@@ -145,6 +145,15 @@ public class UserController {
|
|
|
return success(UserConvert.INSTANCE.convertList04(list));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/list-dept-simple-all")
|
|
|
+ @Operation(summary = "获取部门用户精简信息列表", description = "包含所有用户(未开启、开启),主要用于前端的下拉选项")
|
|
|
+ public CommonResult<List<UserSimpleRespVO>> getSimpleDeptUserAllList(@RequestParam("deptId") String deptId) {
|
|
|
+ // 获用户列表
|
|
|
+ List<AdminUserDO> list = userService.getUserListByDeptId(deptId);
|
|
|
+ // 排序后,返回给前端
|
|
|
+ return success(UserConvert.INSTANCE.convertList04(list));
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/get")
|
|
|
@Operation(summary = "获得用户详情")
|
|
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|