Commit 675f05f3 by 袁伟铭

1.0.0

parent 32fe6a4a
...@@ -2,7 +2,7 @@ package com.zq.user.controller.admin; ...@@ -2,7 +2,7 @@ package com.zq.user.controller.admin;
import com.zq.common.vo.ResultVo; import com.zq.common.vo.ResultVo;
import com.zq.user.service.UserService; import com.zq.user.service.UserService;
import com.zq.user.vo.AppUserPageReqVo; import com.zq.user.vo.FindAppUserVo;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
...@@ -25,7 +25,7 @@ public class UserAdminController { ...@@ -25,7 +25,7 @@ public class UserAdminController {
@ApiOperation("获取用户列表") @ApiOperation("获取用户列表")
@PostMapping(value = "/getUserList") @PostMapping(value = "/getUserList")
public ResultVo getUserList(@RequestBody AppUserPageReqVo vo) { public ResultVo getUserList(@RequestBody FindAppUserVo vo) {
return ResultVo.success(userService.getUserList(vo)); return ResultVo.success(userService.getUserList(vo));
} }
......
...@@ -15,7 +15,7 @@ import com.zq.common.utils.PagingUtils; ...@@ -15,7 +15,7 @@ import com.zq.common.utils.PagingUtils;
import com.zq.common.vo.ApiTokenVo; import com.zq.common.vo.ApiTokenVo;
import com.zq.user.dao.AppUserDao; import com.zq.user.dao.AppUserDao;
import com.zq.user.manager.UserCacheKeys; import com.zq.user.manager.UserCacheKeys;
import com.zq.user.vo.AppUserPageReqVo; import com.zq.user.vo.FindAppUserVo;
import com.zq.user.vo.LoginVo; import com.zq.user.vo.LoginVo;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
...@@ -163,7 +163,7 @@ public class UserService { ...@@ -163,7 +163,7 @@ public class UserService {
* @param vo * @param vo
* @return * @return
*/ */
public Object getUserList(AppUserPageReqVo vo) { public Object getUserList(FindAppUserVo vo) {
LambdaQueryWrapper<AppUser> lambdaQuery = Wrappers.lambdaQuery(AppUser.class); LambdaQueryWrapper<AppUser> lambdaQuery = Wrappers.lambdaQuery(AppUser.class);
lambdaQuery.orderByAsc(AppUser::getId); lambdaQuery.orderByAsc(AppUser::getId);
......
...@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor; ...@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
@Builder @Builder
public class AppUserPageReqVo extends PageReqVo { public class FindAppUserVo extends PageReqVo {
/** /**
* id * id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment