Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
stockPriceTack
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘长帅
stockPriceTack
Commits
f628a3cb
Commit
f628a3cb
authored
Feb 23, 2024
by
刘长帅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-regeneration-24-02-21' into dev-test
parents
0aff1a16
86a5e77c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
607 additions
and
1 deletion
+607
-1
AdminConstant.java
...com/zfxftech/telmarket/common/constant/AdminConstant.java
+3
-1
RedisKeyMessageConstant.java
...ch/telmarket/common/constant/RedisKeyMessageConstant.java
+2
-0
UpdateWriteOffChangeLog.java
...ch/telmarket/common/pojo/dao/UpdateWriteOffChangeLog.java
+18
-0
SurveyMarketProfitLog.java
...lmarket/common/pojo/dao/survey/SurveyMarketProfitLog.java
+59
-0
SurveyMarketProfitLogMapper.java
...t/mapper/business/survey/SurveyMarketProfitLogMapper.java
+10
-0
HighMarketProfitLogService.java
...ket/service/business/high/HighMarketProfitLogService.java
+16
-0
SurveyAccountProductRelationService.java
.../business/survey/SurveyAccountProductRelationService.java
+1
-0
SurveyMarketProfitLogService.java
...service/business/survey/SurveyMarketProfitLogService.java
+15
-0
HighMarketProfitLogServiceImpl.java
...ce/impl/business/high/HighMarketProfitLogServiceImpl.java
+22
-0
SurveyAccountProductRelationServiceImpl.java
...iness/survey/SurveyAccountProductRelationServiceImpl.java
+19
-0
SurveyMarketProfitLogServiceImpl.java
...mpl/business/survey/SurveyMarketProfitLogServiceImpl.java
+23
-0
ProemiumWriteOffChangeLogTask.java
...task/writeOffChangeLog/ProemiumWriteOffChangeLogTask.java
+419
-0
No files found.
src/main/java/com/zfxftech/telmarket/common/constant/AdminConstant.java
View file @
f628a3cb
...
@@ -134,7 +134,9 @@ public interface AdminConstant {
...
@@ -134,7 +134,9 @@ public interface AdminConstant {
PREMIUM
(
"Premium"
,
1
,
"私人定制"
)
PREMIUM
(
"Premium"
,
1
,
"私人定制"
)
,
FOLLOW_UP
(
"FollowUp"
,
2
,
"跟投账户"
)
,
FOLLOW_UP
(
"FollowUp"
,
2
,
"跟投账户"
)
,
ASSET_TYPE
(
"AssetType"
,
3
,
"资管"
)
,
ASSET_TYPE
(
"AssetType"
,
3
,
"资管"
)
,
SMART_TYPE
(
"SmartType"
,
4
,
"智能跟投"
);
,
SMART_TYPE
(
"SmartType"
,
4
,
"智能跟投"
)
,
SURVEY_TYPE
(
"SurveyType"
,
5
,
"项目调研"
)
,
HIGH_TYPE
(
"HighType"
,
6
,
"高端定制"
);
private
final
String
code
;
private
final
String
code
;
...
...
src/main/java/com/zfxftech/telmarket/common/constant/RedisKeyMessageConstant.java
View file @
f628a3cb
...
@@ -40,4 +40,6 @@ public class RedisKeyMessageConstant {
...
@@ -40,4 +40,6 @@ public class RedisKeyMessageConstant {
public
static
final
String
REDIS_SEND_CM_KEY
=
"CM:redisId:code:key"
;
public
static
final
String
REDIS_SEND_CM_KEY
=
"CM:redisId:code:key"
;
public
static
final
String
SendCustomerReportForms
=
"ZG:CR:KEY:SCMF"
;
public
static
final
String
SendCustomerReportForms
=
"ZG:CR:KEY:SCMF"
;
public
static
final
String
SendPersonalCustomerReportForms
=
"ZG:CR:KEY:PERSONAL"
;
public
static
final
String
SendPersonalCustomerReportForms
=
"ZG:CR:KEY:PERSONAL"
;
public
static
final
String
RedisUpdateGraphKey
=
"BLG:graph:type:KEY"
;
}
}
src/main/java/com/zfxftech/telmarket/common/pojo/dao/UpdateWriteOffChangeLog.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
common
.
pojo
.
dao
;
import
lombok.Data
;
@Data
public
class
UpdateWriteOffChangeLog
{
/**
* 产品类型 Premium--私人定制 AssetType--资管 SmartType--智能跟投
*/
private
String
type
;
/**
*示范盘id
*/
private
String
marketId
;
}
src/main/java/com/zfxftech/telmarket/common/pojo/dao/survey/SurveyMarketProfitLog.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
common
.
pojo
.
dao
.
survey
;
import
com.baomidou.mybatisplus.annotation.*
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/27 15:20
*
*/
@Data
@TableName
(
value
=
"survey_market_profit_log"
)
public
class
SurveyMarketProfitLog
{
/**
* 唯一标记
*/
@TableId
(
type
=
IdType
.
AUTO
)
private
Long
id
;
/**
* 示范盘Id
*/
private
Long
marketId
;
/**
* 本金
*/
private
BigDecimal
principal
;
/**
* 总收益
*/
private
BigDecimal
profit
;
/**
* 较上一日增量收益
*/
private
BigDecimal
incrementProfit
;
/**
* 收益率
*/
private
BigDecimal
profitRate
;
/**
* 日期
*/
private
Date
date
;
/**
* 删除标记
*/
@TableLogic
@TableField
(
value
=
"is_deleted"
)
private
String
isDeleted
;
/**
* 创建时间
*/
private
Date
createdTime
;
}
src/main/java/com/zfxftech/telmarket/mapper/business/survey/SurveyMarketProfitLogMapper.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
mapper
.
business
.
survey
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zfxftech.telmarket.common.pojo.dao.survey.SurveyMarketProfitLog
;
import
org.springframework.stereotype.Repository
;
@Repository
public
interface
SurveyMarketProfitLogMapper
extends
BaseMapper
<
SurveyMarketProfitLog
>
{
}
src/main/java/com/zfxftech/telmarket/service/business/high/HighMarketProfitLogService.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
service
.
business
.
high
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.zfxftech.telmarket.common.pojo.dao.high.HighMarketProfitLog
;
import
java.util.List
;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/19 9:44
*/
public
interface
HighMarketProfitLogService
extends
IService
<
HighMarketProfitLog
>
{
}
src/main/java/com/zfxftech/telmarket/service/business/survey/SurveyAccountProductRelationService.java
View file @
f628a3cb
...
@@ -8,4 +8,5 @@ import com.zfxftech.telmarket.common.pojo.dao.survey.SurveyAccountProductRelatio
...
@@ -8,4 +8,5 @@ import com.zfxftech.telmarket.common.pojo.dao.survey.SurveyAccountProductRelatio
public
interface
SurveyAccountProductRelationService
extends
IService
<
SurveyAccountProductRelation
>
{
public
interface
SurveyAccountProductRelationService
extends
IService
<
SurveyAccountProductRelation
>
{
SurveyAccountProductRelation
queryAccountProductRelationByMarketInfo
(
Long
maketId
,
String
code
);
}
}
src/main/java/com/zfxftech/telmarket/service/business/survey/SurveyMarketProfitLogService.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
service
.
business
.
survey
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.zfxftech.telmarket.common.pojo.dao.survey.SurveyMarketProfitLog
;
import
java.util.List
;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/19 9:44
*/
public
interface
SurveyMarketProfitLogService
extends
IService
<
SurveyMarketProfitLog
>
{
}
src/main/java/com/zfxftech/telmarket/service/impl/business/high/HighMarketProfitLogServiceImpl.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
service
.
impl
.
business
.
high
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.zfxftech.telmarket.common.pojo.dao.high.HighMarketProfitLog
;
import
com.zfxftech.telmarket.mapper.business.high.HighMarketProfitLogMapper
;
import
com.zfxftech.telmarket.service.business.high.HighMarketProfitLogService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/19 9:47
*/
@Service
@Log4j2
public
class
HighMarketProfitLogServiceImpl
extends
ServiceImpl
<
HighMarketProfitLogMapper
,
HighMarketProfitLog
>
implements
HighMarketProfitLogService
{
}
src/main/java/com/zfxftech/telmarket/service/impl/business/survey/SurveyAccountProductRelationServiceImpl.java
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
service
.
impl
.
business
.
survey
;
package
com
.
zfxftech
.
telmarket
.
service
.
impl
.
business
.
survey
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.zfxftech.telmarket.common.pojo.dao.survey.SurveyAccountProductRelation
;
import
com.zfxftech.telmarket.common.pojo.dao.survey.SurveyAccountProductRelation
;
import
com.zfxftech.telmarket.mapper.business.survey.SurveyAccountProductRelationMapper
;
import
com.zfxftech.telmarket.mapper.business.survey.SurveyAccountProductRelationMapper
;
import
com.zfxftech.telmarket.service.business.survey.SurveyAccountProductRelationService
;
import
com.zfxftech.telmarket.service.business.survey.SurveyAccountProductRelationService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
static
com
.
zfxftech
.
telmarket
.
common
.
constant
.
AdminConstant
.
MarketTypeEnum
.
REAL
;
import
static
com
.
zfxftech
.
telmarket
.
common
.
constant
.
AdminConstant
.
MarketTypeEnum
.
SIMULATED
;
@Service
@Service
public
class
SurveyAccountProductRelationServiceImpl
extends
ServiceImpl
<
SurveyAccountProductRelationMapper
,
SurveyAccountProductRelation
>
implements
SurveyAccountProductRelationService
{
public
class
SurveyAccountProductRelationServiceImpl
extends
ServiceImpl
<
SurveyAccountProductRelationMapper
,
SurveyAccountProductRelation
>
implements
SurveyAccountProductRelationService
{
@Override
public
SurveyAccountProductRelation
queryAccountProductRelationByMarketInfo
(
Long
marketId
,
String
type
)
{
QueryWrapper
<
SurveyAccountProductRelation
>
queryWrapper
=
new
QueryWrapper
();
if
(
REAL
.
getCode
().
equals
(
type
))
{
queryWrapper
.
eq
(
"real_market_id"
,
marketId
);
}
if
(
SIMULATED
.
getCode
().
equals
(
type
))
{
queryWrapper
.
eq
(
"simulated_market_id"
,
marketId
);
}
return
getOne
(
queryWrapper
);
}
}
}
src/main/java/com/zfxftech/telmarket/service/impl/business/survey/SurveyMarketProfitLogServiceImpl.java
0 → 100644
View file @
f628a3cb
package
com
.
zfxftech
.
telmarket
.
service
.
impl
.
business
.
survey
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.zfxftech.telmarket.common.pojo.dao.survey.SurveyMarketProfitLog
;
import
com.zfxftech.telmarket.mapper.business.survey.SurveyMarketProfitLogMapper
;
import
com.zfxftech.telmarket.service.business.survey.SurveyMarketProfitLogService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/19 9:47
*/
@Service
@Log4j2
public
class
SurveyMarketProfitLogServiceImpl
extends
ServiceImpl
<
SurveyMarketProfitLogMapper
,
SurveyMarketProfitLog
>
implements
SurveyMarketProfitLogService
{
}
src/main/java/com/zfxftech/telmarket/task/writeOffChangeLog/ProemiumWriteOffChangeLogTask.java
0 → 100644
View file @
f628a3cb
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