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
c6e1f72f
Commit
c6e1f72f
authored
Feb 26, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化
parent
c079d52f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
5522 additions
and
38 deletions
+5522
-38
ProductApi.java
src/main/java/com/tanpu/fund/api/ProductApi.java
+15
-0
ProductController.java
...ain/java/com/tanpu/fund/controller/ProductController.java
+24
-2
CompanyInfo.java
...ain/java/com/tanpu/fund/entity/generator/CompanyInfo.java
+19
-0
CompanyInfoExample.java
...a/com/tanpu/fund/entity/generator/CompanyInfoExample.java
+18
-0
CompanyTnaPersonnel.java
.../com/tanpu/fund/entity/generator/CompanyTnaPersonnel.java
+100
-0
CompanyTnaPersonnelExample.java
...npu/fund/entity/generator/CompanyTnaPersonnelExample.java
+1247
-0
PersonCompanyPositionMapping.java
...u/fund/entity/generator/PersonCompanyPositionMapping.java
+92
-0
PersonCompanyPositionMappingExample.java
...entity/generator/PersonCompanyPositionMappingExample.java
+1216
-0
CompanyInfoMapper.java
...va/com/tanpu/fund/mapper/generator/CompanyInfoMapper.java
+20
-36
CompanyTnaPersonnelMapper.java
...anpu/fund/mapper/generator/CompanyTnaPersonnelMapper.java
+60
-0
PersonCompanyPositionMappingMapper.java
.../mapper/generator/PersonCompanyPositionMappingMapper.java
+60
-0
ProductPrivateService.java
...in/java/com/tanpu/fund/service/ProductPrivateService.java
+84
-0
ProductPrivateServiceImpl.java
...om/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
+493
-0
application-test.properties
src/main/resources/application-test.properties
+102
-0
CompanyInfoMapper.xml
src/main/resources/mybatis/generator/CompanyInfoMapper.xml
+395
-0
CompanyTnaPersonnelMapper.xml
...resources/mybatis/generator/CompanyTnaPersonnelMapper.xml
+809
-0
PersonCompanyPositionMappingMapper.xml
.../mybatis/generator/PersonCompanyPositionMappingMapper.xml
+768
-0
No files found.
src/main/java/com/tanpu/fund/api/ProductApi.java
View file @
c6e1f72f
...
...
@@ -15,6 +15,8 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
javax.validation.Valid
;
import
javax.validation.constraints.NotEmpty
;
import
java.util.List
;
@Api
(
tags
=
"产品服务"
)
...
...
@@ -129,6 +131,19 @@ public interface ProductApi {
@ApiOperation
(
value
=
"根据Id查询私有产品基本信息 - 私有基金"
)
@PostMapping
(
value
=
"/privateFundInfo/simpleList"
,
produces
=
{
"application/json"
})
CommonResp
<
List
<
FundInfoSimpleListResp
>>
privateSimpleList
(
@RequestBody
List
<
String
>
idList
);
@ApiOperation
(
"基金公司 - 私有基金"
)
@GetMapping
(
"/private/fund/company"
)
CommonResp
<
FundCompanyVO
>
getPrivateFundCompanyInfo
(
@ApiParam
(
"基金公司id"
)
@RequestParam
(
"id"
)
String
id
);
@ApiOperation
(
"基金经理 - 私有基金"
)
@GetMapping
(
"/private/fund/manager"
)
CommonResp
<
List
<
FundManagerVO
>>
getPrivateFundManagerInfo
(
@ApiParam
(
"产品id"
)
@RequestParam
(
"id"
)
String
id
);
@ApiOperation
(
"分红配送 - 私有基金"
)
@GetMapping
(
"/private/bonus/ratio"
)
CommonResp
<
List
<
BonusRatioVO
>>
getPrivateBonusRatioInfo
(
@ApiParam
(
"产品id"
)
@RequestParam
(
"id"
)
String
id
);
//**********************************************************私有基金 end**********************************************************
@ApiOperation
(
value
=
"根据Id查询私募产品基本信息"
)
...
...
src/main/java/com/tanpu/fund/controller/ProductController.java
View file @
c6e1f72f
...
...
@@ -10,12 +10,15 @@ import com.tanpu.common.model.product.resp.*;
import
com.tanpu.common.resp.CommonResp
;
import
com.tanpu.fund.api.ProductApi
;
import
com.tanpu.fund.feign.publicfund.FeignClientForPublicfund
;
import
com.tanpu.fund.service.ProductPrivateService
;
import
com.tanpu.fund.service.ProductService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.validation.Valid
;
import
javax.validation.constraints.NotEmpty
;
import
java.util.List
;
@RestController
...
...
@@ -27,6 +30,9 @@ public class ProductController implements ProductApi {
@Resource
private
FeignClientForPublicfund
feignClientForPublicfund
;
@Resource
private
ProductPrivateService
productPrivateService
;
@Override
public
CommonResp
<
Page
<
ProductInfoVO
>>
getProductInfo
(
ProductInfoReq
req
)
{
return
CommonResp
.
success
(
this
.
productService
.
getProductList
(
req
));
...
...
@@ -99,7 +105,7 @@ public class ProductController implements ProductApi {
@Override
public
CommonResp
<
FundCompanyVO
>
getFundCompanyInfo
(
String
id
)
{
return
CommonResp
.
success
(
this
.
productService
.
getFundCompany
(
id
));
return
CommonResp
.
success
(
this
.
product
Private
Service
.
getFundCompany
(
id
));
}
@Override
...
...
@@ -172,6 +178,22 @@ public class ProductController implements ProductApi {
return
CommonResp
.
success
(
productService
.
getPrivateSimpleList
(
idList
));
}
@Override
public
CommonResp
<
FundCompanyVO
>
getPrivateFundCompanyInfo
(
String
id
)
{
return
CommonResp
.
success
(
this
.
productPrivateService
.
getFundCompany
(
id
));
}
@Override
public
CommonResp
<
List
<
BonusRatioVO
>>
getPrivateBonusRatioInfo
(
String
id
)
{
return
CommonResp
.
success
(
this
.
productPrivateService
.
getBonusRatio
(
id
));
}
@Override
public
CommonResp
<
List
<
FundManagerVO
>>
getPrivateFundManagerInfo
(
String
id
)
{
return
CommonResp
.
success
(
this
.
productPrivateService
.
getFundManager
(
id
));
}
@Override
public
CommonResp
<
List
<
FundIndexBasicResp
>>
fundIndexes
()
{
return
feignClientForPublicfund
.
fundIndexes
();
...
...
@@ -180,6 +202,6 @@ public class ProductController implements ProductApi {
@TanpuInterfaceLoginAuth
@Override
public
CommonResp
<
List
<
FundSameResp
>>
querySamefund
(
String
fundId
)
{
return
CommonResp
.
success
(
this
.
productService
.
querySamefund
(
fundId
));
return
CommonResp
.
success
(
this
.
productService
.
querySamefund
(
fundId
));
}
}
src/main/java/com/tanpu/fund/entity/generator/CompanyInfo.java
View file @
c6e1f72f
...
...
@@ -7,6 +7,25 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/**
* 公司基本信息表
*/
...
...
src/main/java/com/tanpu/fund/entity/generator/CompanyInfoExample.java
View file @
c6e1f72f
...
...
@@ -6,6 +6,24 @@ import java.util.Date;
import
java.util.Iterator
;
import
java.util.List
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
public
class
CompanyInfoExample
{
protected
String
orderByClause
;
...
...
src/main/java/com/tanpu/fund/entity/generator/CompanyTnaPersonnel.java
0 → 100644
View file @
c6e1f72f
package
com
.
tanpu
.
fund
.
entity
.
generator
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/**
* 公司管理资产及人员变动统计
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public
class
CompanyTnaPersonnel
{
/**
* 主键ID
*/
private
String
id
;
/**
* 公司id
*/
private
String
companyId
;
/**
* 统计日期
*/
private
Date
statDate
;
/**
* 信托管理总资产规模,<量纲:亿元>
*/
private
BigDecimal
trustFundAssetSize
;
/**
* 专户管理总资产规模,<量纲:亿元>
*/
private
BigDecimal
specialAccountAssetSize
;
/**
* 有限合伙管理总资产规模,<量纲:亿元>
*/
private
BigDecimal
ltdcoFundAssetSize
;
/**
* 海外基金管理总资产规模,<量纲:亿元>
*/
private
BigDecimal
offshoreFundAssetSize
;
/**
* 基金总数
*/
private
Integer
fundNum
;
/**
* 公司人数
*/
private
Integer
staffNum
;
/**
* 投研人员数
*/
private
Integer
analystNum
;
/**
* 管理总资产规模,<量纲:亿元>
*/
private
BigDecimal
totalAssetSize
;
private
String
createBy
;
private
Date
createTime
;
private
String
updateBy
;
private
Date
updateTime
;
private
Integer
deleteTag
;
}
\ No newline at end of file
src/main/java/com/tanpu/fund/entity/generator/CompanyTnaPersonnelExample.java
0 → 100644
View file @
c6e1f72f
This diff is collapsed.
Click to expand it.
src/main/java/com/tanpu/fund/entity/generator/PersonCompanyPositionMapping.java
0 → 100644
View file @
c6e1f72f
package
com
.
tanpu
.
fund
.
entity
.
generator
;
import
java.util.Date
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
/**
* 人员在公司职务信息
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public
class
PersonCompanyPositionMapping
{
private
String
id
;
/**
* 人物id
*/
private
String
personnelId
;
/**
* 公司id
*/
private
String
companyId
;
/**
* 人员类型:1-基金经理 2-投研 3-联系人 4-市场 5-合规风控 6-公司高管 7-公司法人 -1-其他
*/
private
Integer
personnelType
;
/**
* 当前职位
*/
private
String
position
;
/**
* 任职部门
*/
private
String
department
;
/**
* 是否默认职位信息:1-是,0-否
*/
private
Integer
isDefault
;
/**
* 任职开始日期
*/
private
Date
startDate
;
/**
* 任职结束日期
*/
private
Date
endDate
;
/**
* 职位次序
*/
private
Integer
positionOrder
;
private
String
createBy
;
private
Date
createTime
;
private
String
updateBy
;
private
Date
updateTime
;
private
Integer
deleteTag
;
}
\ No newline at end of file
src/main/java/com/tanpu/fund/entity/generator/PersonCompanyPositionMappingExample.java
0 → 100644
View file @
c6e1f72f
This diff is collapsed.
Click to expand it.
src/main/java/com/tanpu/fund/mapper/generator/CompanyInfoMapper.java
View file @
c6e1f72f
...
...
@@ -6,26 +6,32 @@ import java.util.List;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper
public
interface
CompanyInfoMapper
{
long
countByExample
(
CompanyInfoExample
example
);
int
deleteByExample
(
CompanyInfoExample
example
);
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int
insert
(
CompanyInfo
record
);
int
insertOrUpdate
(
CompanyInfo
record
);
...
...
@@ -34,24 +40,12 @@ public interface CompanyInfoMapper {
int
insertOrUpdateWithBLOBs
(
CompanyInfo
record
);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int
insertSelective
(
CompanyInfo
record
);
List
<
CompanyInfo
>
selectByExampleWithBLOBs
(
CompanyInfoExample
example
);
List
<
CompanyInfo
>
selectByExample
(
CompanyInfoExample
example
);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
CompanyInfo
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
CompanyInfo
record
,
@Param
(
"example"
)
CompanyInfoExample
example
);
...
...
@@ -60,25 +54,15 @@ public interface CompanyInfoMapper {
int
updateByExample
(
@Param
(
"record"
)
CompanyInfo
record
,
@Param
(
"example"
)
CompanyInfoExample
example
);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKeySelective
(
CompanyInfo
record
);
int
updateByPrimaryKeyWithBLOBs
(
CompanyInfo
record
);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int
updateByPrimaryKey
(
CompanyInfo
record
);
int
updateBatch
(
List
<
CompanyInfo
>
list
);
int
updateBatchSelective
(
List
<
CompanyInfo
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
CompanyInfo
>
list
);
}
\ No newline at end of file
src/main/java/com/tanpu/fund/mapper/generator/CompanyTnaPersonnelMapper.java
0 → 100644
View file @
c6e1f72f
package
com
.
tanpu
.
fund
.
mapper
.
generator
;
import
com.tanpu.fund.entity.generator.CompanyTnaPersonnel
;
import
com.tanpu.fund.entity.generator.CompanyTnaPersonnelExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper
public
interface
CompanyTnaPersonnelMapper
{
long
countByExample
(
CompanyTnaPersonnelExample
example
);
int
deleteByExample
(
CompanyTnaPersonnelExample
example
);
int
deleteByPrimaryKey
(
String
id
);
int
insert
(
CompanyTnaPersonnel
record
);
int
insertOrUpdate
(
CompanyTnaPersonnel
record
);
int
insertOrUpdateSelective
(
CompanyTnaPersonnel
record
);
int
insertSelective
(
CompanyTnaPersonnel
record
);
List
<
CompanyTnaPersonnel
>
selectByExample
(
CompanyTnaPersonnelExample
example
);
CompanyTnaPersonnel
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
CompanyTnaPersonnel
record
,
@Param
(
"example"
)
CompanyTnaPersonnelExample
example
);
int
updateByExample
(
@Param
(
"record"
)
CompanyTnaPersonnel
record
,
@Param
(
"example"
)
CompanyTnaPersonnelExample
example
);
int
updateByPrimaryKeySelective
(
CompanyTnaPersonnel
record
);
int
updateByPrimaryKey
(
CompanyTnaPersonnel
record
);
int
updateBatch
(
List
<
CompanyTnaPersonnel
>
list
);
int
updateBatchSelective
(
List
<
CompanyTnaPersonnel
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
CompanyTnaPersonnel
>
list
);
}
\ No newline at end of file
src/main/java/com/tanpu/fund/mapper/generator/PersonCompanyPositionMappingMapper.java
0 → 100644
View file @
c6e1f72f
package
com
.
tanpu
.
fund
.
mapper
.
generator
;
import
com.tanpu.fund.entity.generator.PersonCompanyPositionMapping
;
import
com.tanpu.fund.entity.generator.PersonCompanyPositionMappingExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* @author: zhoupeng
* <p>
* =========================================
* =========================================
* ======== ========
* ======= ========== ======= =======
* ====== ===== == ==== ======
* ===== ===== == === =====
* ===== ===== == === =====
* ===== ===== == === =====
* ====== ========== == ======
* ======= =======
* =========================================
* =========================================
* <p>
* @email: zhoupeng_08@163.com
*/
@Mapper
public
interface
PersonCompanyPositionMappingMapper
{
long
countByExample
(
PersonCompanyPositionMappingExample
example
);
int
deleteByExample
(
PersonCompanyPositionMappingExample
example
);
int
deleteByPrimaryKey
(
String
id
);
int
insert
(
PersonCompanyPositionMapping
record
);
int
insertOrUpdate
(
PersonCompanyPositionMapping
record
);
int
insertOrUpdateSelective
(
PersonCompanyPositionMapping
record
);
int
insertSelective
(
PersonCompanyPositionMapping
record
);
List
<
PersonCompanyPositionMapping
>
selectByExample
(
PersonCompanyPositionMappingExample
example
);
PersonCompanyPositionMapping
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
PersonCompanyPositionMapping
record
,
@Param
(
"example"
)
PersonCompanyPositionMappingExample
example
);
int
updateByExample
(
@Param
(
"record"
)
PersonCompanyPositionMapping
record
,
@Param
(
"example"
)
PersonCompanyPositionMappingExample
example
);
int
updateByPrimaryKeySelective
(
PersonCompanyPositionMapping
record
);
int
updateByPrimaryKey
(
PersonCompanyPositionMapping
record
);
int
updateBatch
(
List
<
PersonCompanyPositionMapping
>
list
);
int
updateBatchSelective
(
List
<
PersonCompanyPositionMapping
>
list
);
int
batchInsert
(
@Param
(
"list"
)
List
<
PersonCompanyPositionMapping
>
list
);
}
\ No newline at end of file
src/main/java/com/tanpu/fund/service/ProductPrivateService.java
0 → 100644
View file @
c6e1f72f
package
com
.
tanpu
.
fund
.
service
;
import
com.tanpu.common.model.Page
;
import
com.tanpu.common.model.Pageable
;
import
com.tanpu.common.model.product.req.NetReq
;
import
com.tanpu.common.model.product.req.ProductInfoReq
;
import
com.tanpu.common.model.product.req.ProductListReq
;
import
com.tanpu.common.model.product.resp.BonusRatioVO
;
import
com.tanpu.common.model.product.resp.DynamicRetreatVO
;
import
com.tanpu.common.model.product.resp.FundCompanyVO
;
import
com.tanpu.common.model.product.resp.FundInfoSimpleListResp
;
import
com.tanpu.common.model.product.resp.FundManagerVO
;
import
com.tanpu.common.model.product.resp.FundRecordVO
;
import
com.tanpu.common.model.product.resp.FundSameResp
;
import
com.tanpu.common.model.product.resp.NetVO
;
import
com.tanpu.common.model.product.resp.ProductInfoVO
;
import
com.tanpu.common.model.product.resp.RiskRatingVO
;
import
com.tanpu.common.model.product.resp.TrackNetVO
;
import
com.tanpu.common.model.product.resp.TrackRecordVO
;
import
com.tanpu.common.model.product.resp.TradeNotesResp
;
import
com.tanpu.common.model.product.resp.UnitNetVO
;
import
java.util.List
;
/**
* @author: zhoupeng
* @email: zhoupeng_08@163.com
*/
public
interface
ProductPrivateService
{
Page
<
ProductInfoVO
>
getProductList
(
ProductInfoReq
req
);
ProductInfoVO
getProductDetail
(
String
id
);
List
<
ProductInfoVO
>
getProductList
(
List
<
String
>
ids
);
Page
<
ProductInfoVO
>
getNotTanpuProduct
(
ProductInfoReq
req
);
UnitNetVO
getUnitNet
(
String
id
,
String
ratioId
,
String
type
);
UnitNetVO
getProfitTrend
(
String
id
,
String
ratioId
,
String
type
,
Long
beginTime
,
Long
endTime
);
Page
<
NetVO
>
getNetList
(
NetReq
req
);
List
<
BonusRatioVO
>
getBonusRatio
(
String
id
);
List
<
TrackRecordVO
>
getTrackRecord
(
String
id
);
Page
<
TrackNetVO
>
getTrackNetList
(
String
id
,
Pageable
page
);
List
<
RiskRatingVO
>
getRiskRating
(
String
id
);
List
<
FundManagerVO
>
getFundManager
(
String
id
);
FundRecordVO
getFundRecord
(
String
id
);
FundCompanyVO
getFundCompany
(
String
id
);
FundCompanyVO
getPrivateFundCompany
(
String
id
);
List
<
ProductInfoVO
>
getProductInfolist
(
ProductListReq
req
);
List
<
ProductInfoVO
>
getNotTanpuProductInfolist
(
ProductListReq
req
);
DynamicRetreatVO
getDynamicRetreat
(
String
id
);
ProductInfoVO
getPrivateDetail
(
String
id
);
List
<
TrackRecordVO
>
getHistoryprofit
(
String
id
);
Page
<
TrackNetVO
>
getPrivateFundTrackNetList
(
String
id
,
Pageable
page
);
List
<
RiskRatingVO
>
getPrivateFundRiskRating
(
String
id
);
List
<
ProductInfoVO
>
getPrivateFundList
(
List
<
String
>
ids
);
List
<
FundInfoSimpleListResp
>
getSimpleList
(
List
<
String
>
idList
);
List
<
FundInfoSimpleListResp
>
getPrivateSimpleList
(
List
<
String
>
idList
);
List
<
FundSameResp
>
querySamefund
(
String
fundId
);
List
<
FundSameResp
>
getRemmendPrivateFundList
();
}
src/main/java/com/tanpu/fund/service/impl/ProductPrivateServiceImpl.java
0 → 100644
View file @
c6e1f72f
This diff is collapsed.
Click to expand it.
src/main/resources/application-test.properties
0 → 100644
View file @
c6e1f72f
server.port
=
8199
server.undertow.direct-buffers
=
true
server.undertow.io-threads
=
9
server.undertow.worker-threads
=
9
spring.application.name
=
service-fund
#\u76D1\u63A7
management.endpoints.web.base-path
=
/myhealth
management.endpoint.health.enabled
=
true
management.endpoint.health.show-details
=
always
spring.datasource.url
=
jdbc:mysql://118.190.63.109:3306/tamp_fund?autoReconnect=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username
=
root
spring.datasource.password
=
'@imeng123'
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
company.oss.prefix
=
https://tamp-pro.oss-cn-shanghai.aliyuncs.com/
#mybatis
mybatis.mapper-locations
=
classpath:mybatis/generator/*.xml,classpath:mybatis/customize/*.xml
#redis\u96C6\u7FA4\u914D\u7F6E
spring.redis.host
=
118.190.63.109
spring.redis.port
=
56379
spring.redis.password
=
qimeng123
#spring.redis.cluster.nodes[0]=55ai.cn:6379
#spring.redis.cluster.max-redirects=3
spring.redis.lettuce.pool.max-active
=
100
spring.redis.lettuce.pool.max-idle
=
20
spring.redis.lettuce.pool.max-wait
=
1000ms
spring.redis.lettuce.pool.min-idle
=
10
spring.redis.lettuce.pool.time-between-eviction-runs
=
300s
spring.redis.lettuce.shutdown-timeout
=
5s
elastic.job.zk.serverLists
=
47.103.68.216:2181
elastic.job.zk.namespace
=
${spring.application.name}
server.servlet.context-path
=
/fund
springfox.documentation.swagger.v2.path
=
/api-docs
# \u914D\u7F6E\u6838\u5FC3\u7EBF\u7A0B\u6570
executor.core_pool_size
=
5
# \u914D\u7F6E\u6700\u5927\u7EBF\u7A0B\u6570
executor.max_pool_size
=
5
# \u914D\u7F6E\u961F\u5217\u5927\u5C0F
executor.queue_capacity
=
99
# \u914D\u7F6E\u7EBF\u7A0B\u6C60\u4E2D\u7684\u7EBF\u7A0B\u7684\u540D\u79F0\u524D\u7F00
executor.thread_name_prefix
=
async-service-fund
# \u914D\u7F6E\u6838\u5FC3\u7EBF\u7A0B\u6570
task.core_pool_size
=
1
# \u914D\u7F6E\u6700\u5927\u7EBF\u7A0B\u6570
task.max_pool_size
=
1
# \u914D\u7F6E\u961F\u5217\u5927\u5C0F
task.queue_capacity
=
10
# \u914D\u7F6E\u7EBF\u7A0B\u6C60\u4E2D\u7684\u7EBF\u7A0B\u7684\u540D\u79F0\u524D\u7F00
task.thread_name_prefix
=
async-task-fund
file.preview.path
=
https://tamp-sit.oss-cn-shanghai.aliyuncs.com/docConvertOutput/
#######################################
####### kafka\u914D\u7F6E ####
#######################################
#spring.kafka.bootstrap-servers=118.190.63.109:9092
#spring.kafka.producer.retries=1
#spring.kafka.consumer.group-id=service-product
#spring.kafka.consumer.auto-offset-reset=earliest
#spring.kafka.consumer.enable-auto-commit=false
#spring.kafka.listener.ack-mode=manual
#spring.kafka.listener.type=batch
##spring.kafka.consumer.auto-commit-interval=1000
#spring.kafka.consumer.fetch-max-wait=500
#spring.kafka.consumer.max-poll-records=100
#spring.kafka.listener.missing-topics-fatal=false
#spring.kafka.listener.concurrency=1
### \u901A\u7528\u914D\u7F6E
spring.cloud.consul.discovery.enabled
=
false
spring.cloud.consul.enabled
=
false
apollo.bootstrap.enabled
=
false
logging.level.com.tanpu
=
debug
## \u963F\u91CCOSS
aliyun.aliyunoss.endpoint
=
http://oss-cn-shanghai.aliyuncs.com
aliyun.accessKeyId
=
LTAIAKEzVydP0Q9P
aliyun.accessKeySecret
=
59V9ke9txaIFzWxHFKTb1eoOOpmKpJ
tanpu.oss.ali.bucket-name
=
fatoolimg
aliyun.aliyunoss.bucketName
=
${tanpu.oss.ali.bucket-name}
tanpu.oss.ali.region-id
=
cn-shanghai
tanpu.oss.ali.endpoint
=
https://oss-${tanpu.oss.ali.region-id}.aliyuncs.com
tanpu.oss.ali.bucket-domain
=
https://${tanpu.oss.ali.bucket-name}.oss-${tanpu.oss.ali.region-id}.aliyuncs.com
tanpu.oss.ali.oss-path
=
/upload
tanpu.userno.startstep
=
10000000
shorterUrl.domain
=
http://shorturl:8086/shorter/get
src/main/resources/mybatis/generator/CompanyInfoMapper.xml
View file @
c6e1f72f
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/generator/CompanyTnaPersonnelMapper.xml
0 → 100644
View file @
c6e1f72f
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/generator/PersonCompanyPositionMappingMapper.xml
0 → 100644
View file @
c6e1f72f
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