From 30a17555447255e4ff9cfe0c575b95a40fd590e6 Mon Sep 17 00:00:00 2001 From: tangft <32189@DESKTOP-M6TAG3K> Date: Mon, 21 Jan 2019 18:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A3=E6=AC=BE=E5=8D=A1=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=EF=BC=8C=E6=9F=A5=E8=AF=A2=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBCustomerAccountChangeToFormalBusiness.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountChangeToFormalBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountChangeToFormalBusiness.java index 3ff5c8f6f..c52e6a495 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountChangeToFormalBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountChangeToFormalBusiness.java @@ -53,11 +53,12 @@ public class LBCustomerAccountChangeToFormalBusiness extends BaseBussiness{ fromCond.put("ACC_NUMBER", cat.getAttribute("ACC_NUMBER").getString()); fromCond.put("BANK_NAME", cat.getAttribute("BANK_NAME").getString()); fromCond.put("MOBILE", cat.getAttribute("MOBILE").getString()); - BizObject ca = DataOperatorUtil.getSingleJBO(CUSTOMER_ACCOUNT.CLASS_NAME, fromCond, Sqlca); - if(ca==null){ + fromCond.put("PROJECT_ID", this.getAttribute("projectId").toString()); + BizObject cah = DataOperatorUtil.getSingleJBO(CUSTOMER_ACCOUNT_HIS.CLASS_NAME, fromCond, Sqlca); + if(cah==null){ other.put(CUSTOMER_ACCOUNT.sign_status, "N"); }else{ - other.put(CUSTOMER_ACCOUNT.sign_status, ca.getAttribute("SIGN_STATUS").getString()); + other.put(CUSTOMER_ACCOUNT.sign_status, cah.getAttribute("SIGN_STATUS").getString()); } }