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
f70f0b58
Commit
f70f0b58
authored
Mar 13, 2021
by
zp
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bug_20210313' into v2.0.0
parents
1d459cdc
6767055a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
220 additions
and
8 deletions
+220
-8
.factorypath
.factorypath
+206
-0
.gitignore
.gitignore
+3
-1
org.eclipse.jdt.apt.core.prefs
.settings/org.eclipse.jdt.apt.core.prefs
+4
-0
ProductPrivateServiceImpl.java
...om/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
+1
-1
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+6
-6
No files found.
.factorypath
0 → 100644
View file @
f70f0b58
This diff is collapsed.
Click to expand it.
.gitignore
View file @
f70f0b58
...
...
@@ -70,7 +70,9 @@ typings/
*.iml
out
gen
.classpath
.project
.settings
# maven
target
.classpath
...
...
.settings/org.eclipse.jdt.apt.core.prefs
0 → 100644
View file @
f70f0b58
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=target\\generated-sources\\annotations
org.eclipse.jdt.apt.genTestSrcDir=target\\generated-test-sources\\test-annotations
src/main/java/com/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
View file @
f70f0b58
...
...
@@ -161,7 +161,7 @@ public class ProductPrivateServiceImpl implements ProductPrivateService, Constan
public
List
<
FundManagerVO
>
getFundManager
(
String
id
,
String
ifaId
)
{
FundManagerMappingExample
example
=
new
FundManagerMappingExample
();
example
.
createCriteria
().
andFundIdEqualTo
(
id
).
andDeleteTagEqualTo
(
ZERO_NUM
);
example
.
setOrderByClause
(
"
update_time
desc"
);
example
.
setOrderByClause
(
"
management_start_date desc,id
desc"
);
List
<
String
>
list
=
this
.
fundManagerMappingMapper
.
selectByExample
(
example
).
stream
()
.
map
(
FundManagerMapping:
:
getFundManagerId
).
collect
(
Collectors
.
toList
());
...
...
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
f70f0b58
...
...
@@ -821,17 +821,17 @@ public class ProductServiceImpl implements ProductService, Constant {
return
Lists
.
newArrayList
(
new
RiskRatingVO
(
"最近一年"
,
multiply100
(
fundCount
.
getMaxdrawdown1y
()),
multiply100
(
fundCount
.
getStddev1y
()),
multiply100
(
fundCount
.
getSharperatio1y
()),
multiply100
(
fundCount
.
getRet1y
())),
multiply100
(
fundCount
.
getStddev1y
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatio1y
()),
multiply100
(
fundCount
.
getRet1y
())),
new
RiskRatingVO
(
"最近二年"
,
multiply100
(
fundCount
.
getMaxdrawdown2y
()),
multiply100
(
fundCount
.
getStddev2y
()),
multiply100
(
fundCount
.
getSharperatio2y
()),
multiply100
(
fundCount
.
getRet2yA
())),
multiply100
(
fundCount
.
getStddev2y
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatio2y
()),
multiply100
(
fundCount
.
getRet2yA
())),
new
RiskRatingVO
(
"最近三年"
,
multiply100
(
fundCount
.
getMaxdrawdown3y
()),
multiply100
(
fundCount
.
getStddev3y
()),
multiply100
(
fundCount
.
getSharperatio3y
()),
multiply100
(
fundCount
.
getRet3yA
())),
multiply100
(
fundCount
.
getStddev3y
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatio3y
()),
multiply100
(
fundCount
.
getRet3yA
())),
new
RiskRatingVO
(
"最近四年"
,
multiply100
(
fundCount
.
getMaxdrawdown4y
()),
multiply100
(
fundCount
.
getStddev4y
()),
multiply100
(
fundCount
.
getSharperatio4y
()),
multiply100
(
fundCount
.
getRet4yA
())),
multiply100
(
fundCount
.
getStddev4y
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatio4y
()),
multiply100
(
fundCount
.
getRet4yA
())),
new
RiskRatingVO
(
"最近五年"
,
multiply100
(
fundCount
.
getMaxdrawdown5y
()),
multiply100
(
fundCount
.
getStddev5y
()),
multiply100
(
fundCount
.
getSharperatio5y
()),
multiply100
(
fundCount
.
getRet5yA
())),
multiply100
(
fundCount
.
getStddev5y
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatio5y
()),
multiply100
(
fundCount
.
getRet5yA
())),
new
RiskRatingVO
(
"成立以来"
,
multiply100
(
fundCount
.
getMaxdrawdownIncep
()),
multiply100
(
fundCount
.
getStddevIncep
()),
multiply100
(
fundCount
.
getSharperatioIncep
()),
multiply100
(
fundCount
.
getRetIncepA
())));
multiply100
(
fundCount
.
getStddevIncep
()),
BigDecimalUtil
.
toString
(
fundCount
.
getSharperatioIncep
()),
multiply100
(
fundCount
.
getRetIncepA
())));
}
@Override
...
...
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