Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周鹏
tamp_fund
Commits
85b9a431
Commit
85b9a431
authored
Mar 01, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码清理
parent
35752327
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
ProductPrivateServiceImpl.java
...om/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
+1
-3
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+1
-3
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
View file @
85b9a431
...
...
@@ -161,9 +161,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
BonusRatioVO
vo
=
new
BonusRatioVO
();
vo
.
setType
(
l
.
getDistributeType
());
vo
.
setTime
(
l
.
getDistributeDate
().
getTime
());
if
(
l
.
getDistribution
()
!=
null
)
{
vo
.
setDistribution
(
l
.
getDistribution
().
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
toString
());
}
vo
.
setDistribution
(
BigDecimalUtil
.
toString
(
l
.
getDistribution
(),
2
));
return
vo
;
}).
collect
(
Collectors
.
toList
());
}
...
...
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
85b9a431
...
...
@@ -533,9 +533,7 @@ public class ProductServiceImpl implements ProductService, Constant {
BonusRatioVO
vo
=
new
BonusRatioVO
();
vo
.
setType
(
l
.
getDistributeType
());
vo
.
setTime
(
l
.
getDistributeDate
().
getTime
());
if
(
l
.
getDistribution
()
!=
null
)
{
vo
.
setDistribution
(
l
.
getDistribution
().
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
toString
());
}
vo
.
setDistribution
(
BigDecimalUtil
.
toString
(
l
.
getDistribution
(),
2
));
return
vo
;
}).
collect
(
Collectors
.
toList
());
}
...
...
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