diff --git a/config/baic.properties b/config/baic.properties index 89d052808..193af2156 100644 --- a/config/baic.properties +++ b/config/baic.properties @@ -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 diff --git a/src/com/ample/esb/check/AMPResutCheck.java b/src/com/ample/esb/check/AMPResutCheck.java index a607cbcbe..e0b4051d2 100644 --- a/src/com/ample/esb/check/AMPResutCheck.java +++ b/src/com/ample/esb/check/AMPResutCheck.java @@ -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)){