diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceInfo.jsp new file mode 100644 index 000000000..17b323fb8 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceInfo.jsp @@ -0,0 +1,28 @@ +<%@page import="com.itextpdf.text.log.SysoCounter"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@include file="/Frame/resources/include/include_begin_info.jspf"%><% + + + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceList.jsp"; + String sTempletNo = "LB_MANY_SUBJECT_INFO";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "0";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); + + String sButtons[][] = { + {"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", ""}, + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceList.jsp new file mode 100644 index 000000000..a0c70fed5 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/MoreThemeMaintenanceList.jsp @@ -0,0 +1,52 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + + String PG_TITLE = "多主体维护"; // 浏览器窗口标题 PG_TITLE + + ASObjectModel doTemp = new ASObjectModel("LB_MANY_SUBJECT_LIST"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + String PROJECT_NO = CurPage.getParameter("PROJECT_NO"); + String BUSINESSTYPE = Sqlca.getString("select BUSINESSTYPE from LB_PROJECT_INFO_temp WHERE PROJECT_NO='"+PROJECT_NO+"'"); + dwTemp.Style="1"; //--设置为Grid风格-- + //dwTemp.MultiSelect = true; //多选 + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(30); + dwTemp.genHTMLObjectWindow(""); + + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"}, + {"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, + }; +%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file 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";