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
94da5a28
Commit
94da5a28
authored
Dec 27, 2019
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
579cfc65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
AssetServiceImpl.java
...set/distribution/service/asset/impl/AssetServiceImpl.java
+10
-6
No files found.
src/main/java/com/quantgroup/asset/distribution/service/asset/impl/AssetServiceImpl.java
View file @
94da5a28
...
...
@@ -240,6 +240,16 @@ public class AssetServiceImpl implements IAssetService{
if
(
expression
.
contains
(
"audit_result"
))
{
hasAuditResultLimit
=
true
;
}
}
// 必须前置,不然如果没有判断的参数就会报错
if
(!
hasAuditResultLimit
)
{
// 如果没配,自动过一层auditResult@true的条件
if
(!
ruleService
.
valid
(
"audit_result==true"
,
data
))
{
continue
A
;
}
}
for
(
ChannelFundConfig
.
Limit
limit
:
limits
)
{
String
expression
=
limit
.
getLimit
();
// 如果是拒绝原因判断并且没有配置拒绝原因,不满足
if
(
expression
.
contains
(
"refuseReason"
)
&&
data
.
get
(
"refuseReason"
)
==
null
)
{
continue
A
;
...
...
@@ -249,12 +259,6 @@ public class AssetServiceImpl implements IAssetService{
}
}
}
if
(!
hasAuditResultLimit
)
{
// 如果没配,自动过一层auditResult@true的条件
if
(!
ruleService
.
valid
(
"audit_result==true"
,
data
))
{
continue
A
;
}
}
// 创建并增加资方配置
JSONObject
fundInfoJSON
=
new
JSONObject
();
fundInfoJSON
.
put
(
"fundId"
,
channelFundConfig
.
getFundId
());
...
...
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