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
6ffb4c47
Commit
6ffb4c47
authored
Sep 30, 2021
by
技术部-韩成龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机号限制名单fix
parent
19a26492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
CoreFilter.java
...tgroup/asset/distribution/service/newrule/CoreFilter.java
+1
-5
No files found.
src/main/java/com/quantgroup/asset/distribution/service/newrule/CoreFilter.java
View file @
6ffb4c47
...
@@ -2,7 +2,6 @@ package com.quantgroup.asset.distribution.service.newrule;
...
@@ -2,7 +2,6 @@ package com.quantgroup.asset.distribution.service.newrule;
import
cn.quantgroup.motan.bean.UserAssociationBean
;
import
cn.quantgroup.motan.bean.UserAssociationBean
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.google.common.collect.Maps
;
import
com.google.common.collect.Maps
;
import
com.googlecode.aviator.AviatorEvaluator
;
import
com.googlecode.aviator.AviatorEvaluator
;
...
@@ -49,7 +48,6 @@ import shaded.com.google.common.collect.Lists;
...
@@ -49,7 +48,6 @@ import shaded.com.google.common.collect.Lists;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.IntStream
;
/**
/**
* @author shihuajun
* @author shihuajun
...
@@ -280,9 +278,7 @@ public class CoreFilter {
...
@@ -280,9 +278,7 @@ public class CoreFilter {
List
<
ProductRuleEntity
>
ruleEntityList
=
productRuleService
.
getAll
();
List
<
ProductRuleEntity
>
ruleEntityList
=
productRuleService
.
getAll
();
Map
<
String
,
Object
>
env
=
Maps
.
newConcurrentMap
();
Map
<
String
,
Object
>
env
=
Maps
.
newConcurrentMap
();
if
(
StringUtils
.
isNotBlank
(
fundProduct
.
getTelRule
()))
{
if
(
StringUtils
.
isNotBlank
(
fundProduct
.
getTelRule
()))
{
// env.put(RuleConstant.NOT_PERMIT_TEL, Lists.newArrayList(Arrays.stream(fundProduct.getTelRule()
env
.
put
(
RuleConstant
.
NOT_PERMIT_TEL
,
fundProduct
.
getTelRule
().
replace
(
"["
,
""
).
replace
(
"]"
,
""
).
split
(
","
));
// .split(CommonConstants.COMMA)).mapToInt(s -> Integer.parseInt(s))));
env
.
put
(
RuleConstant
.
NOT_PERMIT_TEL
,
JSONArray
.
parseArray
(
fundProduct
.
getTelRule
()).
toJavaList
(
String
.
class
));
}
}
for
(
ProductRuleEntity
pre
:
ruleEntityList
)
{
for
(
ProductRuleEntity
pre
:
ruleEntityList
)
{
if
(
pre
.
getEnable
().
equals
(
new
Byte
(
"0"
)))
{
if
(
pre
.
getEnable
().
equals
(
new
Byte
(
"0"
)))
{
...
...
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