Commit 637db648 authored by 技术部-韩成龙's avatar 技术部-韩成龙

校验日志

parent 6d5a2812
......@@ -143,6 +143,7 @@ public class CoreFilter {
routingRecordEntity.setUuid(auditResponce.getUuid());
if (CollectionUtils.isEmpty(financeProducts)) {
routingRecordEntity.setStatus(new Byte("0"));
routingRecordEntity.setRoutedResult("");
} else {
routingRecordEntity.setStatus(new Byte("1"));
routingRecordEntity.setRoutedResult(JSON.toJSONString(routingRecordList));
......@@ -206,14 +207,17 @@ public class CoreFilter {
}
long channelId = channelRuleEntity.getChannelId();
if (channelId != Long.parseLong(auditResponce.getBizChannel())) {
log.error("channelId不符");
return Boolean.FALSE;
}
if (StringUtils.isNotBlank(auditResponce.getCreditLevel()) || (StringUtils.isNotBlank(auditResponce.getCreditLevel())
&& !channelRuleEntity.getUserLevel().contains(auditResponce.getCreditLevel()))) {
log.error("CreditLevel不符");
return Boolean.FALSE;
}
if (StringUtils.isNotBlank(auditResponce.getUserTag()) || (StringUtils.isNotBlank(auditResponce.getUserTag())
&& !channelRuleEntity.getUserTag().contains(auditResponce.getUserTag()))) {
log.error("UserTag不符");
return Boolean.FALSE;
}
String basicRule = fundProduct.getBasicRule();
......
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