From bb58dc7684cceb1aa100a5e324cb2fba3e97a787 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 22 Jun 2018 16:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7,=E6=B3=95?= =?UTF-8?q?=E4=BA=BA=E9=A1=B5=E9=9D=A2=E5=B7=B2=E6=9B=B4=E6=8D=A2=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=B3=95=E4=BA=BA=E9=A1=B5=E9=9D=A2=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=80=BC=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lessee/Person/LPApplicationInfoTemp.jsp | 30 ------------------- .../LBGuaranteePerUnitInfo.jsp | 1 - .../BusinessProjectTempInfo.jsp | 11 +++++-- .../LBProjectIntoTempInitCarBusiness.java | 19 ++++++------ 4 files changed, 19 insertions(+), 42 deletions(-) delete mode 100644 WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp diff --git a/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp b/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp deleted file mode 100644 index c199f59f2..000000000 --- a/WebContent/Tenwa/Customer/Lessee/Person/LPApplicationInfoTemp.jsp +++ /dev/null @@ -1,30 +0,0 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% - /* - Author: undefined 2018-06-15 - Content: 示例详情页面 - History Log: - */ - String sPrevUrl = CurPage.getParameter("PrevUrl"); - if(sPrevUrl == null) sPrevUrl = ""; - - String sTempletNo = "LPApplicationInfoTemp";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - doTemp.setColTips("", ""); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - dwTemp.Style = "2";//freeform - //dwTemp.ReadOnly = "-2";//只读模式 - dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); - - 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/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index 75e8865e7..7f7023152 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -37,7 +37,6 @@ <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java index 66ba97e3b..0a064c80e 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -1,6 +1,6 @@ package com.tenwa.lease.flow.project.commbusiness; -import jbo.app.lpapplication; +import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP; import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP; import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP; import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP; @@ -28,7 +28,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { BizObjectManager bm = JBOFactory.getBizObjectManager(LB_PROJECT_INFO_TEMP.CLASS_NAME); BizObjectManager bmCPT = JBOFactory.getBizObjectManager(CUSTOMER_PERSON_TEMP.CLASS_NAME,Sqlca); //顺便初始化客户信息 BizObjectManager bmLULT = JBOFactory.getBizObjectManager(LB_UNION_LESSEE_TEMP.CLASS_NAME,Sqlca); - BizObjectManager bmLPA = JBOFactory.getBizObjectManager(lpapplication.CLASS_NAME,Sqlca); + BizObjectManager bmCCT = JBOFactory.getBizObjectManager(CUSTOMER_COMPANY_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmLECT = JBOFactory.getBizObjectManager(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmLCIT = JBOFactory.getBizObjectManager(LB_CONTRACT_INFO_TEMP.CLASS_NAME,Sqlca); @@ -38,7 +38,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { BizObject bo = bm.newObject(); BizObject boCRT = bmCPT.newObject(); BizObject boLULT = bmLULT.newObject(); - BizObject bmLP = bmLPA.newObject(); + BizObject bmCC = bmCCT.newObject(); BizObject bmLEC = bmLECT.newObject(); BizObject bmLCI = bmLCIT.newObject(); @@ -75,11 +75,12 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { //根据客户类型设置参数 String certType = this.getAttribute("certtype").toString(); if(certType.equals("Ent02")){ - bmLP.setAttributeValue("flowunid", this.getAttribute("FlowUnid")); - bmLP.setAttributeValue("customerid", customerId); - bmLP.setAttributeValue("enterprisename", this.getAttribute("custname")); - bmLP.setAttributeValue("certtype", this.getAttribute("certtype")); - bmLP.setAttributeValue("certid", this.getAttribute("certid")); + bmCC.setAttributeValue("flowunid", this.getAttribute("FlowUnid")); + bmCC.setAttributeValue("customerid", customerId); + String custname = this.getAttribute("custname").toString(); + String certid = this.getAttribute("certid").toString(); + bmCC.setAttributeValue("enterprisename", this.getAttribute("custname")); + bmCC.setAttributeValue("certid", this.getAttribute("certid")); } bmLEC.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid")); @@ -123,7 +124,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { bm.saveObject(bo); bmCPT.saveObject(boCRT); bmLULT.saveObject(boLULT); - bmLPA.saveObject(bmLP); + bmCCT.saveObject(bmCC); bmLECT.saveObject(bmLEC); bmLCIT.saveObject(bmLCI);