Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
cloud-backend
Commits
675f05f3
Commit
675f05f3
authored
Jul 12, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.0
parent
32fe6a4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
user-server/src/main/java/com/zq/user/controller/admin/UserAdminController.java
+2
-2
user-server/src/main/java/com/zq/user/service/UserService.java
+2
-2
user-server/src/main/java/com/zq/user/vo/FindAppUserVo.java
+1
-1
No files found.
user-server/src/main/java/com/zq/user/controller/admin/UserAdminController.java
View file @
675f05f3
...
@@ -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.
AppUserPageReq
Vo
;
import
com.zq.user.vo.
FindAppUser
Vo
;
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
AppUserPageReq
Vo
vo
)
{
public
ResultVo
getUserList
(
@RequestBody
FindAppUser
Vo
vo
)
{
return
ResultVo
.
success
(
userService
.
getUserList
(
vo
));
return
ResultVo
.
success
(
userService
.
getUserList
(
vo
));
}
}
...
...
user-server/src/main/java/com/zq/user/service/UserService.java
View file @
675f05f3
...
@@ -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.
AppUserPageReq
Vo
;
import
com.zq.user.vo.
FindAppUser
Vo
;
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
(
AppUserPageReq
Vo
vo
)
{
public
Object
getUserList
(
FindAppUser
Vo
vo
)
{
LambdaQueryWrapper
<
AppUser
>
lambdaQuery
=
Wrappers
.
lambdaQuery
(
AppUser
.
class
);
LambdaQueryWrapper
<
AppUser
>
lambdaQuery
=
Wrappers
.
lambdaQuery
(
AppUser
.
class
);
lambdaQuery
.
orderByAsc
(
AppUser:
:
getId
);
lambdaQuery
.
orderByAsc
(
AppUser:
:
getId
);
...
...
user-server/src/main/java/com/zq/user/vo/
AppUserPageReq
Vo.java
→
user-server/src/main/java/com/zq/user/vo/
FindAppUser
Vo.java
View file @
675f05f3
...
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
...
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
@AllArgsConstructor
@AllArgsConstructor
@NoArgsConstructor
@NoArgsConstructor
@Builder
@Builder
public
class
AppUserPageReq
Vo
extends
PageReqVo
{
public
class
FindAppUser
Vo
extends
PageReqVo
{
/**
/**
* id
* id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment