|
@@ -11,6 +11,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.toolkit.StringPool;
|
|
import com.baomidou.mybatisplus.core.toolkit.StringPool;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
import com.github.yulichang.toolkit.MPJWrappers;
|
|
import com.github.yulichang.toolkit.MPJWrappers;
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
@@ -39,6 +40,7 @@ import com.xjrsoft.module.hikvision.util.DataUtil;
|
|
import com.xjrsoft.module.organization.dto.AddUserDto;
|
|
import com.xjrsoft.module.organization.dto.AddUserDto;
|
|
import com.xjrsoft.module.organization.dto.BindOpenidDto;
|
|
import com.xjrsoft.module.organization.dto.BindOpenidDto;
|
|
import com.xjrsoft.module.organization.dto.LoginResetPasswordDto;
|
|
import com.xjrsoft.module.organization.dto.LoginResetPasswordDto;
|
|
|
|
+import com.xjrsoft.module.organization.dto.PersonPageDto;
|
|
import com.xjrsoft.module.organization.dto.RegisterDto;
|
|
import com.xjrsoft.module.organization.dto.RegisterDto;
|
|
import com.xjrsoft.module.organization.dto.ResetPasswordDto;
|
|
import com.xjrsoft.module.organization.dto.ResetPasswordDto;
|
|
import com.xjrsoft.module.organization.dto.UpdateInfoDto;
|
|
import com.xjrsoft.module.organization.dto.UpdateInfoDto;
|
|
@@ -68,6 +70,7 @@ import com.xjrsoft.module.organization.service.IUserService;
|
|
import com.xjrsoft.module.organization.service.IUserStudentService;
|
|
import com.xjrsoft.module.organization.service.IUserStudentService;
|
|
import com.xjrsoft.module.organization.utils.OrganizationUtil;
|
|
import com.xjrsoft.module.organization.utils.OrganizationUtil;
|
|
import com.xjrsoft.module.organization.vo.PendingCountDto;
|
|
import com.xjrsoft.module.organization.vo.PendingCountDto;
|
|
|
|
+import com.xjrsoft.module.organization.vo.PersonPageVo;
|
|
import com.xjrsoft.module.organization.vo.ResetUserPageVo;
|
|
import com.xjrsoft.module.organization.vo.ResetUserPageVo;
|
|
import com.xjrsoft.module.organization.vo.ResetUserRoleVo;
|
|
import com.xjrsoft.module.organization.vo.ResetUserRoleVo;
|
|
import com.xjrsoft.module.organization.vo.UserDeptVo;
|
|
import com.xjrsoft.module.organization.vo.UserDeptVo;
|
|
@@ -284,6 +287,14 @@ public class UserController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @GetMapping(value = "/person-page")
|
|
|
|
+ @ApiOperation(value = "人员选择组件(分页)")
|
|
|
|
+ public R personPage(PersonPageDto dto) {
|
|
|
|
+ Page<PersonPageVo> voPage = userService.personPage(new Page<>(dto.getLimit(), dto.getSize()), dto);
|
|
|
|
+ PageOutput<PersonPageVo> pageOutput = ConventPage.getPageOutput(voPage, PersonPageVo.class);
|
|
|
|
+ return R.ok(pageOutput);
|
|
|
|
+ }
|
|
|
|
+
|
|
@GetMapping(value = "/info")
|
|
@GetMapping(value = "/info")
|
|
@ApiOperation(value = "根据id查询用户信息")
|
|
@ApiOperation(value = "根据id查询用户信息")
|
|
public R info(@RequestParam Long id) {
|
|
public R info(@RequestParam Long id) {
|