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();