网银核销临时表到正式表加录入时间
This commit is contained in:
parent
457bb8c37b
commit
9ee5ed4a08
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user