From 87de5f2d67d7a4ead9650a4acc7d048da849da22 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Mon, 9 Dec 2019 14:26:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=88=86=E6=B6=A6=E6=94=AF=E4=BB=98=E6=8B=B7?= =?UTF-8?q?=E8=A1=A8=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Rent/RentReback/LCSplittingPayTemp.jsp | 2 +- .../CopyLCSplittingPayTempToForml.java | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src_tenwa/com/tenwa/lease/flow/rent/rentreback/CopyLCSplittingPayTempToForml.java diff --git a/WebContent/Tenwa/Lease/Flow/Rent/RentReback/LCSplittingPayTemp.jsp b/WebContent/Tenwa/Lease/Flow/Rent/RentReback/LCSplittingPayTemp.jsp index f78292a1a..ec08ee4d9 100644 --- a/WebContent/Tenwa/Lease/Flow/Rent/RentReback/LCSplittingPayTemp.jsp +++ b/WebContent/Tenwa/Lease/Flow/Rent/RentReback/LCSplittingPayTemp.jsp @@ -36,7 +36,7 @@ }; }else if("0010".equals(phaseNo)){ sButtons = new String[][]{ - {"true","","Button","保存","保存","as_save(0)","","","","btn_icon_save",""} + {"true","","Button","保存","保存","as_save(0)","","","","btn_icon_save",""}, {"true","","Button","撤销","撤销","as_delete(0)","","","","btn_icon_delete",""} }; }else{ diff --git a/src_tenwa/com/tenwa/lease/flow/rent/rentreback/CopyLCSplittingPayTempToForml.java b/src_tenwa/com/tenwa/lease/flow/rent/rentreback/CopyLCSplittingPayTempToForml.java new file mode 100644 index 000000000..f41c5d3ce --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/rent/rentreback/CopyLCSplittingPayTempToForml.java @@ -0,0 +1,35 @@ +package com.tenwa.lease.flow.rent.rentreback; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import jbo.app.tenwa.calc.LC_FUND_INCOME; +import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP; +import jbo.app.tenwa.calc.LC_RENT_INCOME; +import jbo.app.tenwa.calc.LC_RENT_INCOME_TEMP; +import jbo.com.tenwa.entity.comm.flow.LC_SPLITTING_PAY; +import jbo.com.tenwa.entity.comm.flow.LC_SPLITTING_PAY_TEMP; + +import com.amarsoft.are.jbo.BizObject; +import com.amarsoft.are.jbo.BizObjectManager; +import com.amarsoft.are.jbo.JBOFactory; +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; + +public class CopyLCSplittingPayTempToForml extends BaseBussiness{ + public Object run(Transaction Sqlca) throws Exception{ + this.initBussinessParam(Sqlca); + MapfromCondtion=new HashMap(); + fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString()); + DataOperatorUtil.copyJBOSet(LC_SPLITTING_PAY_TEMP.CLASS_NAME, fromCondtion,LC_SPLITTING_PAY.CLASS_NAME, null, null, null,Sqlca); + + String sMessage="true"; + return sMessage; + } +} +