Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
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
pseer
gxpt_ht
Commits
d214bc24
Commit
d214bc24
authored
Aug 26, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改我的信息
parent
fea1b4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
MemberConfigVo.java
.../src/main/java/share/system/domain/vo/MemberConfigVo.java
+2
-0
SConsumerServiceImpl.java
.../java/share/system/service/impl/SConsumerServiceImpl.java
+1
-0
No files found.
share-system/src/main/java/share/system/domain/vo/MemberConfigVo.java
View file @
d214bc24
...
@@ -7,6 +7,8 @@ import java.math.BigDecimal;
...
@@ -7,6 +7,8 @@ import java.math.BigDecimal;
@Data
@Data
public
class
MemberConfigVo
extends
MemberConfig
{
public
class
MemberConfigVo
extends
MemberConfig
{
//到下一级的额度差
private
BigDecimal
nextDifference
;
//下一级的额度要求
//下一级的额度要求
private
Long
nextLimitRequirements
;
private
Long
nextLimitRequirements
;
//下一级的会员等级
//下一级的会员等级
...
...
share-system/src/main/java/share/system/service/impl/SConsumerServiceImpl.java
View file @
d214bc24
...
@@ -209,6 +209,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
...
@@ -209,6 +209,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
.
eq
(
MemberConfig:
:
getMembershipLevel
,
memberConfig
.
getMembershipLevel
()
+
1
)
.
eq
(
MemberConfig:
:
getMembershipLevel
,
memberConfig
.
getMembershipLevel
()
+
1
)
);
);
if
(
ObjectUtil
.
isNotEmpty
(
nexMemberConfig
))
{
if
(
ObjectUtil
.
isNotEmpty
(
nexMemberConfig
))
{
memberConfigVo
.
setNextDifference
(
new
BigDecimal
(
nexMemberConfig
.
getLimitRequirements
()).
subtract
(
consumerMember
.
getMembershipProgress
()));
memberConfigVo
.
setNextLimitRequirements
(
nexMemberConfig
.
getLimitRequirements
());
memberConfigVo
.
setNextLimitRequirements
(
nexMemberConfig
.
getLimitRequirements
());
memberConfigVo
.
setNextMembershipLevel
(
nexMemberConfig
.
getMembershipLevel
());
memberConfigVo
.
setNextMembershipLevel
(
nexMemberConfig
.
getMembershipLevel
());
memberConfigVo
.
setNextMembershipName
(
nexMemberConfig
.
getLevelName
());
memberConfigVo
.
setNextMembershipName
(
nexMemberConfig
.
getLevelName
());
...
...
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