Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shop-Mall
Project
Project
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
licc
shop-Mall
Commits
cadf2f59
Commit
cadf2f59
authored
Apr 06, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 收益明细
parent
f1f5d908
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
WalletServiceImpl.java
...java/cn/wisenergy/service/app/impl/WalletServiceImpl.java
+11
-1
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/WalletServiceImpl.java
View file @
cadf2f59
...
...
@@ -131,7 +131,17 @@ public class WalletServiceImpl implements WalletService {
MoneyPackageDetailVo
detailVo
=
new
MoneyPackageDetailVo
();
detailVo
.
setUserId
(
userId
);
detailVo
.
setTotalIncome
(
accountInfo
.
getEarningsMonth
());
//获取培育奖信息
BigDecimal
earningsMonth
=
new
BigDecimal
(
0
);
TradeRecord
trade
=
tradeRecordMapper
.
getByUserIdAndTypeAndStatus
(
userId
,
TradeRecordEnum
.
CULTIVATING_PRIZE
.
getCode
(),
new
Date
(),
0
);
if
(
null
!=
trade
)
{
earningsMonth
=
accountInfo
.
getEarningsMonth
().
add
(
trade
.
getMoney
());
}
else
{
earningsMonth
=
accountInfo
.
getEarningsMonth
();
}
detailVo
.
setTotalIncome
(
earningsMonth
);
//获取本月交易记录
List
<
TradeRecord
>
list
=
getTradeRecordList
(
userId
);
...
...
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