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
2bc32632
Commit
2bc32632
authored
May 07, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-vehicle-memeber' into dev
parents
c8f40d73
e6d6363f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
UserMemberVo.java
...va/com/github/wxiaoqi/security/admin/vo/UserMemberVo.java
+4
-0
PublicController.java
.../github/wxiaoqi/security/admin/rest/PublicController.java
+1
-0
BaseUserMemberMapper.xml
...-admin/src/main/resources/mapper/BaseUserMemberMapper.xml
+1
-0
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/UserMemberVo.java
View file @
2bc32632
...
...
@@ -3,6 +3,8 @@ package com.github.wxiaoqi.security.admin.vo;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
javax.persistence.Column
;
/**
* 用户会员
...
...
@@ -113,4 +115,6 @@ public class UserMemberVo {
@ApiModelProperty
(
"会员名"
)
private
String
memberName
;
@Column
(
name
=
"member_type"
)
private
Integer
memberType
;
}
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/PublicController.java
View file @
2bc32632
...
...
@@ -115,6 +115,7 @@ public class PublicController {
UserMemberVo
memberVo
=
userMemberBiz
.
getMemberInfoByUserId
(
userid
);
if
(
memberVo
!=
null
){
BeanUtils
.
copyProperties
(
userDTO
,
memberVo
);
userDTO
.
setMemberType
(
memberVo
.
getMemberType
());
}
}
AppUserPosition
userPosition
=
positionBiz
.
selectById
(
positionId
);
...
...
ace-modules/ace-admin/src/main/resources/mapper/BaseUserMemberMapper.xml
View file @
2bc32632
...
...
@@ -20,6 +20,7 @@
<result
property=
"updTime"
column=
"upd_time"
/>
<result
property=
"isDel"
column=
"is_del"
/>
<result
property=
"memberName"
column=
"member_name"
/>
<result
property=
"memberType"
column=
"member_type"
/>
</resultMap>
<select
id=
"getInfoByUserId"
resultMap=
"baseUserMemberMap"
>
...
...
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