diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/Change.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/Change.jsp new file mode 100644 index 000000000..2f58613bf --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/Change.jsp @@ -0,0 +1,15 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/IncludeBegin.jsp"%><% + /* + Author: undefined 2018-07-30 + Content: + History Log: + */ +%><%@include file="/Resources/CodeParts/Frame02.jsp"%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfoForm.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfoForm.jsp new file mode 100644 index 000000000..218ccce80 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfoForm.jsp @@ -0,0 +1,31 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-07-30 + Content: 示例详情页面 + History Log: + */ + String ContractId = CurPage.getParameter("ContractId"); + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "DebitCardInfoForm";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); +// doTemp.setColTips("", "测试"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(ContractId); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/src_tenwa/com/tenwa/lease/app/invoicemanager/InvoiceManagerController.java b/src_tenwa/com/tenwa/lease/app/invoicemanager/InvoiceManagerController.java index 13ccbf0c4..ba7376936 100644 --- a/src_tenwa/com/tenwa/lease/app/invoicemanager/InvoiceManagerController.java +++ b/src_tenwa/com/tenwa/lease/app/invoicemanager/InvoiceManagerController.java @@ -224,10 +224,10 @@ public class InvoiceManagerController extends BaseTable{ public String submitOrNoInvoiceCorpusOneInvoice(JBOTransaction tx) throws Exception{ BizObjectManager lriiManager = JBOFactory.getBizObjectManager(LI_RENT_INVOICE_INFO.CLASS_NAME); BizObjectManager lccManager = JBOFactory.getBizObjectManager(LC_CALC_CONDITION.CLASS_NAME); - BizObjectManager lcitManager= JBOFactory.getBizObjectManager(LB_CONTRACT_INVOICE_TYPE.CLASS_NAME); + //BizObjectManager lcitManager= JBOFactory.getBizObjectManager(LB_CONTRACT_INVOICE_TYPE.CLASS_NAME); tx.join(lriiManager); tx.join(lccManager); - tx.join(lcitManager); + //tx.join(lcitManager); String[] paymentLists = PaymentList.split("@"); for(int i=0;i fromCondtion = new HashMap(); + fromCondtion.put("flowunid", flowunid); + Map toCondtion = new HashMap(); + toCondtion.put(CUSTOMER_ACCOUNT.contract_id, ContractId); + Map other = new HashMap(); + other.put(CUSTOMER_ACCOUNT.sign_status, "N"); + DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT_TEMP.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT.CLASS_NAME, toCondtion, other, Sqlca); + String sMessage="true"; + return sMessage; + } +} diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountFormalToChangeBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountFormalToChangeBusiness.java new file mode 100644 index 000000000..e4932ccee --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerAccountFormalToChangeBusiness.java @@ -0,0 +1,42 @@ +package com.tenwa.lease.flow.project.commbusiness; + +import java.util.HashMap; +import java.util.List; +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.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT; +import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO; +import jbo.com.tenwa.lease.comm.LB_EQUIPMENT; +import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_TEMP; +import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT; +import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP; +import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP; + +import com.amarsoft.are.jbo.BizObject; +import com.amarsoft.awe.util.Transaction; +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; +import com.tenwa.lease.flow.project.businessapply.CustomerCompare; + +public class LBCustomerAccountFormalToChangeBusiness extends BaseBussiness{ + @Override + public Object run(Transaction Sqlca) throws Exception { + this.initBussinessParam(Sqlca); + String flowunid = this.getAttribute("ObjectNo").toString(); + String ContractId = this.getAttribute("ContractId").toString(); + Map fromCondtion = new HashMap(); + Map other = new HashMap(); + other.put("flowunid",flowunid); + fromCondtion.put(CUSTOMER_ACCOUNT.contract_id, ContractId); + DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT_TEMP.CLASS_NAME, null, other, Sqlca); + String sMessage="true"; + return sMessage; + } +}