APP预审批提示修改

This commit is contained in:
zhangjun 2020-08-26 19:54:28 +08:00
parent 21d91fda28
commit 841e445cac

View File

@ -136,7 +136,8 @@ public class BusinessDataServiceImpl implements BusinessDataService {
}
}
if(sb.length()>0){
message = fullcertid+"该身份证下的"+sb+"合同已经逾期!";
//message = fullcertid+"该身份证下的"+sb+"合同已经逾期!";
message = "该客户在我司有逾期!";
}
}
//二手车公里数和年限校验
@ -144,9 +145,11 @@ public class BusinessDataServiceImpl implements BusinessDataService {
String isAgeLimit = lbac.getAttribute("is_age_limit").getString();
String isMile = lbac.getAttribute("is_mile").getString();
if("Y".equals(isAgeLimit) && new Double(age_limit) >new Double(lbac.getAttribute("age_limit").getString())){
message = "车辆年限大于等于"+lbac.getAttribute("age_limit").getString()+"年!";
//message = "车辆年限大于等于"+lbac.getAttribute("age_limit").getString()+"年!";
message = "车辆不符准入条件!";
}else if("Y".equals(isMile) && new Double(mile) >= new Double(lbac.getAttribute("mile").getString())){
message = "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!";
//message = "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!";
message = "车辆不符准入条件!";
}
}
//身份证号校验
@ -154,6 +157,9 @@ public class BusinessDataServiceImpl implements BusinessDataService {
String subjectid = MultiSubjectUtil.SZSUBJECTID;
if(message==null && "Y".equals(isCard)){
//message = BeforeApplicationCheckUtil.checkCertid(fullname, fullcertid, subjectid, message);
if( message!=null ){
message="身份信息异常,请核实";
}
}
//保存数据
BizObjectManager lbam = JBOFactory.getBizObjectManager(LB_BEFORE_APPLICATION.CLASS_NAME);
@ -171,6 +177,7 @@ public class BusinessDataServiceImpl implements BusinessDataService {
if(message==null){
lba.setAttributeValue("pengyuanresult", "Y");
}else{
message="涉诉或司法被执行";
lba.setAttributeValue("pengyuanresult", "N");
lba.setAttributeValue("pengyuanreason", message);
}