From 9ee5ed4a082b6313465b3352178298d8dbd50605 Mon Sep 17 00:00:00 2001 From: lixuebo Date: Thu, 24 Oct 2019 09:32:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E9=93=B6=E6=A0=B8=E9=94=80=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E8=A1=A8=E5=88=B0=E6=AD=A3=E5=BC=8F=E8=A1=A8=E5=8A=A0?= =?UTF-8?q?=E5=BD=95=E5=85=A5=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flow/rent/copyrent/CopyRentIncomeTempToFormal.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src_tenwa/com/tenwa/flow/rent/copyrent/CopyRentIncomeTempToFormal.java b/src_tenwa/com/tenwa/flow/rent/copyrent/CopyRentIncomeTempToFormal.java index 8a6c77045..41b39a903 100644 --- a/src_tenwa/com/tenwa/flow/rent/copyrent/CopyRentIncomeTempToFormal.java +++ b/src_tenwa/com/tenwa/flow/rent/copyrent/CopyRentIncomeTempToFormal.java @@ -1,11 +1,13 @@ package com.tenwa.flow.rent.copyrent; +import java.text.SimpleDateFormat; +import java.util.Date; import java.util.HashMap; import java.util.Map; import com.amarsoft.awe.util.SqlObject; import com.amarsoft.awe.util.Transaction; -import com.amarsoft.biz.bizlet.Bizlet; +import com.amarsoft.context.ASUser; import com.tenwa.flow.baseBussion.BaseBussiness; import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService; import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum; @@ -20,6 +22,9 @@ public class CopyRentIncomeTempToFormal extends BaseBussiness{ public Object run(Transaction Sqlca) throws Exception{ this.initBussinessParam(Sqlca.getTransaction()); String sFlowUnid = (String)this.getAttribute("ObjectNo"); + String userId = (String)this.getAttribute("CurUserID"); + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); + ASUser asUser=new ASUser(userId); String id = (String)this.getAttribute("ebank_number"); SqlObject so = new SqlObject("update lc_rent_income_temp set is_flowing='1' where flowunid='"+sFlowUnid+"'"); Sqlca.executeSQL(so); @@ -29,6 +34,9 @@ public class CopyRentIncomeTempToFormal extends BaseBussiness{ otherProperty.put("FLOWUNID", ""); if(id==null||id.equals("null"))id=""; otherProperty.put("EBANK_NUMBER", id); + otherProperty.put("INPUTUSERID", userId); + otherProperty.put("INPUTORGID", asUser.getOrgID()); + otherProperty.put("INPUTTIME", simpleDateFormat.format(new Date())); LeaseFlowBaseService service=new LeaseFlowBaseServiceImp(); service.copyRentIncomeInfo(Sqlca, fromCondtion, null , otherProperty, ServiceOperatorEnum.TempToFormal,null); String sMessage="true";