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
a8a26c90
Commit
a8a26c90
authored
Jun 19, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
fba230f1
8964e1c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
0 deletions
+25
-0
BaseUserMember.java
.../github/wxiaoqi/security/admin/entity/BaseUserMember.java
+7
-0
AppUserDTO.java
...m/github/wxiaoqi/security/admin/feign/dto/AppUserDTO.java
+1
-0
UserMemberVo.java
...va/com/github/wxiaoqi/security/admin/vo/UserMemberVo.java
+4
-0
BaseUserMemberBiz.java
.../github/wxiaoqi/security/admin/biz/BaseUserMemberBiz.java
+13
-0
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/entity/BaseUserMember.java
View file @
a8a26c90
...
@@ -75,6 +75,13 @@ public class BaseUserMember implements Serializable {
...
@@ -75,6 +75,13 @@ public class BaseUserMember implements Serializable {
@Column
(
name
=
"rent_free_days"
)
@Column
(
name
=
"rent_free_days"
)
@ApiModelProperty
(
value
=
"剩余天数"
)
@ApiModelProperty
(
value
=
"剩余天数"
)
private
Integer
rentFreeDays
;
private
Integer
rentFreeDays
;
//折扣
@Column
(
name
=
"discount"
)
@ApiModelProperty
(
value
=
"折扣"
)
private
Integer
discount
;
/**
/**
* 有效期;0代表永久
* 有效期;0代表永久
...
...
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/feign/dto/AppUserDTO.java
View file @
a8a26c90
...
@@ -27,6 +27,7 @@ public class AppUserDTO {
...
@@ -27,6 +27,7 @@ public class AppUserDTO {
private
Integer
certificationStatus
;
private
Integer
certificationStatus
;
private
Integer
rentFreeDays
;
private
Integer
rentFreeDays
;
private
Integer
totalNumber
;
private
Integer
totalNumber
;
private
Integer
discount
;
private
Integer
memberLevel
;
private
Integer
memberLevel
;
private
Integer
memberNo
;
private
Integer
memberNo
;
private
Long
cardLeave
;
private
Long
cardLeave
;
...
...
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/UserMemberVo.java
View file @
a8a26c90
...
@@ -62,6 +62,10 @@ public class UserMemberVo {
...
@@ -62,6 +62,10 @@ public class UserMemberVo {
*/
*/
@ApiModelProperty
(
value
=
"剩余天数"
)
@ApiModelProperty
(
value
=
"剩余天数"
)
private
Integer
rentFreeDays
;
private
Integer
rentFreeDays
;
//折扣
@ApiModelProperty
(
value
=
"折扣"
)
private
Integer
discount
;
/**
/**
* 有效期;0代表永久
* 有效期;0代表永久
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/BaseUserMemberBiz.java
View file @
a8a26c90
package
com
.
github
.
wxiaoqi
.
security
.
admin
.
biz
;
package
com
.
github
.
wxiaoqi
.
security
.
admin
.
biz
;
import
com.ace.cache.annotation.Cache
;
import
com.ace.cache.annotation.Cache
;
import
com.ace.cache.annotation.CacheClear
;
import
com.github.wxiaoqi.security.admin.vo.UserMemberVo
;
import
com.github.wxiaoqi.security.admin.vo.UserMemberVo
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.github.wxiaoqi.security.admin.entity.BaseUserMember
;
import
com.github.wxiaoqi.security.admin.entity.BaseUserMember
;
...
@@ -25,5 +26,17 @@ public class BaseUserMemberBiz extends BaseBiz<BaseUserMemberMapper,BaseUserMemb
...
@@ -25,5 +26,17 @@ public class BaseUserMemberBiz extends BaseBiz<BaseUserMemberMapper,BaseUserMemb
return
mapper
.
getInfoByUserId
(
userId
);
return
mapper
.
getInfoByUserId
(
userId
);
}
}
//更新会员信息
@Override
@CacheClear
(
key
=
"user:member{1.userid}"
)
public
void
updateSelectiveById
(
BaseUserMember
userMember
){
super
.
updateSelectiveById
(
userMember
);}
//用户会员信息更新
public
void
updUserMemberByUserId
(){
}
}
}
\ No newline at end of file
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