Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-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
周健威
rs-cloud-platform
Commits
623119af
Commit
623119af
authored
Dec 17, 2020
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
3e53962f
2836d950
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
56 deletions
+12
-56
AppUserManageVo.java
...com/github/wxiaoqi/security/admin/vo/AppUserManageVo.java
+5
-0
AppUserManageDTO.class
.../github/wxiaoqi/security/admin/dto/AppUserManageDTO.class
+0
-0
AppUserDetailMapper.xml
...e-admin/src/main/resources/mapper/AppUserDetailMapper.xml
+7
-56
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/AppUserManageVo.java
View file @
623119af
...
...
@@ -191,4 +191,9 @@ public class AppUserManageVo {
* 上级手机号
*/
private
String
superiorMobileNumber
;
/**
* 注册时间
*/
private
Long
createtime
;
}
ace-modules/ace-admin-api/target/classes/com/github/wxiaoqi/security/admin/dto/AppUserManageDTO.class
View file @
623119af
No preview for this file type
ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
View file @
623119af
...
...
@@ -157,38 +157,13 @@
d.channel,
d.source,
d.realname,
ml. NAME AS memberName,
aup. NAME AS positionName,
m.crt_time AS timeOfMembership,
m.total_number AS totalNumber,
m.rent_free_days AS rentFreeDays,
IFNULL(pd.realname, pd.nickname) AS nameOfSuperior,
pl.username AS superiorMobileNumber
l.createtime,
l.status,
d.headimgurl,
d.nickname
FROM
app_user_login l
LEFT JOIN app_user_detail d ON d.userid = l.id
LEFT JOIN base_user_member m ON d.userid = m.user_id
LEFT JOIN (
SELECT
LEVEL,
NAME
FROM
base_user_member_level
WHERE
isdel = 0
) ml ON m.member_level = ml. LEVEL
LEFT JOIN app_user_position aup ON aup.id = d.position_id
LEFT JOIN (
SELECT
user_id,
parent_id
FROM
app_user_relation
WHERE
is_del = 0
) r ON l.id = r.user_id
LEFT JOIN app_user_login pl ON r.parent_id = pl.id
LEFT JOIN app_user_detail pd ON pl.id = pd.userid
WHERE
l.isdel = 0
and
...
...
@@ -196,49 +171,25 @@
<if
test=
"mobile !=null and mobile !='' "
>
and l.username like CONCAT('%',#{mobile},'%')
</if>
<if
test=
"channel !=null "
>
and d.channel=#{channel}
</if>
<if
test=
"memberLevel !=null and memberLevel != -1"
>
and m.member_level = #{memberLevel}
</if>
<if
test=
"memberLevel == -1"
>
and m.member_level in (select level from base_user_member_level)
</if>
<if
test=
"registrationTimeBegin !=null "
>
and l.createtime
>
= #{registrationTimeBegin}
</if>
<if
test=
"registrationTimeEnd !=null "
>
and l.createtime
<
= #{registrationTimeEnd}
</if>
<if
test=
"source !=null "
>
and d.source = #{source}
</if>
<if
test=
"userId!=null"
>
and l.id=#{userId}
</if>
<if
test=
"status != null"
>
and l.status = #{status}
</if>
<if
test=
"postionState != null"
>
<choose>
<when
test=
"postionState == 6"
>
and d.position_id =#{postionState}
</when>
<otherwise>
and
<![CDATA[d.`position_id`<>6]]>
</otherwise>
</choose>
<if
test=
"nickname !=null and nickname != ''"
>
and d.nickname like CONCAT('%',#{nickname},'%')
</if>
<if
test=
"realName !=null and realName != ''"
>
and d.realname like CONCAT('%',#{realName},'%')
</if>
<if
test=
"citySet != null "
>
and d.city_code in
<foreach
collection=
"citySet"
item=
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
order by l.id ASC
</select>
...
...
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