Commit 44f28bb3 authored by 技术部-韩成龙's avatar 技术部-韩成龙

手机号限制名单fix

parent 6ffb4c47
...@@ -297,7 +297,7 @@ public class CoreFilter { ...@@ -297,7 +297,7 @@ public class CoreFilter {
int age = IdCardUtil.getAge(associationBean.getIdNo()); int age = IdCardUtil.getAge(associationBean.getIdNo());
env.put(RuleConstant.AGE, age); env.put(RuleConstant.AGE, age);
if (currentRuleVal.equals(RuleConstant.NOT_PERMIT_TEL)) { if (currentRuleVal.equals(RuleConstant.NOT_PERMIT_TEL)) {
env.put(RuleConstant.NOT_PERMIT_TELS, Integer.parseInt(StringUtils.substring(associationBean.getPhoneNo(), 0, 3))); env.put(RuleConstant.NOT_PERMIT_TELS, StringUtils.substring(associationBean.getPhoneNo(), 0, 3));
} }
} }
Boolean execute = (Boolean) compiledExp.execute(env); Boolean execute = (Boolean) compiledExp.execute(env);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment