Revert "风控中台-增加评分结果风险预警"
This reverts commit 21bf7878
This commit is contained in:
parent
769661ce0a
commit
d102b41b13
@ -6,7 +6,6 @@ import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.template.check.DefaultBussinessCheck;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP;
|
||||
import jbo.oti.RC_SCORE_RESULT;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
@ -56,27 +55,6 @@ public class RCRequiredDataCheck extends DefaultBussinessCheck{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
BizObject boRSR = JBOFactory.createBizObjectQuery(RC_SCORE_RESULT.CLASS_NAME,"select score_result_code,fraud_alert_code,fraud_taken_code from O where flow_no=:flowNo").setParameter("flowNo",ObjectNo).getSingleResult(false);
|
||||
String socreCode = boRSR.getAttribute("score_result_code").toString();
|
||||
String alertCode = boRSR.getAttribute("fraud_alert_code").toString();
|
||||
String takenCode = boRSR.getAttribute("fraud_taken_code").toString();
|
||||
if("".equals(socreCode)){
|
||||
putMsg("请先评分获取评分结果");
|
||||
setPass(false);
|
||||
return null;
|
||||
}
|
||||
if("RR".equals(socreCode)||"RD".equals(socreCode)){
|
||||
if("".equals(takenCode)){
|
||||
putMsg("请先获取反欺诈人工判定结果");
|
||||
setPass(false);
|
||||
return null;
|
||||
}
|
||||
if("".equals(alertCode)){
|
||||
putMsg("请先获取反欺诈预警结果");
|
||||
setPass(false);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
putMsg("验证通过!");
|
||||
setPass(true);
|
||||
return null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user