贷前校验bug修复
This commit is contained in:
parent
2cc646ee1e
commit
fcec606e81
@ -18,11 +18,10 @@ import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
|
||||
/**
|
||||
* 贷前征信校验类
|
||||
* 贷前征信校验类
|
||||
* @author 张磊
|
||||
* 2018年6月29日 下午3:09:35
|
||||
* 2018年7月4日 下午3:30:16
|
||||
*/
|
||||
public class CreditBodyGuardAction {
|
||||
|
||||
@ -198,7 +197,7 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
if(courtdetailList.get(j).get("executed_name")!=null){
|
||||
if(courtdetailList.get(j).get("execute_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"风险类型:"+courtdetailList.get(j).get("fraud_type_display_name").toString()+","
|
||||
@ -256,7 +255,7 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
if(courtdetailList.get(j).get("execute_code")!=null){
|
||||
if(courtdetailList.get(j).get("execute_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"性别:"+courtdetailList.get(j).get("gender").toString()+","
|
||||
@ -376,11 +375,13 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> overduedetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("overdue_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<overduedetailList.size();j++){
|
||||
sb.append("(逾期金额:"+overduedetailList.get(j).get("overdue_amount_range").toString()+","
|
||||
+"逾期笔数:"+overduedetailList.get(j).get("overdue_count").toString()+","
|
||||
+"逾期天数:"+overduedetailList.get(j).get("overdue_day_range").toString()+","
|
||||
+"overdue_time"+overduedetailList.get(j).get("overdue_time").toString()+")"
|
||||
);
|
||||
if(overduedetailList.get(j).get("overdue_amount_range")!=null){
|
||||
sb.append("(逾期金额:"+overduedetailList.get(j).get("overdue_amount_range").toString()+","
|
||||
+"逾期笔数:"+overduedetailList.get(j).get("overdue_count").toString()+","
|
||||
+"逾期天数:"+overduedetailList.get(j).get("overdue_day_range").toString()+","
|
||||
+"overdue_time"+overduedetailList.get(j).get("overdue_time").toString()+")"
|
||||
);
|
||||
}
|
||||
}
|
||||
msg ="规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"逾期次数:"+detailList.get(0).get("discredit_times").toString()+"。"
|
||||
@ -571,8 +572,9 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
if(courtdetailList.get(j).get("evidence_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"性别:"+courtdetailList.get(j).get("gender").toString()+","
|
||||
+"年龄:"+courtdetailList.get(j).get("age").toString()+","
|
||||
+"风险类型:"+courtdetailList.get(j).get("fraud_type_display_name").toString()+","
|
||||
@ -584,7 +586,8 @@ public class CreditBodyGuardAction {
|
||||
+"做出依据执行法院:"+courtdetailList.get(j).get("evidence_court").toString()+","
|
||||
+"被执行人履行情况:"+courtdetailList.get(j).get("carry_out").toString()+","
|
||||
+"信贷逾期被执行人行为具体情形:"+courtdetailList.get(j).get("specific_circumstances").toString()+"),"
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"风险类型:"+detailList.get(0).get("fraud_type_display_name").toString()+"。"
|
||||
@ -603,6 +606,7 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
if(courtdetailList.get(j).get("execute_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"风险类型:"+courtdetailList.get(j).get("fraud_type_display_name").toString()+","
|
||||
@ -611,7 +615,8 @@ public class CreditBodyGuardAction {
|
||||
+"立案时间:"+courtdetailList.get(j).get("case_date").toString()+","
|
||||
+"案号:"+courtdetailList.get(j).get("case_code").toString()+","
|
||||
+"做出依据执行法院:"+courtdetailList.get(j).get("evidence_court").toString()+")"
|
||||
);
|
||||
);
|
||||
}
|
||||
}
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"风险类型:"+detailList.get(0).get("fraud_type_display_name").toString()+"。"
|
||||
@ -640,7 +645,7 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
if(courtdetailList.get(j).get("execute_code")!=null){
|
||||
if(courtdetailList.get(j).get("execute_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"性别:"+courtdetailList.get(j).get("gender").toString()+","
|
||||
@ -713,15 +718,17 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> courtdetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("court_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<courtdetailList.size();j++){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"风险类型:"+courtdetailList.get(j).get("fraud_type_display_name").toString()+","
|
||||
+"命中的属性值:"+courtdetailList.get(j).get("value").toString()+","
|
||||
+"执行法院:"+courtdetailList.get(j).get("execute_court").toString()+","
|
||||
+"立案时间:"+courtdetailList.get(j).get("case_date").toString()+","
|
||||
+"案号:"+courtdetailList.get(j).get("case_code").toString()+","
|
||||
+"做出依据执行法院:"+courtdetailList.get(j).get("evidence_court").toString()+"),"
|
||||
);
|
||||
if(courtdetailList.get(j).get("execute_court")!=null){
|
||||
sb.append(
|
||||
"(被执行人姓名:"+courtdetailList.get(j).get("executed_name").toString()+","
|
||||
+"风险类型:"+courtdetailList.get(j).get("fraud_type_display_name").toString()+","
|
||||
+"命中的属性值:"+courtdetailList.get(j).get("value").toString()+","
|
||||
+"执行法院:"+courtdetailList.get(j).get("execute_court").toString()+","
|
||||
+"立案时间:"+courtdetailList.get(j).get("case_date").toString()+","
|
||||
+"案号:"+courtdetailList.get(j).get("case_code").toString()+","
|
||||
+"做出依据执行法院:"+courtdetailList.get(j).get("evidence_court").toString()+"),"
|
||||
);
|
||||
}
|
||||
}
|
||||
msg = "规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"风险类型:"+detailList.get(0).get("fraud_type_display_name").toString()+"。"
|
||||
@ -743,11 +750,13 @@ public class CreditBodyGuardAction {
|
||||
List<HashMap> overduedetailList = JSON.parseArray(JSON.toJSONString(detailList.get(0).get("overdue_details")),HashMap.class);
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for(int j=0;j<overduedetailList.size();j++){
|
||||
sb.append("(逾期金额:"+overduedetailList.get(j).get("overdue_amount_range").toString()+","
|
||||
+"逾期笔数:"+overduedetailList.get(j).get("overdue_count").toString()+","
|
||||
+"逾期天数:"+overduedetailList.get(j).get("overdue_day_range").toString()+","
|
||||
+"逾期入库时间:"+overduedetailList.get(j).get("overdue_time").toString()+")"
|
||||
);
|
||||
if(overduedetailList.get(j).get("overdue_amount_range")!=null){
|
||||
sb.append("(逾期金额:"+overduedetailList.get(j).get("overdue_amount_range").toString()+","
|
||||
+"逾期笔数:"+overduedetailList.get(j).get("overdue_count").toString()+","
|
||||
+"逾期天数:"+overduedetailList.get(j).get("overdue_day_range").toString()+","
|
||||
+"逾期入库时间:"+overduedetailList.get(j).get("overdue_time").toString()+")"
|
||||
);
|
||||
}
|
||||
}
|
||||
msg ="规则描述:"+detailList.get(0).get("description").toString()+"。"
|
||||
+"逾期次数:"+detailList.get(0).get("discredit_times").toString()+"。"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user