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
909629a8
Commit
909629a8
authored
Dec 07, 2021
by
张亚辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基金搜索
parent
16107050
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9174 additions
and
442 deletions
+9174
-442
FundCount.java
src/main/java/com/tanpu/fund/entity/generator/FundCount.java
+372
-19
FundCountExample.java
...ava/com/tanpu/fund/entity/generator/FundCountExample.java
+4684
-22
FundCountMapper.java
...java/com/tanpu/fund/mapper/generator/FundCountMapper.java
+8
-18
FundCountMapper.xml
src/main/resources/mybatis/generator/FundCountMapper.xml
+4110
-383
No files found.
src/main/java/com/tanpu/fund/entity/generator/FundCount.java
View file @
909629a8
...
@@ -7,25 +7,6 @@ import lombok.Builder;
...
@@ -7,25 +7,6 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/**
/**
* 基金历史业绩
* 基金历史业绩
*/
*/
...
@@ -251,6 +232,12 @@ public class FundCount {
...
@@ -251,6 +232,12 @@ public class FundCount {
*/
*/
private
BigDecimal
retIncepBm1A
;
private
BigDecimal
retIncepBm1A
;
private
BigDecimal
sharperatio1m
;
private
BigDecimal
sharperatio3m
;
private
BigDecimal
sharperatio6m
;
/**
/**
* 最近一年的夏普比率
* 最近一年的夏普比率
*/
*/
...
@@ -276,11 +263,19 @@ public class FundCount {
...
@@ -276,11 +263,19 @@ public class FundCount {
*/
*/
private
BigDecimal
sharperatio5y
;
private
BigDecimal
sharperatio5y
;
private
BigDecimal
sharperatioYtd
;
/**
/**
* 成立以来的夏普比率
* 成立以来的夏普比率
*/
*/
private
BigDecimal
sharperatioIncep
;
private
BigDecimal
sharperatioIncep
;
private
BigDecimal
stddev1m
;
private
BigDecimal
stddev3m
;
private
BigDecimal
stddev6m
;
/**
/**
* 最近一年的年化波动率
* 最近一年的年化波动率
*/
*/
...
@@ -356,6 +351,14 @@ public class FundCount {
...
@@ -356,6 +351,14 @@ public class FundCount {
*/
*/
private
BigDecimal
maxdrawdownIncep
;
private
BigDecimal
maxdrawdownIncep
;
private
BigDecimal
maxdrawdown1m
;
private
BigDecimal
maxdrawdown3m
;
private
BigDecimal
maxdrawdown6m
;
private
BigDecimal
maxdrawdownYtd
;
/**
/**
* 数据来源 1:tanpu,2:私募排排 3:指数
* 数据来源 1:tanpu,2:私募排排 3:指数
*/
*/
...
@@ -376,4 +379,354 @@ public class FundCount {
...
@@ -376,4 +379,354 @@ public class FundCount {
private
Integer
sort
;
private
Integer
sort
;
private
Integer
deleteTag
;
private
Integer
deleteTag
;
/**
* 卡玛比率
*/
private
BigDecimal
calmarRatio
;
/**
* alpha
*/
private
BigDecimal
alpha
;
/**
* beta
*/
private
BigDecimal
beta
;
/**
* 胜率
*/
private
BigDecimal
winRate
;
/**
* 最近一月卡尔玛比率
*/
private
BigDecimal
calmarRatio1m
;
/**
* 最近三月卡尔玛比率
*/
private
BigDecimal
calmarRatio3m
;
/**
* 最近六月卡尔玛比率
*/
private
BigDecimal
calmarRatio6m
;
/**
* 最近一年卡尔玛比率
*/
private
BigDecimal
calmarRatio1y
;
/**
* 最近两年卡尔玛比率
*/
private
BigDecimal
calmarRatio2y
;
/**
* 最近三年卡尔玛比率
*/
private
BigDecimal
calmarRatio3y
;
/**
* 最近五年卡尔玛比率
*/
private
BigDecimal
calmarRatio5y
;
/**
* 成立以来卡尔玛比率
*/
private
BigDecimal
calmarRatioIncep
;
/**
* 今年以来卡尔玛比率
*/
private
BigDecimal
calmarRatioYtd
;
/**
* 最近一月索提诺比率
*/
private
BigDecimal
sortinoRatio1m
;
/**
* 最近三月索提诺比率
*/
private
BigDecimal
sortinoRatio3m
;
/**
* 最近六月索提诺比率
*/
private
BigDecimal
sortinoRatio6m
;
/**
* 最近一年索提诺比率
*/
private
BigDecimal
sortinoRatio1y
;
/**
* 最近两年索提诺比率
*/
private
BigDecimal
sortinoRatio2y
;
/**
* 最近三年索提诺比率
*/
private
BigDecimal
sortinoRatio3y
;
/**
* 最近五年索提诺比率
*/
private
BigDecimal
sortinoRatio5y
;
/**
* 成立以来索提诺比率
*/
private
BigDecimal
sortinoRatioIncep
;
/**
* 今年以来索提诺比率
*/
private
BigDecimal
sortinoRatioYtd
;
/**
* 最近一月alha
*/
private
BigDecimal
alpha1m
;
/**
* 最近三月alha
*/
private
BigDecimal
alpha3m
;
/**
* 最近六月alha
*/
private
BigDecimal
alpha6m
;
/**
* 最近一年alha
*/
private
BigDecimal
alpha1y
;
/**
* 最近两年alha
*/
private
BigDecimal
alpha2y
;
/**
* 最近三年alha
*/
private
BigDecimal
alpha3y
;
/**
* 最近五年alha
*/
private
BigDecimal
alpha5y
;
/**
* 成立以来alha
*/
private
BigDecimal
alphaIncep
;
/**
* 今年以来alha
*/
private
BigDecimal
alphaYtd
;
/**
* 最近一月beta
*/
private
BigDecimal
beta1m
;
/**
* 最近三月beta
*/
private
BigDecimal
beta3m
;
/**
* 最近六月beta
*/
private
BigDecimal
beta6m
;
/**
* 最近一年beta
*/
private
BigDecimal
beta1y
;
/**
* 最近两年beta
*/
private
BigDecimal
beta2y
;
/**
* 最近三年beta
*/
private
BigDecimal
beta3y
;
/**
* 最近五年beta
*/
private
BigDecimal
beta5y
;
/**
* 成立以来beta
*/
private
BigDecimal
betaIncep
;
/**
* 今年以来beta
*/
private
BigDecimal
betaYtd
;
/**
* 最近一月胜率
*/
private
BigDecimal
winRate1m
;
/**
* 最近三月胜率
*/
private
BigDecimal
winRate3m
;
/**
* 最近六月胜率
*/
private
BigDecimal
winRate6m
;
/**
* 最近一年胜率
*/
private
BigDecimal
winRate1y
;
/**
* 最近两年胜率
*/
private
BigDecimal
winRate2y
;
/**
* 最近三年胜率
*/
private
BigDecimal
winRate3y
;
/**
* 最近五年胜率
*/
private
BigDecimal
winRate5y
;
/**
* 成立以来胜率
*/
private
BigDecimal
winRateIncep
;
/**
* 今年以来胜率
*/
private
BigDecimal
winRateYtd
;
/**
* 最近一月下行标准差
*/
private
BigDecimal
downsideRisk1m
;
/**
* 最近三月下行标准差
*/
private
BigDecimal
downsideRisk3m
;
/**
* 最近六月下行标准差
*/
private
BigDecimal
downsideRisk6m
;
/**
* 最近一年下行标准差
*/
private
BigDecimal
downsideRisk1y
;
/**
* 最近两年下行标准差
*/
private
BigDecimal
downsideRisk2y
;
/**
* 最近三年下行标准差
*/
private
BigDecimal
downsideRisk3y
;
/**
* 最近五年下行标准差
*/
private
BigDecimal
downsideRisk5y
;
/**
* 成立以来下行标准差
*/
private
BigDecimal
downsideRiskIncep
;
/**
* 今年以来下行标准差
*/
private
BigDecimal
downsideRiskYtd
;
/**
* 最近一月信息比率
*/
private
BigDecimal
informationalRatio1m
;
/**
* 最近三月信息比率
*/
private
BigDecimal
informationalRatio3m
;
/**
* 最近六月信息比率
*/
private
BigDecimal
informationalRatio6m
;
/**
* 最近一年信息比率
*/
private
BigDecimal
informationalRatio1y
;
/**
* 最近两年信息比率
*/
private
BigDecimal
informationalRatio2y
;
/**
* 最近三年信息比率
*/
private
BigDecimal
informationalRatio3y
;
/**
* 最近五年信息比率
*/
private
BigDecimal
informationalRatio5y
;
/**
* 成立以来信息比率
*/
private
BigDecimal
informationalRatioIncep
;
/**
* 今年以来信息比率
*/
private
BigDecimal
informationalRatioYtd
;
/**
* 年度收益
*/
private
String
annualRet
;
/**
* 月度收益
*/
private
String
monthlyRet
;
/**
* 年度回撤
*/
private
String
annualMaxdrawdown
;
}
}
\ No newline at end of file
src/main/java/com/tanpu/fund/entity/generator/FundCountExample.java
View file @
909629a8
This diff is collapsed.
Click to expand it.
src/main/java/com/tanpu/fund/mapper/generator/FundCountMapper.java
View file @
909629a8
...
@@ -6,24 +6,6 @@ import java.util.List;
...
@@ -6,24 +6,6 @@ import java.util.List;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper
@Mapper
public
interface
FundCountMapper
{
public
interface
FundCountMapper
{
long
countByExample
(
FundCountExample
example
);
long
countByExample
(
FundCountExample
example
);
...
@@ -38,18 +20,26 @@ public interface FundCountMapper {
...
@@ -38,18 +20,26 @@ public interface FundCountMapper {
int
insertOrUpdateSelective
(
FundCount
record
);
int
insertOrUpdateSelective
(
FundCount
record
);
int
insertOrUpdateWithBLOBs
(
FundCount
record
);
int
insertSelective
(
FundCount
record
);
int
insertSelective
(
FundCount
record
);
List
<
FundCount
>
selectByExampleWithBLOBs
(
FundCountExample
example
);
List
<
FundCount
>
selectByExample
(
FundCountExample
example
);
List
<
FundCount
>
selectByExample
(
FundCountExample
example
);
FundCount
selectByPrimaryKey
(
String
id
);
FundCount
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByExample
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByExample
(
@Param
(
"record"
)
FundCount
record
,
@Param
(
"example"
)
FundCountExample
example
);
int
updateByPrimaryKeySelective
(
FundCount
record
);
int
updateByPrimaryKeySelective
(
FundCount
record
);
int
updateByPrimaryKeyWithBLOBs
(
FundCount
record
);
int
updateByPrimaryKey
(
FundCount
record
);
int
updateByPrimaryKey
(
FundCount
record
);
int
updateBatch
(
List
<
FundCount
>
list
);
int
updateBatch
(
List
<
FundCount
>
list
);
...
...
src/main/resources/mybatis/generator/FundCountMapper.xml
View file @
909629a8
This diff is collapsed.
Click to expand it.
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