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
b3202932
Commit
b3202932
authored
Feb 06, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aa
parent
baa2d93d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+5
-1
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
b3202932
...
@@ -196,8 +196,10 @@ public class ProductServiceImpl implements ProductService, Constant {
...
@@ -196,8 +196,10 @@ public class ProductServiceImpl implements ProductService, Constant {
if
(
fundCountMap
.
containsKey
(
info
.
getId
()))
{
if
(
fundCountMap
.
containsKey
(
info
.
getId
()))
{
FundCount
fundCount
=
fundCounts
.
get
(
0
);
FundCount
fundCount
=
fundCounts
.
get
(
0
);
vo
.
setRet1m
(
multiply100
(
fundCount
.
getRet1m
()));
vo
.
setRet1m
(
multiply100
(
fundCount
.
getRet1m
()));
vo
.
setRetIncep
(
multiply100
(
fundCount
.
getRetIncep
()));
}
}
BeanUtils
.
copyProperties
(
info
,
vo
);
BeanUtils
.
copyProperties
(
info
,
vo
);
vo
.
setOpenDay
(
info
.
getOpenDay
());
vo
.
setProductName
(
info
.
getFundShortName
());
vo
.
setProductName
(
info
.
getFundShortName
());
vo
.
setDesc
(
info
.
getDescInfo
());
vo
.
setDesc
(
info
.
getDescInfo
());
vo
.
setFundId
(
info
.
getId
());
vo
.
setFundId
(
info
.
getId
());
...
@@ -1414,9 +1416,11 @@ public class ProductServiceImpl implements ProductService, Constant {
...
@@ -1414,9 +1416,11 @@ public class ProductServiceImpl implements ProductService, Constant {
}
}
ProductInfoVO
p
=
new
ProductInfoVO
();
ProductInfoVO
p
=
new
ProductInfoVO
();
p
.
setOpenDay
(
item
.
getOpenDay
());
p
.
setFundId
(
item
.
getId
());
p
.
setFundId
(
item
.
getId
());
p
.
setProductName
(
item
.
getFundName
());
p
.
setProductName
(
item
.
getFundName
());
p
.
setRet1m
(
importedFundCount
==
null
?
null
:
BigDecimalUtil
.
toString
(
importedFundCount
.
getRet1m
(),
2
));
p
.
setRet1m
(
importedFundCount
==
null
?
null
:
BigDecimalUtil
.
multiply100
(
importedFundCount
.
getRet1m
()));
p
.
setRetIncep
(
importedFundCount
==
null
?
null
:
BigDecimalUtil
.
multiply100
(
importedFundCount
.
getRetIncep
()));
p
.
setNet
(
importedFundCount
==
null
?
null
:
Net
.
builder
().
netDate
(
importedFundCount
.
getPriceDate
().
getTime
())
p
.
setNet
(
importedFundCount
==
null
?
null
:
Net
.
builder
().
netDate
(
importedFundCount
.
getPriceDate
().
getTime
())
.
netValue
(
BigDecimalUtil
.
toString
(
importedFundCount
.
getNetNav
(),
4
))
.
netValue
(
BigDecimalUtil
.
toString
(
importedFundCount
.
getNetNav
(),
4
))
.
build
());
.
build
());
...
...
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