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
144f230f
Commit
144f230f
authored
Oct 30, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单统计
parent
6c1d788d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
AppUserDetailMapper.xml
...e-admin/src/main/resources/mapper/AppUserDetailMapper.xml
+23
-1
No files found.
ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
View file @
144f230f
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
<result
column=
"certification_status"
property=
"certificationStatus"
/>
<result
column=
"certification_status"
property=
"certificationStatus"
/>
<result
column=
"is_member"
property=
"isMember"
/>
<result
column=
"is_member"
property=
"isMember"
/>
<result
column=
"nickname"
property=
"nickname"
/>
<result
column=
"nickname"
property=
"nickname"
/>
<result
column=
"wx_nickname"
property=
"wxNickname"
/>
<result
column=
"qq_nickname"
property=
"qqNickname"
/>
<result
column=
"realname"
property=
"realname"
/>
<result
column=
"realname"
property=
"realname"
/>
<result
column=
"headimgurl"
property=
"headimgurl"
/>
<result
column=
"headimgurl"
property=
"headimgurl"
/>
<result
column=
"birthday"
property=
"birthday"
/>
<result
column=
"birthday"
property=
"birthday"
/>
...
@@ -80,7 +82,10 @@
...
@@ -80,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
...
@@ -121,6 +126,23 @@
...
@@ -121,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