Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
4307117f
Commit
4307117f
authored
Oct 31, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into master-member-feture-count
parents
f73a0437
7aaf6572
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
AppUserManageVo.java
...com/github/wxiaoqi/security/admin/vo/AppUserManageVo.java
+15
-0
AppUserDetailMapper.xml
...e-admin/src/main/resources/mapper/AppUserDetailMapper.xml
+21
-1
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/AppUserManageVo.java
View file @
4307117f
...
@@ -171,4 +171,19 @@ public class AppUserManageVo {
...
@@ -171,4 +171,19 @@ public class AppUserManageVo {
* 身份信息
* 身份信息
*/
*/
private
String
positionName
;
private
String
positionName
;
/**
* 上级名称
*/
private
String
nameOfSuperior
;
/**
* 上级id
*/
private
Integer
parentId
;
/**
* 上级手机号
*/
private
String
superiorMobileNumber
;
}
}
ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
View file @
4307117f
...
@@ -82,7 +82,10 @@
...
@@ -82,7 +82,10 @@
m.recent_recharge as recentRecharge,
m.recent_recharge as recentRecharge,
m.name as memberName,
m.name as memberName,
ul.username as inviter,
ul.username as inviter,
aup.name as `positionName`
aup.name as `positionName`,
p.nameOfSuperior,
p.username AS superiorMobileNumber,
p.parent_id as parentId
from
from
app_user_login l
app_user_login l
inner join
inner join
...
@@ -123,6 +126,23 @@
...
@@ -123,6 +126,23 @@
left join
left join
`app_user_position` as aup
`app_user_position` as aup
on aup.id = d.position_id
on aup.id = d.position_id
left join (
SELECT
r.user_id,
r.parent_id,
l.username,
IFNULL(d.realname,d.nickname) as nameOfSuperior
FROM
app_user_relation r
LEFT JOIN app_user_login l ON r.parent_id = l.id
LEFT JOIN app_user_detail d ON l.id = d.userid
WHERE
l.isdel = 0
AND
r.is_del = 0
) p
on
l.id=p.user_id
where l.isdel = 0
where l.isdel = 0
<if
test=
"mobile !=null and mobile !='' "
>
<if
test=
"mobile !=null and mobile !='' "
>
and l.username like CONCAT('%',#{mobile},'%')
and l.username like CONCAT('%',#{mobile},'%')
...
...
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