From d67bedd1c9eb2f86c9116d2bbea35ff14315757a Mon Sep 17 00:00:00 2001 From: tangft <32189@DESKTOP-M6TAG3K> Date: Wed, 23 Jan 2019 12:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=E3=80=81?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=88=A0=E9=99=A4=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBDeleteIdentityBusiness.java | 46 +++++++++++++++++++ ...yCheckFormalToTempInformationBusiness.java | 3 +- ...yCheckTempToFormalInformationBusiness.java | 3 +- 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBDeleteIdentityBusiness.java diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBDeleteIdentityBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBDeleteIdentityBusiness.java new file mode 100644 index 000000000..12c7e0ec6 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBDeleteIdentityBusiness.java @@ -0,0 +1,46 @@ +package com.tenwa.lease.flow.project.commbusiness; + +import java.util.HashMap; +import java.util.Map; + +import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT; +import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_FAMILY; +import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_PERSONAL_INFO; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_PERSONAL_INFO_TEMP; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_RISKITEM; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_RISKITEM_TEMP; +import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT; +import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_HIS; +import jbo.com.tenwa.lease.comm.LB_TELONLINE; +import jbo.com.tenwa.lease.comm.LB_TELONLINE_TEMP; +import jbo.com.tenwa.lease.comm.LC_IDENTITY_CHECK_RESULT; +import jbo.com.tenwa.lease.comm.LC_IDENTITY_CHECK_RESULT_TEMP; + +import com.amarsoft.awe.util.Transaction; +import com.tenwa.comm.util.date.DateAssistant; +import com.tenwa.comm.util.jboutil.DataOperatorUtil; +import com.tenwa.flow.baseBussion.BaseBussiness; +import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService; +import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum; +import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp; + +public class LBDeleteIdentityBusiness extends BaseBussiness { + + /** + * 删除身份证校验信息 + */ + @Override + public Object run(Transaction Sqlca) throws Exception { + this.initBussinessParam(Sqlca); + MapfromCondtion=new HashMap(); + fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString()); + //流程结束删除对应的身份证信息校验信息 + DataOperatorUtil.deleteJBOByCondtion(LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, fromCondtion,Sqlca); + + String sMessage="true"; + return sMessage; + } + +} diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckFormalToTempInformationBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckFormalToTempInformationBusiness.java index 374c642b8..ea1f4afa2 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckFormalToTempInformationBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckFormalToTempInformationBusiness.java @@ -34,13 +34,12 @@ public class LBIdentityCheckFormalToTempInformationBusiness extends BaseBussines @Override public Object run(Transaction Sqlca) throws Exception { this.initBussinessParam(Sqlca); - LeaseFlowBaseService service=new LeaseFlowBaseServiceImp(); MapfromCondtion=new HashMap(); fromCondtion.put("projectid",this.getAttribute("ProjectId").toString()); MapotherProperty=new HashMap(); otherProperty.put("flowunid",this.getAttribute("FlowUnid").toString()); //身份证校验表从临时到正式表 - DataOperatorUtil.copyJBOSet(LC_IDENTITY_CHECK_RESULT.CLASS_NAME, fromCondtion,LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, null, otherProperty,null, Sqlca); +// DataOperatorUtil.copyJBOSet(LC_IDENTITY_CHECK_RESULT.CLASS_NAME, fromCondtion,LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, null, otherProperty,null, Sqlca); DataOperatorUtil.copyJBOSet(LB_CAR_CREDIT_PERSONAL_INFO.CLASS_NAME, fromCondtion,LB_CAR_CREDIT_PERSONAL_INFO_TEMP.CLASS_NAME, null, otherProperty,null, Sqlca); DataOperatorUtil.copyJBOSet(LB_CAR_CREDIT_RISKITEM.CLASS_NAME, fromCondtion,LB_CAR_CREDIT_RISKITEM_TEMP.CLASS_NAME, null, otherProperty,null, Sqlca); fromCondtion.clear(); diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckTempToFormalInformationBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckTempToFormalInformationBusiness.java index 269e9929f..49a7c670d 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckTempToFormalInformationBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBIdentityCheckTempToFormalInformationBusiness.java @@ -34,13 +34,12 @@ public class LBIdentityCheckTempToFormalInformationBusiness extends BaseBussines @Override public Object run(Transaction Sqlca) throws Exception { this.initBussinessParam(Sqlca); - LeaseFlowBaseService service=new LeaseFlowBaseServiceImp(); MapfromCondtion=new HashMap(); fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString()); MapotherProperty=new HashMap(); otherProperty.put("projectid",this.getAttribute("ProjectId").toString()); //身份证校验表从临时到正式表 - DataOperatorUtil.copyJBOSet(LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, fromCondtion,LC_IDENTITY_CHECK_RESULT.CLASS_NAME, null, otherProperty,null, Sqlca); +// DataOperatorUtil.copyJBOSet(LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, fromCondtion,LC_IDENTITY_CHECK_RESULT.CLASS_NAME, null, otherProperty,null, Sqlca); DataOperatorUtil.copyJBOSet(LB_CAR_CREDIT_PERSONAL_INFO_TEMP.CLASS_NAME, fromCondtion,LB_CAR_CREDIT_PERSONAL_INFO.CLASS_NAME, null, otherProperty,null, Sqlca); DataOperatorUtil.copyJBOSet(LB_CAR_CREDIT_RISKITEM_TEMP.CLASS_NAME, fromCondtion,LB_CAR_CREDIT_RISKITEM.CLASS_NAME, null, otherProperty,null, Sqlca); otherProperty.clear();