From 311758651eec44b2ded994286b03a78797d1d927 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Thu, 3 Sep 2020 18:19:32 +0800 Subject: [PATCH] =?UTF-8?q?APP=E9=A2=84=E5=AE=A1=E6=89=B9web=E7=AB=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LbBeforeAppLicationInfo.jsp | 3 ++- .../businessapply/BeforeAppLicationCheck.java | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp index 7a970753a..02226cadd 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/LbBeforeAppLication/LbBeforeAppLicationInfo.jsp @@ -214,7 +214,8 @@ setErrorTips("fullcertid",""); return true; }else{ - setErrorTips("fullcertid","身份证格式错误!"); + //setErrorTips("fullcertid","身份证格式错误!"); + setErrorTips("fullcertid","身份信息异常,请核实!"); return false; } diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java index be77d5115..615339c5e 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BeforeAppLicationCheck.java @@ -50,9 +50,11 @@ public class BeforeAppLicationCheck { } if(sb.length()>0){ lba.setAttributeValue("result", "N"); - lba.setAttributeValue("reason", fullcertid+"该身份证下的"+sb+"合同已经逾期!"); + //lba.setAttributeValue("reason", fullcertid+"该身份证下的"+sb+"合同已经逾期!"); + lba.setAttributeValue("reason", fullcertid+"该客户在我司有逾期!"); lbam.saveObject(lba); - return fullcertid+"该身份证下的"+sb+"合同已经逾期!"; + //return fullcertid+"该身份证下的"+sb+"合同已经逾期!"; + return fullcertid+"该客户在我司有逾期!"; } } String carattributes = lba.getAttribute("CARATTRIBUTES").getString(); @@ -64,14 +66,18 @@ public class BeforeAppLicationCheck { String isMile = lbac.getAttribute("is_mile").getString(); if("Y".equals(isAgeLimit) && new Double(age_limit) >new Double(lbac.getAttribute("age_limit").getString())){ lba.setAttributeValue("result", "N"); - lba.setAttributeValue("reason", "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"); + //lba.setAttributeValue("reason", "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"); + lba.setAttributeValue("reason", "车辆不符准入条件!"); lbam.saveObject(lba); - return "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"; + //return "车辆年限大于"+lbac.getAttribute("age_limit").getString()+"年!"; + return "车辆不符准入条件!"; }else if("Y".equals(isMile) && new Double(mile) >= new Double(lbac.getAttribute("mile").getString())){ lba.setAttributeValue("result", "N"); - lba.setAttributeValue("reason", "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!"); + //lba.setAttributeValue("reason", "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!"); + lba.setAttributeValue("reason", "车辆不符准入条件!"); lbam.saveObject(lba); - return "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!"; + //return "车辆公里数大于"+lbac.getAttribute("mile").getString()+"万公里!"; + return "车辆不符准入条件!"; } } String fullname = lba.getAttribute("fullname").getString();