Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
2a1bc926
Commit
2a1bc926
authored
Oct 24, 2019
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
渠道资方未配置但是量子魔方已经更改错误,增加
parent
8ed49915
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
QGExceptionType.java
...ntgroup/asset/distribution/exception/QGExceptionType.java
+2
-1
AssetServiceImpl.java
...set/distribution/service/asset/impl/AssetServiceImpl.java
+1
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/exception/QGExceptionType.java
View file @
2a1bc926
...
...
@@ -40,7 +40,8 @@ public enum QGExceptionType {
// 资方模块错误信息
GET_ALL_FUNDS_INFO_ERROR
(
3001
,
"拉取所有资方信息失败, res : %s"
),
NO_FUND_INFO_BEEN_HIT
(
3002
,
"未命中任何资方, bizChannel : %s, amount : %s, term : %s"
),
FUND_PRIORITY_IS_ERROR
(
3003
,
"资方优先级不符合要求, bizChannel : %s, amount : %s, term : %s"
);
FUND_PRIORITY_IS_ERROR
(
3003
,
"资方优先级不符合要求, bizChannel : %s, amount : %s, term : %s"
),
NOT_FOUNT_CHANNEL_FUNDS_INFO
(
3004
,
"未找到渠道资方配置, 请检查; bizChannel : %s"
);
...
...
src/main/java/com/quantgroup/asset/distribution/service/asset/impl/AssetServiceImpl.java
View file @
2a1bc926
...
...
@@ -234,6 +234,7 @@ public class AssetServiceImpl implements IAssetService{
termJSON
.
put
(
"fundInfo"
,
fundArray
);
FundModuleChannelFundConfig
config
=
fundModuleCHannelFundConfigService
.
findByBizChannel
(
assetForm
.
getBizChannel
());
QGPreconditions
.
checkArgument
(
config
!=
null
,
QGExceptionType
.
NOT_FOUNT_CHANNEL_FUNDS_INFO
,
assetForm
.
getBizChannel
());
List
<
ChannelFundConfig
>
fundConfigList
=
JSONArray
.
parseArray
(
config
.
getFunds
(),
ChannelFundConfig
.
class
);
A
:
for
(
ChannelFundConfig
channelFundConfig
:
fundConfigList
)
{
List
<
ChannelFundConfig
.
Limit
>
limits
=
channelFundConfig
.
getLimits
();
...
...
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