From 3cde854740346d4caefc86875289a70a26f0f91d Mon Sep 17 00:00:00 2001 From: tenwaPC Date: Mon, 15 Jul 2019 17:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E5=AF=84=E8=B5=84=E6=96=99=E5=BD=92?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Apzl/FileUpload/ApproveDetail.jsp | 36 +++ .../FileUpload/CheckApplyPassContract.jsp | 12 + .../Tenwa/Apzl/FileUpload/DocMailListMain.jsp | 50 ++++ .../Apzl/FileUpload/GetDocMailNumber.jsp | 6 + .../Apzl/FileUpload/LBPlaceFileTempInfo.jsp | 61 ++++ .../LBnotAllMailHndHandoverList.jsp | 56 ++++ .../LBnotAllMailHndHandoverTempList.jsp | 135 +++++++++ .../LmApprovaloppinionDocTempInfo.jsp | 36 +++ .../LmApprovaloppinionDocTempList.jsp | 44 +++ .../FileUpload/MortgageFileMailApplyList.jsp | 34 +++ .../Tenwa/Apzl/FileUpload/PayDocMailList.jsp | 281 ++++++++++++++++++ WebContent/WEB-INF/etc/jbo/jbo_doc.xml | 158 ++++++++++ .../tenwa/doc/action/DocListInitAction.java | 158 ++++++++++ .../com/tenwa/doc/cache/DocListCache.java | 20 +- src_core/com/tenwa/util/SerialNumberUtil.java | 3 + .../project/businessapply/DocMailAction.java | 204 +++++++++++++ .../commbusiness/LBFileMailTempToFormal.java | 58 ++++ 17 files changed, 1351 insertions(+), 1 deletion(-) create mode 100644 WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/DocMailListMain.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/GetDocMailNumber.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverList.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempInfo.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/MortgageFileMailApplyList.jsp create mode 100644 WebContent/Tenwa/Apzl/FileUpload/PayDocMailList.jsp create mode 100644 src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java create mode 100644 src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBFileMailTempToFormal.java diff --git a/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp new file mode 100644 index 000000000..54ff90ed2 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp @@ -0,0 +1,36 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-27 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "ERPEditInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo")); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","recordsave()","","","",""}, + {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/Apzl/FileUpload/CheckApplyPassContract.jsp b/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp new file mode 100644 index 000000000..192c01975 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp @@ -0,0 +1,12 @@ +<%@page import="jbo.app.tenwa.calc.LC_FUND_INCOME"%> +<%@page import="jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP"%> +<%@page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT"%> +<%@page import="com.amarsoft.are.jbo.BizObject"%> +<%@page import="com.amarsoft.are.jbo.JBOFactory"%> +<%@page import="com.amarsoft.are.jbo.JBOTransaction"%> +<%@page import="java.math.BigDecimal"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/IncludeBeginMDAJAX.jsp"%><% + String result = Sqlca.getString(new SqlObject("select case when count(1)>0 then 'true' else 'false' end res from lb_contract_info lci left join lb_file_mailarchiving_info lfmi on lfmi.CONTRACT_ID = lci.ID where lfmi.ALLHANDOVERSTATUS is null or lfmi.ALLHANDOVERSTATUS = 'part'")); + out.println(result); +%><%@ include file="/IncludeEndAJAX.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/DocMailListMain.jsp b/WebContent/Tenwa/Apzl/FileUpload/DocMailListMain.jsp new file mode 100644 index 000000000..64d6d35ba --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/DocMailListMain.jsp @@ -0,0 +1,50 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="java.util.List" %> +<%@ page import="java.util.Map" %> +<%@ page import="com.amarsoft.app.util.ProductParamUtil" %> +<% + /* + 页面说明:隐藏左侧区域的Main页面 + */ + String PG_TITLE = ""; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = ""; //默认的内容区标题 + String PG_CONTNET_TEXT = "";//默认的内容区文字 + String PG_LEFT_WIDTH = "0";//默认的treeview宽度 + + + String RightType= CurPage.getParameter("RightType"); + String sFlowunid = CurPage.getParameter("FlowUnid"); + String sFlowNo= CurPage.getParameter("FlowNo"); + String PhaseNo= CurPage.getParameter("PhaseNo"); + sFlowNo = "MortgageFileMailFlow"; + BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid); + String product=CurPage.getParameter("productId"); + List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); + String type=""; + String docList=""; + for(int i=0;i map=(Map)list.get(i); + if(sFlowNo.equals(map.get("FLOW_INFO").toString())){ + type=map.get("TYPE").toString(); + if("SingleRow".equals(type)){ + docList=map.get("DOCLIST").toString(); + }else{ + List l=(List)map.get("DOCCONFIG"); + docList=l.toString(); + } + } + } +%> +<%@ include file="/Frame/resources/include/include_main.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/GetDocMailNumber.jsp b/WebContent/Tenwa/Apzl/FileUpload/GetDocMailNumber.jsp new file mode 100644 index 000000000..4c88bac5a --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/GetDocMailNumber.jsp @@ -0,0 +1,6 @@ +<%@page import="com.tenwa.util.SerialNumberUtil"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/IncludeBeginMDAJAX.jsp"%><% + String serialNumber = SerialNumberUtil.getDocMailNumber(Sqlca); + out.println(serialNumber); +%><%@ include file="/IncludeEndAJAX.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp new file mode 100644 index 000000000..4a7737999 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LBPlaceFileTempInfo.jsp @@ -0,0 +1,61 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="java.util.List" %> +<%@ page import="java.util.Map" %> +<%@ page import="com.amarsoft.app.util.ProductParamUtil" %> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2019-07-15 + Content: 示例详情页面 + History Log: + */ + String RightType= CurPage.getParameter("RightType"); + String sFlowunid = CurPage.getParameter("FlowUnid"); + String sFlowNo= CurPage.getParameter("FlowNo"); + String PhaseNo= CurPage.getParameter("PhaseNo"); + sFlowNo = "MortgageFileMailFlow"; + BizObject flow=GetFlowAction.getFlowBussinessObject(sFlowunid); + String product=CurPage.getParameter("productId"); + List list=ProductParamUtil.getProductDocInfo(product,"PRD0412"); + String type=""; + String docList=""; + for(int i=0;i map=(Map)list.get(i); + if(sFlowNo.equals(map.get("FLOW_INFO").toString())){ + type=map.get("TYPE").toString(); + if("SingleRow".equals(type)){ + docList=map.get("DOCLIST").toString(); + }else{ + List l=(List)map.get("DOCCONFIG"); + docList=l.toString(); + } + } + } + String ObjectNo = CurPage.getParameter("ObjectNo"); + String contract_id = CurPage.getParameter("contract_id"); + String compClientID = CurPage.getParameter("CompClientID"); + String id = CurPage.getParameter("id"); + System.out.println(id); + String sTempletNo = "LBPlaceFileTempInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); + dwTemp.replaceColumn("placefile", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("opinion", "", CurPage.getObjectWindowOutput()); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","as_save(0,'frame_list.window.saveRecordForApprove()')","","","",""}, + {"false","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/Apzl/FileUpload/LBnotAllMailHndHandoverList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverList.jsp new file mode 100644 index 000000000..325c75922 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverList.jsp @@ -0,0 +1,56 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-07-11 + Content: + History Log: + */ + ASUser ASuser = CurPage.getUser(); + String orgid = ASuser.getOrgID(); + ASObjectModel doTemp = new ASObjectModel("LBnotAllMailHndHandoverList"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + if("0010".equals(PhaseNo)){ + doTemp.setVisible("ALLSTATUS", false); + doTemp.setVisible("ALLHANDOVERSTATUS", false); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.MultiSelect = true; //多选 + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(orgid); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","All","Button","添加到本次邮寄列表","添加到本次邮寄列表","newRecord()","","","","btn_icon_add",""}, + {"false","","Button","邮寄详情","邮寄详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","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/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp new file mode 100644 index 000000000..41754bdf6 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp @@ -0,0 +1,135 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-07-11 + Content: + History Log: + */ + String flowunid = CurPage.getParameter("ObjectNo"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + ASObjectModel doTemp = new ASObjectModel("LBnotAllMailHndHandoverTempList"); + if("0010".equals(PhaseNo)){ + doTemp.setVisible("ALLHANDOVERSTATUS", false); + doTemp.setVisible("ARCHIVING_CABINET_NO", false); + doTemp.setVisible("ARCHIVING_TIME", false); + doTemp.setVisible("ARCHIVING_PERSON", false); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; + //--设置为Grid风格-- + if("0010".equals(PhaseNo)){ + dwTemp.MultiSelect = true; //多选 + } + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(flowunid); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"0010".equals(PhaseNo)?"true":"false","","Button","配置快递信息","配置快递信息","selectApproveDetail()","","","","btn_icon_up",""}, + {"0010".equals(PhaseNo)?"true":"false","","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/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempInfo.jsp b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempInfo.jsp new file mode 100644 index 000000000..1630ed025 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempInfo.jsp @@ -0,0 +1,36 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2019-07-15 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + String contract_id = CurPage.getParameter("contract_id"); + String flowunid = CurPage.getParameter("ObjectNo"); + String sTempletNo = "LmApprovaloppinionDocTempInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setDefaultValue("contract_id", contract_id); + doTemp.setDefaultValue("flowunid", flowunid); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo")); + + String sButtons[][] = { + {CurPage.getParameter("SerialNo") == null?"true":"false","All","Button","保存","保存所有修改","as_save(0,'doReturn()')","","","",""}, + {CurPage.getParameter("SerialNo") == null?"false":"false","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/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp new file mode 100644 index 000000000..60f0911f7 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/LmApprovaloppinionDocTempList.jsp @@ -0,0 +1,44 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-07-15 + Content: + History Log: + */ + String contract_id = CurPage.getParameter("contract_id"); + String flowunid = CurPage.getParameter("ObjectNo"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + ASObjectModel doTemp = new ASObjectModel("LmApprovaloppinionDocTempList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(contract_id+","+flowunid); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"0010".equals(PhaseNo)?"false":"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"0010".equals(PhaseNo)?"false":"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","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/WebContent/Tenwa/Apzl/FileUpload/MortgageFileMailApplyList.jsp b/WebContent/Tenwa/Apzl/FileUpload/MortgageFileMailApplyList.jsp new file mode 100644 index 000000000..450119268 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/MortgageFileMailApplyList.jsp @@ -0,0 +1,34 @@ +<%@page import="com.tenwa.util.SerialNumberUtil"%> +<%@ page contentType="text/html; charset=GBK"%> + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%> +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%> + + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%> diff --git a/WebContent/Tenwa/Apzl/FileUpload/PayDocMailList.jsp b/WebContent/Tenwa/Apzl/FileUpload/PayDocMailList.jsp new file mode 100644 index 000000000..5a9f284d7 --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/PayDocMailList.jsp @@ -0,0 +1,281 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%> +<%@ page import="com.tenwa.doc.action.DocListInitAction" %> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<% + /* + Author: undefined 2016-09-01 + Content: + History Log: + */ + + String flowunid=CurPage.getParameter("FlowUnid"); + String CustomerType=CurPage.getParameter("CustomerType"); + String contract_id=CurPage.getParameter("contract_id"); + String carAttributes=CurPage.getParameter("carAttributes");//获取车类型 + if(flowunid==""||flowunid==null){ + flowunid="flowunid"; + } + + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//流程对象 + + String sObjectType = CurPage.getParameter("FlowNo");//流程类型 + + + String ishistory=CurPage.getParameter("IsHistory"); + String nodeNo=CurPage.getParameter("NodeNo"); + String RightType= CurPage.getParameter("RightType"); + String username=CurUser.getUserName(); + String sTempletNo=CurPage.getParameter("TempletNo"); + String phaseNo = CurPage.getParameter("PhaseNo"); + String apply = CurPage.getParameter("ApplyType"); + + String docClassItemno=CurPage.getParameter("docList"); + + String[] itemnos=docClassItemno.split(","); + String s=""; + for(int i=0;i0){ + s=s.substring(0, s.length()-1); + } + String compClientID = request.getParameter("CompClientID"); + Map docParam=new HashMap(); + Map other=new HashMap(); + other.put("carAttributes", carAttributes); + other.put("CustomerType", CustomerType); + docParam.put("ObjectType",sObjectType); + docParam.put("proj_id", flow.getAttribute("proj_id").getString()); + docParam.put("contract_id", contract_id); + docParam.put("flow_unid", flowunid); + docParam.put("inputtime", StringFunction.getTodayNow()); + docParam.put("inputuserid", CurPage.getUserId()); + docParam.put("inputorgid", CurPage.getUser().getOrgID()); + + //判断是否存在,不存在就从配置表倒到临时表 + DocListInitAction.initDocListForMail(docParam,other,docClassItemno,CurConfig,Sqlca); + ASObjectModel doTemp = new ASObjectModel("FlowPayMailDocList"); + if("0010".equals(CurPage.getParameter("PhaseNo"))){ + doTemp.setVisible("HANDOVERSTATUS", false); + } + if("0020".equals(CurPage.getParameter("PhaseNo"))){ + doTemp.setVisible("operation", false); + } + doTemp.appendJboWhere("and rela.contract_id=:contractid and rela.OBJECTTYPE ='MortgageFileMailFlow'"); + doTemp.appendJboWhere(" and O.doc_Class_Itemno in ("+s+") and lmdt.flowunid ='"+flowunid+"'"); + doTemp.setLockCount(2); + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + doTemp.setVisible("operation", false); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "0"; + dwTemp.setPageSize(500); + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + dwTemp.ReadOnly = "1";//只读模式 + RightType="ReadOnly"; + isShowButton=false; + }else{ + isShowButton=true; + } + dwTemp.genHTMLObjectWindow(contract_id); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] =null; + + sButtons=new String[][]{ + {"0010".equals(CurPage.getParameter("PhaseNo"))?"true":"false","","Button","保存","保存所有修改","0010".equals(CurPage.getParameter("PhaseNo"))?"saveRecord()":"saveRecordForApprove()","","","",""}, + }; + +%> + +<%@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/WebContent/WEB-INF/etc/jbo/jbo_doc.xml b/WebContent/WEB-INF/etc/jbo/jbo_doc.xml index ba663f8af..b5c35eb7f 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_doc.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_doc.xml @@ -213,5 +213,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src_core/com/tenwa/doc/action/DocListInitAction.java b/src_core/com/tenwa/doc/action/DocListInitAction.java index 0b17d7ed0..afcd0a2f8 100644 --- a/src_core/com/tenwa/doc/action/DocListInitAction.java +++ b/src_core/com/tenwa/doc/action/DocListInitAction.java @@ -7,17 +7,25 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.UUID; import com.amarsoft.awe.Configure; +import com.amarsoft.awe.util.Transaction; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_PERSONAL_INFO; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_PERSONAL_INFO_TEMP; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_RISKITEM; +import jbo.app.tenwa.customer.LB_CAR_CREDIT_RISKITEM_TEMP; import jbo.app.tenwa.doc.LB_DOCATTRIBUTE; import jbo.app.tenwa.doc.LB_DOCCONFIG; import jbo.app.tenwa.doc.LB_DOCLIBRARY; import jbo.app.tenwa.doc.LB_DOCRELATIVE; +import jbo.app.tenwa.doc.LM_MAILONLINE_DOC; +import jbo.app.tenwa.doc.LM_MAILONLINE_DOC_TEMP; import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT; import com.amarsoft.are.ARE; @@ -25,6 +33,10 @@ import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.BizObjectManager; import com.amarsoft.are.jbo.JBOException; import com.amarsoft.are.jbo.JBOFactory; +import com.amarsoft.are.jbo.JBOTransaction; +import com.amarsoft.are.util.StringFunction; +import com.amarsoft.dict.als.cache.CacheLoaderFactory; +import com.base.util.StringUtil; import com.tenwa.comm.util.jboutil.DataOperatorUtil; import com.tenwa.officetempalte.util.FileOperatorUtil; @@ -149,7 +161,153 @@ public class DocListInitAction { } } + @SuppressWarnings("unchecked") + public static void initDocListForMail(Map param, + Map other, String docno, Configure curConfig,JBOTransaction Sqlca) + throws Exception { + String CustomerType = other.get("CustomerType"); + String[] itemnos = docno.split(","); + String s = ""; + for (int i = 0; i < itemnos.length; i++) { + if ("03".equals(CustomerType)){ + if (itemnos[i].startsWith("006")) + continue; + else + ARE.getLog().debug(itemnos[i]); + }else if ("01".equals(CustomerType)){ + if (itemnos[i].startsWith("003")) + continue; + else + ARE.getLog().debug(itemnos[i]); + } + s += "'" + itemnos[i] + "',"; + } + ARE.getLog().info("s:"+s); + if (s.length() > 0) { + s = s.substring(0, s.length() - 1); + } + docno = s; + BizObjectManager relaBm = JBOFactory + .getBizObjectManager(LB_DOCRELATIVE.CLASS_NAME); + BizObjectManager libBm = JBOFactory + .getBizObjectManager(LB_DOCLIBRARY.CLASS_NAME); + BizObjectManager configBm = JBOFactory + .getBizObjectManager(LB_DOCCONFIG.CLASS_NAME); + if ("".equals(docno)) { + return; + } + String sql = getDocSQLForMail(param, docno); + BizObject rela = relaBm.createQuery(sql).getSingleResult(true); + String relativeid = ""; + String libid = ""; + if (rela == null) { + rela = relaBm.newObject(); + rela.setAttributesValue(param); + relaBm.saveObject(rela); + } + relativeid = rela.getAttribute("id").getString(); + for (int i = 0; i < 10; i++) + ARE.getLog().info("relativeid:"+relativeid); + List configList = configBm.createQuery( + "doc_Class_Itemno in (" + docno + ")").getResultList(false); + ARE.getLog().info("size:"+configList.size()); + + + for (BizObject config : configList) { + BizObject lib = libBm + .createQuery("Relative_Id=:relaid and config_id=:configid") + .setParameter("relaid", relativeid) + .setParameter("configid", + config.getAttribute("id").getString()) + .getSingleResult(true); + if (lib == null) { + lib = libBm.newObject(); + DataOperatorUtil.coptyJBOPropertyNoKey(config, lib); + lib.setAttributeValue("relative_id", relativeid); + lib.setAttributeValue("BUSINESS_CHECK", "DocCheck_2"); + lib.setAttributeValue("REVIEW_CHECK", "DocCheck_2"); + lib.setAttributeValue("config_id", config.getAttribute("id") + .getString()); + lib.setAttributeValue("IS_INIT", "1"); + if ("used_car".equals(other.get("carAttributes")) + && "车辆照片".equals(lib.getAttribute("DOC_NAME") + .getString())) { + lib.setAttributeValue("DOC_NATURE", "01"); + } + libBm.saveObject(lib); + } else { + lib.setAttributeValue("IS_INIT", "1"); + libBm.saveObject(lib); + } + libid = lib.getAttribute("id").getString(); + //初始化邮寄信息详情表 + Transaction tx=null; + tx= Transaction.createTransaction(CacheLoaderFactory.getDataSource()); + BizObjectManager lmdtBm = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC_TEMP.CLASS_NAME); + BizObjectManager lmdBm = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC.CLASS_NAME); + BizObject lmdBo = lmdBm.createQuery("LIBRARYID='"+libid+"'").getSingleResult(false); + BizObject lmdtBo = lmdtBm.createQuery("LIBRARYID='"+libid+"' and flowunid = '"+param.get("flow_unid")+"'").getSingleResult(false); + if(lmdtBo==null){ + if(lmdBo!=null){ + Map fromCondtion = new HashMap(); + MapotherProperty=new HashMap(); + fromCondtion.put("LIBRARYID", libid); + otherProperty.put("flowunid",param.get("flow_unid")); + DataOperatorUtil.copySingleJBO(LM_MAILONLINE_DOC.CLASS_NAME, fromCondtion, LM_MAILONLINE_DOC_TEMP.CLASS_NAME, null, otherProperty, tx); + }else{ + BizObject newbo = lmdtBm.newObject(); + newbo.setAttributeValue("CONTRACT_ID", param.get("contract_id")); + newbo.setAttributeValue("LIBRARYID", libid); + newbo.setAttributeValue("MAILSTATUS","none"); + newbo.setAttributeValue("HANDOVERSTATUS","none"); + newbo.setAttributeValue("FLOWUNID",param.get("flow_unid")); + newbo.setAttributeValue("INPUTUSERID",param.get("inputuserid")); + newbo.setAttributeValue("INPUTORGID",param.get("inputorgid")); + newbo.setAttributeValue("INPUTTIME",StringFunction.getTodayNow()); + lmdtBm.saveObject(newbo); + } + } + + if(tx != null){ + tx.commit(); + tx.disConnect(); + } + + sql = getRelaSQL(param); + if (sql.length() == 0) { + continue; + } else { + // 关联其它文件清单 + String[] docRelas = config.getAttribute("DOC_RELATION_ID") + .getString().split(","); + Boolean flag = false; + for (int i = 0; i < docRelas.length; i++) { + List libList = libBm.createQuery(sql) + .setParameter("configid", docRelas[i]) + .getResultList(false); + for (BizObject li : libList) { + Boolean flag2 = copyDocAttr(li, libid, + curConfig.getConfigure("FileSaveMode")); + if (flag2) { + flag = true; + } + } + } + if (flag) { + lib.setAttributeValue("BUSINESS_CHECK", "DocCheck_0"); + libBm.saveObject(lib); + } + } + } + + } + public static String getDocSQLForMail(Map param, String docno) + throws Exception { + String sql = "select id from O left join jbo.app.tenwa.doc.LB_DOCLIBRARY lib on O.id=lib.Relative_Id where lib.doc_Class_Itemno in (" + + docno + ") and contract_id='"+param.get("contract_id")+"' and OBJECTTYPE = 'MortgageFileMailFlow'"; + return sql; + } /** * 获取关联的sql * diff --git a/src_core/com/tenwa/doc/cache/DocListCache.java b/src_core/com/tenwa/doc/cache/DocListCache.java index 3d39d5a8e..aab3ec5fd 100644 --- a/src_core/com/tenwa/doc/cache/DocListCache.java +++ b/src_core/com/tenwa/doc/cache/DocListCache.java @@ -1,10 +1,14 @@ package com.tenwa.doc.cache; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; import java.util.List; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.JBOException; import com.amarsoft.are.jbo.JBOFactory; +import com.amarsoft.are.util.StringFunction; import com.amarsoft.dict.als.manage.NameManager; public class DocListCache { @@ -186,5 +190,19 @@ public static String getSignFile(String id) throws Exception{ return sb.toString(); } - + public static String getfundday(String startdate){ + SimpleDateFormat format = new java.text.SimpleDateFormat("yyyy/MM/dd"); + Date startDate = null; + Date endDate = null; + try { + startDate = format.parse(StringFunction.getTodayNow()); + endDate = format.parse(startdate); + } catch (ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + return "null"; + } + long day=(startDate.getTime()-endDate.getTime())/(24*60*60*1000); + return day+""; + } } diff --git a/src_core/com/tenwa/util/SerialNumberUtil.java b/src_core/com/tenwa/util/SerialNumberUtil.java index 468ebedce..3f0c52fb6 100644 --- a/src_core/com/tenwa/util/SerialNumberUtil.java +++ b/src_core/com/tenwa/util/SerialNumberUtil.java @@ -39,6 +39,9 @@ public class SerialNumberUtil { public static synchronized String getActualPayNumber(JBOTransaction tx) throws Exception{ return SerialNumberUtil.getSerialNumber("PAY{year}{month}{day}{maxOrderNumber}",4,null, "实际放款号", null, tx); } + public static synchronized String getDocMailNumber(JBOTransaction tx) throws Exception{ + return SerialNumberUtil.getSerialNumber("DocMail{year}{month}{day}{maxOrderNumber}",4,null, "归档邮寄编号", null, tx); + } public static synchronized String getEbankSerialNumber(String orgId,JBOTransaction tx) throws Exception{ return SerialNumberUtil.getSerialNumber("E-{year}{month}{maxOrderNumber}",3,null, "网银编号"+orgId, null, tx); } diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java new file mode 100644 index 000000000..ce5561e94 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/DocMailAction.java @@ -0,0 +1,204 @@ +package com.tenwa.lease.flow.project.businessapply; + +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; + +import javax.mail.internet.InternetAddress; + +import jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_ADDRESS; +import jbo.app.tenwa.customer.CUSTOMER_ADDRESS_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_CERT; +import jbo.app.tenwa.customer.CUSTOMER_CERT_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_FAMILY; +import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_INFO; +import jbo.app.tenwa.customer.CUSTOMER_PERSON; +import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP; +import jbo.app.tenwa.doc.LB_DOCATTRIBUTE; +import jbo.app.tenwa.doc.LB_DOCLIBRARY; +import jbo.app.tenwa.doc.LB_DOCRELATIVE; +import jbo.app.tenwa.doc.LB_FILE_MAILARCHIVING_INFO; +import jbo.app.tenwa.doc.LB_FILE_MAILARCHIVING_INFO_TEMP; +import jbo.app.tenwa.doc.LM_MAILONLINE_DOC_TEMP; +import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT; +import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP; +import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP; +import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP; +import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP; +import jbo.com.tenwa.lease.comm.VI_LIMIT_USAGE_DETAIL; +import jbo.sys.CODE_LIBRARY; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.amarsoft.are.jbo.BizObject; +import com.amarsoft.are.jbo.BizObjectManager; +import com.amarsoft.are.jbo.JBOException; +import com.amarsoft.are.jbo.JBOFactory; +import com.amarsoft.are.jbo.JBOTransaction; +import com.amarsoft.are.util.StringFunction; +import com.amarsoft.awe.util.ASResultSet; +import com.amarsoft.awe.util.SqlObject; +import com.amarsoft.awe.util.Transaction; +import com.amarsoft.dict.als.cache.CacheLoaderFactory; +import com.tenwa.comm.exception.RecordNotFoundException; +import com.tenwa.comm.util.jboutil.DataOperatorUtil; +import com.zhongan.scorpoin.biz.common.CommonRequest; +import com.zhongan.scorpoin.biz.common.CommonResponse; +import com.zhongan.scorpoin.common.ZhongAnApiClient; +import com.zhongan.scorpoin.common.ZhongAnOpenException; + +public class DocMailAction { + private String userid; + private String contractid; + private String flowunid; + private String orgid; + private String MailStatus; + private String AllStatus; + private String libraryid; + private String EXPNUMBER; + private String EXPCOMPANY; + + public String addMailList(JBOTransaction tx) throws JBOException{ + BizObjectManager lfmitBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); + BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO.CLASS_NAME, tx); + String [] contractlist = contractid.split("@"); + for(String contractId:contractlist){ + //邮寄状态 + String ALLSTATUS = "none"; + //总接收状态 + String ALLHANDOVERSTATUS = "none"; + String ARCHIVING_CABINET_NO = ""; + String ARCHIVING_PERSON = ""; + String ARCHIVING_TIME = ""; + BizObject bo1 = lfmiBom.createQuery("contract_id=:contract_id").setParameter("contract_id", contractId).getSingleResult(false); + if(bo1!=null){ + ALLHANDOVERSTATUS = bo1.getAttribute("ALLHANDOVERSTATUS").getString(); + ALLSTATUS = bo1.getAttribute("ALLSTATUS").getString(); + ARCHIVING_CABINET_NO = bo1.getAttribute("ARCHIVING_CABINET_NO").getString(); + ARCHIVING_PERSON = bo1.getAttribute("ARCHIVING_PERSON").getString(); + ARCHIVING_TIME = bo1.getAttribute("ARCHIVING_TIME").getString(); + } + + BizObject bo = lfmitBom.newObject(); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.CONTRACT_ID, contractId); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.FLOWUNID, flowunid); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.ALLHANDOVERSTATUS, ALLHANDOVERSTATUS); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.ALLSTATUS, ALLSTATUS); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.IS_FLOWING, "0"); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.INPUTTIME, StringFunction.getTodayNow()); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.INPUTUSERID, userid); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.INPUTORGID, orgid); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.ARCHIVING_CABINET_NO, ARCHIVING_CABINET_NO); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.ARCHIVING_PERSON, ARCHIVING_PERSON); + bo.setAttributeValue(LB_FILE_MAILARCHIVING_INFO_TEMP.ARCHIVING_TIME, ARCHIVING_TIME); + lfmitBom.saveObject(bo); + } + return "success"; + } + public String deleteReadyMailList(JBOTransaction tx) throws JBOException{ + BizObjectManager lfmitBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); + BizObjectManager lmdtBom = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC_TEMP.CLASS_NAME, tx); + String [] contractlist = contractid.split("@"); + for(String contractId:contractlist){ + lfmitBom.createQuery("delete from O where contract_id = '"+contractId+"' and flowunid='"+flowunid+"'").executeUpdate(); + lmdtBom.createQuery("delete from O where contract_id = '"+contractId+"' and flowunid='"+flowunid+"'").executeUpdate(); + } + return "success"; + } + public String asSaveMailStatus(JBOTransaction tx) throws JBOException{ + BizObjectManager lfmitBom = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC_TEMP.CLASS_NAME, tx); + BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); + + lfmitBom.createQuery("update O set MAILSTATUS = '"+MailStatus+"' where flowunid='"+flowunid+"' and libraryid='"+libraryid+"'").executeUpdate(); + lfmiBom.createQuery("update O set allstatus = '"+AllStatus+"' where flowunid='"+flowunid+"' and contract_id='"+contractid+"'").executeUpdate(); + + return "success"; + } + public String asSaveHandOverStatus(JBOTransaction tx) throws JBOException{ + BizObjectManager lfmitBom = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC_TEMP.CLASS_NAME, tx); + BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); + if("all".equals(MailStatus)){ + lfmitBom.createQuery("update O set HANDOVERSTATUS = '"+MailStatus+"',attribute1 = '1' where flowunid='"+flowunid+"' and libraryid='"+libraryid+"'").executeUpdate(); + }else{ + lfmitBom.createQuery("update O set HANDOVERSTATUS = '"+MailStatus+"',attribute1 = '' where flowunid='"+flowunid+"' and libraryid='"+libraryid+"'").executeUpdate(); + } + lfmiBom.createQuery("update O set ALLHANDOVERSTATUS = '"+AllStatus+"' where flowunid='"+flowunid+"' and contract_id='"+contractid+"'").executeUpdate(); + + return "success"; + } + public String saveERPInfo(JBOTransaction tx) throws JBOException{ + BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, tx); + String[] contractidlist = contractid.split("@"); + for(int i=0;ifromCondtion=new HashMap(); + MaptoCondtion=new HashMap(); + MapotherProperty=new HashMap(); + //获取所有邮寄的合同 + BizObjectManager lfmiBom = JBOFactory.getBizObjectManager(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, Sqlca); + BizObjectManager lmdtBom = JBOFactory.getBizObjectManager(LM_MAILONLINE_DOC_TEMP.CLASS_NAME, Sqlca); + List lfmitlist = lfmiBom.createQuery("flowunid =:flowunid").setParameter("flowunid", flowUnid).getResultList(true); + for(BizObject bo:lfmitlist){ + fromCondtion.put("flowunid", flowUnid); + fromCondtion.put("contract_id", bo.getAttribute("contract_id").getString()); + toCondtion.put("contract_id", bo.getAttribute("contract_id").getString()); + bo.setAttributeValue("is_flowing", "1"); + lfmiBom.saveObject(bo); + DataOperatorUtil.copySingleJBO(LB_FILE_MAILARCHIVING_INFO_TEMP.CLASS_NAME, fromCondtion, LB_FILE_MAILARCHIVING_INFO.CLASS_NAME,toCondtion, null, Sqlca); + List lmdtlist = lmdtBom.createQuery("flowunid=:flowunid and contract_id =:contract_id").setParameter("flowunid", flowUnid).setParameter("contract_id", bo.getAttribute("contract_id").getString()).getResultList(false); + for(BizObject bo1:lmdtlist){ + fromCondtion.put("libraryid", bo1.getAttribute("libraryid").getString()); + toCondtion.put("libraryid", bo1.getAttribute("libraryid").getString()); + DataOperatorUtil.copySingleJBO(LM_MAILONLINE_DOC_TEMP.CLASS_NAME, fromCondtion, LM_MAILONLINE_DOC.CLASS_NAME,toCondtion, null,Sqlca); + } + fromCondtion.clear(); + toCondtion.clear(); + otherProperty.clear(); + } + String sMessage="true"; + return sMessage; + } +} \ No newline at end of file