业务申请、变更删除身份证校验信息

This commit is contained in:
tangft 2019-01-23 12:09:48 +08:00
parent 4c87d41225
commit d67bedd1c9
3 changed files with 48 additions and 4 deletions

View File

@ -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);
Map<String,String>fromCondtion=new HashMap<String,String>();
fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString());
//流程结束删除对应的身份证信息校验信息
DataOperatorUtil.deleteJBOByCondtion(LC_IDENTITY_CHECK_RESULT_TEMP.CLASS_NAME, fromCondtion,Sqlca);
String sMessage="true";
return sMessage;
}
}

View File

@ -34,13 +34,12 @@ public class LBIdentityCheckFormalToTempInformationBusiness extends BaseBussines
@Override
public Object run(Transaction Sqlca) throws Exception {
this.initBussinessParam(Sqlca);
LeaseFlowBaseService service=new LeaseFlowBaseServiceImp();
Map<String,String>fromCondtion=new HashMap<String,String>();
fromCondtion.put("projectid",this.getAttribute("ProjectId").toString());
Map<String,String>otherProperty=new HashMap<String,String>();
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();

View File

@ -34,13 +34,12 @@ public class LBIdentityCheckTempToFormalInformationBusiness extends BaseBussines
@Override
public Object run(Transaction Sqlca) throws Exception {
this.initBussinessParam(Sqlca);
LeaseFlowBaseService service=new LeaseFlowBaseServiceImp();
Map<String,String>fromCondtion=new HashMap<String,String>();
fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString());
Map<String,String>otherProperty=new HashMap<String,String>();
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();