风控中台-风险预警-信审反馈:未评分也可以退回

This commit is contained in:
zhanglei@ap-leasing.com.cn 2023-09-28 13:53:24 +08:00
parent 258505fa3b
commit ee1a9672ba
2 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,7 @@
###################################
is_prd=false
###################################
# esb config
esb_url=http://172.30.1.9:22201/baicfc/trans?
userid=TYJWBY7F
@ -9,8 +13,6 @@ log_path=/data/esb/log/
afs_url=http://afsapf.rms.baicfc.com/Instinct.UI.WebClient_5.3.1/api/redirect?
RSAPublicKey=/soft/apache-tomcat-7.0.90-7090-apzl/webapps/apzl_leasing/WEB-INF/classes/rsa_public_key.pem
is_prd=false
#test#
esb_url_test=http://47.93.34.101/baicfc/trans?
userid_test=TYJWBY7F

View File

@ -1,19 +1,14 @@
package com.ample.esb.check;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.awe.util.ASResultSet;
import com.amarsoft.awe.util.SqlObject;
import com.amarsoft.awe.util.Transaction;
import com.tenwa.template.check.DefaultBussinessCheck;
import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT;
import jbo.oti.RC_SCORE_RESULT;
import jbo.sys.FLOW_TASK;
import org.apache.commons.lang3.StringUtils;
import java.util.List;
/**
* ·ç¿ØÖÐ̨½á¹ûУÑé
*
@ -35,7 +30,11 @@ public class AMPResutCheck extends DefaultBussinessCheck{
phasechoice = result.getString("phasechoice");
phaseOpinion = result.getString("phaseopinion");
}
if("0040".equals(phasechoice)){
putMsg("验证通过!");
setPass(true);
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);
if(null == boRSR){
// if("0040".equals(phasechoice)){