Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
point-project
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
point-project
Commits
6ee74af5
Commit
6ee74af5
authored
Oct 16, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加积分商城相关代码
parent
0641b7ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cloud-point/src/main/java/com/yizhi/application/service/impl/PointServiceImpl.java
+3
-3
No files found.
cloud-point/src/main/java/com/yizhi/application/service/impl/PointServiceImpl.java
View file @
6ee74af5
...
...
@@ -91,7 +91,7 @@ public class PointServiceImpl extends ServiceImpl<PointMapper, Point> implements
PointUser
pu
=
new
PointUser
();
pu
.
setUserId
(
accountId
);
EntityWrapper
<
PointUser
>
wrapper
=
new
EntityWrapper
<
PointUser
>(
pu
);
PointUser
pointUser
=
pointUserService
.
selectOne
(
wrapper
);
pu
=
pointUserService
.
selectOne
(
wrapper
);
Long
id
=
idGenerator
.
generate
();
if
(
pu
==
null
)
{
pu
=
new
PointUser
();
...
...
@@ -116,9 +116,9 @@ public class PointServiceImpl extends ServiceImpl<PointMapper, Point> implements
PointDetails
pd
=
new
PointDetails
();
pd
.
setId
(
idGenerator
.
generate
());
pd
.
setTime
(
new
Date
());
pd
.
setChangeBefore
(
p
ointUser
.
getTotalPoint
());
pd
.
setChangeBefore
(
p
u
.
getTotalPoint
());
pd
.
setPoint
(
strategy
.
getPointTypeEnum
().
getPoint
());
pd
.
setChangeAfter
(
p
ointUser
.
getTotalPoint
()
+
strategy
.
getPointTypeEnum
().
getPoint
());
pd
.
setChangeAfter
(
p
u
.
getTotalPoint
()
+
strategy
.
getPointTypeEnum
().
getPoint
());
pd
.
setMultiple
(
1
);
pd
.
setAccountId
(
accountId
);
pd
.
setLearnName
(
strategy
.
getPointTypeEnum
().
getDesc
());
...
...
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