diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index fd464ceff..b14fcfd9d 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -1,55 +1,84 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% - /* - Author: undefined 2018-05-27 - Content: 示例详情页面 - History Log: - */ - String sFlowUnid = CurPage.getParameter("FlowUnid"); - String sPrevUrl = CurPage.getParameter("id"); - String sTempletNo = "DMarginChargeInfo_Temp";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - dwTemp.Style = "2";//freeform - dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); - String sButtons[][] = { - {"true","All","Button","保存","保存所有修改","save()","","","",""}, - {"true","All","Button","返回","返回列表","returnList()","","","",""} - }; -%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> - -<%@ include file="/Frame/resources/include/include_end.jspf"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-05-27 + Content: 示例详情页面 + History Log: + */ + String sFlowUnid = CurPage.getParameter("FlowUnid"); + String sPrevUrl = CurPage.getParameter("id"); + String sTempletNo = "DMarginChargeInfo_Temp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","save()","","","",""}, + {"true","All","Button","返回","返回列表","returnList()","","","",""} + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + + + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Frame/page/js/ow/as_dw_info.js b/WebContent/Frame/page/js/ow/as_dw_info.js index 04081eb22..a4cea6e0b 100644 --- a/WebContent/Frame/page/js/ow/as_dw_info.js +++ b/WebContent/Frame/page/js/ow/as_dw_info.js @@ -413,7 +413,7 @@ function showItemRequired(dwname,sColName){ data: "DataObject=" + $("#SERIALIZED_ASD").val() + "&ColName="+ sColName + "&Required=1", success: function(msg){ if(msg.substring(0,5)=="fail:"){ - alert('校验更新失败:' +msg.substring(5)); + //alert('校验更新失败:' +msg.substring(5)); 2018/07/08 by zhulh 找不到校验文件没啥好大惊小怪的 return; } $("#SERIALIZED_ASD").val(msg); diff --git a/WebContent/Frame/page/ow/RequiredRuleUpdator.jsp b/WebContent/Frame/page/ow/RequiredRuleUpdator.jsp index f6c65f00e..19f55619f 100644 --- a/WebContent/Frame/page/ow/RequiredRuleUpdator.jsp +++ b/WebContent/Frame/page/ow/RequiredRuleUpdator.jsp @@ -25,7 +25,8 @@ try{ ObjectConverts.saveObject(new java.io.File(Component.getDWTmpPath(asObj.getSerializableName())), asObj); out.print(sDataObject); }catch(Exception e){ - e.printStackTrace(); + //e.printStackTrace();2018/07/08 by zhulh 找不到校验文件没啥好大惊小怪的 + ARE.getLog().error(e.getMessage()); out.print("fail:"+ e.toString()); } %> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToproductList.jsp b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToproductList.jsp index 21de64ee4..8aad8aaec 100644 --- a/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToproductList.jsp +++ b/WebContent/Tenwa/Apzl/PortalToCarType/LmDistributorToproductList.jsp @@ -27,7 +27,16 @@ //alert(getHtmlMessage('1'));//请选择一条信息! return; } - Return =Return+sReturn; + var arr = sReturn.split("@~"); + //定义一个新的数组 + var sReturns = ""; + //遍历数组 + for(var i = 0;i +<%@ page import="com.tenwa.comm.dataRightmanager.DataRightManager" %> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + String jboWhere = CurPage.getParameter("JboWhere"); + if(jboWhere == null){ + jboWhere = ""; + } + String RightType=CurPage.getParameter("RightType"); + if(RightType==null) RightType=""; + String curUserId = CurUser.getUserID(); + String curOrgId = CurUser.getOrgID(); + ASObjectModel doTemp = new ASObjectModel("LBContractInfoForAccount"); + String sCondtion=DataRightManager.getRightCondition(CurUser,"O"); + doTemp.appendJboWhere(sCondtion); + doTemp.appendJboWhere(jboWhere); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; + dwTemp.ReadOnly = "1"; + dwTemp.setPageSize(pageSize == null ? 20 : Integer.parseInt(pageSize)); + + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][]; + if(jboWhere.endsWith("'approve_status05'")){ + sButtons = new String[][]{ + {"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","编辑","编辑","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","取消","取消","del()","","","","btn_icon_delete",""} + }; + }else{ + sButtons = new String[][]{ + {"true","","Button","详情","详情","view()","","","","btn_icon_detail",""} + }; + } +%><%@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/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp new file mode 100644 index 000000000..03f3c51f6 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/AccountChangeListMain.jsp @@ -0,0 +1,60 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "扣款卡信息变更申请"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + + //获得参数,判断是否直接打开其中某个页面 + String pageType = CurPage.getParameter("pageType"); + if(pageType == null){ + pageType = "我的草稿"; + } + + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "示例模块主页面","right"); + + //定义树图结构 + tviTemp.insertPage("root","我的草稿","",1); + tviTemp.insertPage("root","待审核的申请","",2); + tviTemp.insertPage("root","审核中的申请","",3); + tviTemp.insertPage("root","审核通过的申请","",4); + tviTemp.insertPage("root","审核不通过的申请","",5); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ 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/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp new file mode 100644 index 000000000..f0ecb5a8c --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/LBDeductChangeDocumentInfo.jsp @@ -0,0 +1,92 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@include file="/Frame/resources/include/include_begin_info.jspf"%> +<%@ page import="com.tenwa.doc.action.DocumentListAction" %> +<% + //获得组件参数 + String sObjectType=CurPage.getParameter("ObjectType");// + String contractId=CurPage.getParameter("ContractId"); + + ASObjectModel doTemp = new ASObjectModel("LBAdjustDocumentInfo"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="2"; // 设置DW风格 1:Grid 2:Freeform + dwTemp.ReadOnly = "0"; // 设置是否只读 1:只读 0:可写 + dwTemp.genHTMLObjectWindow(""); + String[][] sButtons=null; + sButtons=new String[][]{ + {"true","","Button","保存","保存所有修改","importRecord()","","","",""}, + {"true","","Button","取消","取消","viewAndEdit_attachment()","","","","btn_icon_close"}}; +%><%@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/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp new file mode 100644 index 000000000..c437635da --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyChangeInfo.jsp @@ -0,0 +1,260 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "法人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + String ContractId = CurPage.getParameter("ContractId"); + String applyId = CurPage.getParameter("ApplyId"); + if(ContractId == null) ContractId = ""; + String customerid = CurPage.getParameter("CustomerId"); + String sTempletNo ="LBDeductCardChangeCompany";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setHtmlEvent("IS_CONSIGN_REPAY", "onchange", "checkIsConsignRepay"); + + //获取变更表里面的数据,根据process判断是否已经签约了,如果已经签约了,现扣款卡信息页面为只读 + BizObject boAccount = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME).createQuery("flow_unid=:applyId and file_flag='yes'").setParameter("applyId", applyId).getSingleResult(false); + if(boAccount!=null){ + String signType = boAccount.getAttribute("SIGN_TYPE").toString(); + if(signType!="" ){ + RightType= "ReadOnly"; + } + } + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + if((null!=RightType&&RightType.equals("ReadOnly"))){ + dwTemp.ReadOnly = "1";//只读模式 + RightType="ReadOnly"; + isShowButton=false; + }else{ + isShowButton=true; + } + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(applyId); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + // {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp new file mode 100644 index 000000000..87d53697e --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyInfo.jsp @@ -0,0 +1,330 @@ +<%@page import="jbo.com.tenwa.lease.comm.LB_UNION_LESSEE"%> +<%@page import="jbo.app.tenwa.customer.CUSTOMER_TEL"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_HIS"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "法人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String PROJECT_ID = CurPage.getParameter("ProjectId"); + if(PROJECT_ID == null) PROJECT_ID = ""; + String CustomerId = CurPage.getParameter("CustomerId"); + if(CustomerId == null) CustomerId = ""; + String customerType=CurPage.getParameter("CustomerType"); + if(customerType == null) customerType = ""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId == null) applyId = ""; + + //获取电话号码,电子签章用 + BizObjectManager bomTel = JBOFactory.getBizObjectManager(CUSTOMER_TEL.CLASS_NAME); + BizObject boTel = bomTel.createQuery("select * from o where customerid=:customerid").setParameter("customerid",CustomerId).getSingleResult(false); + String telephone = boTel.getAttribute("telephone").toString(); + + //获取姓名,电子签章用 + BizObjectManager bomName = JBOFactory.getBizObjectManager(LB_UNION_LESSEE.CLASS_NAME); + BizObject boName = bomName.createQuery("select * from o where CONTRACT_ID=:contract_id").setParameter("contract_id",ContractId).getSingleResult(false); + String customerName = boName.getAttribute("customer_name").toString(); + + String status = CurPage.getParameter("Status"); + String sTempletNo ="LBDeductCardOld";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + if("approve_status02".equals(status)){ + doTemp.setJboClass(LB_DEDUCT_CARD_HIS.CLASS_NAME); + doTemp.appendJboWhere("apply_id='"+CurPage.getParameter("ApplyId")+"'"); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + if(RightType!=null && "ReadOnly".equals(RightType)){ + isShowButton=false; + } + dwTemp.genHTMLObjectWindow(ContractId); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","生成变更材料","生成合同","generateQuotation()","","","","btn_icon_detail",""}, + {"true","","Button","发起电子签约","电子签章合同","signOnLine()","","","","btn_icon_detail",""}, + {"true","","Button","查询签约结果","查询签约结果","getStatus()","","","","btn_icon_detail",""}, + {"true","All","Button","修改","修改","edit()","","","","btn_icon_edit"}, + {"false","","Button","下载合同文件","下载合同","downloadDoc()","","","","btn_icon_down",""} + }; + //sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp new file mode 100644 index 000000000..f6ee03fa9 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/company/AccountChangeCompanyMain.jsp @@ -0,0 +1,98 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "示例模块主页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "扣款信息变更","right"); + + out.write(new Button("关闭", "关闭", "closePage()", "", "btn_icon_close").getHtmlText()); + out.write(new Button("提交", "提交", "doSubmit()", "", "btn_icon_submit").getHtmlText()); + + //定义树图结构 + /* String sFolder1=tviTemp.insertFolder("root","示例信息","",1); + tviTemp.insertPage(sFolder1,"所有的示例信息","",1); + tviTemp.insertPage(sFolder1,"我的示例信息","",2); + tviTemp.insertPage(sFolder1,"他的示例信息","",3); */ + tviTemp.insertPage("root","项目基本信息","",1); + tviTemp.insertPage("root","扣款信息变更","",2); + tviTemp.insertPage("root","合同打印","",3); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ 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/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp new file mode 100644 index 000000000..93cc996a1 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonChangeInfo.jsp @@ -0,0 +1,213 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId == null) applyId = ""; + + String sTempletNo ="LBDeductCardChange";//--模板号-- + + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //获取变更表里面的数据,根据process判断是否已经签约了,如果已经签约了,现扣款卡信息页面为只读 + BizObject boAccount = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME).createQuery("flow_unid=:applyId and file_flag='yes'").setParameter("applyId", applyId).getSingleResult(false); + if(boAccount!=null){ + String signType = boAccount.getAttribute("SIGN_TYPE").toString(); + if(signType!="" ){ + RightType= "ReadOnly"; + } + } + + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + if(RightType!=null && RightType.equals("ReadOnly")){ + dwTemp.ReadOnly = "1";//只读模式 + } + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(applyId); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + //{"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; + //sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp new file mode 100644 index 000000000..7cb215c2b --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonInfo.jsp @@ -0,0 +1,326 @@ +<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_CHANGE"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_UNION_LESSEE"%> +<%@page import="jbo.app.tenwa.customer.CUSTOMER_TEL"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_DEDUCT_CARD_HIS"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String ID = CurPage.getParameter("id");//租赁物ID + if(ID == null)ID = ""; + String RightType=CurPage.getParameter("RightType"); + if(RightType==null)RightType=""; + String applyId = CurPage.getParameter("ApplyId"); + if(applyId==null)applyId=""; + String customerType=CurPage.getParameter("CustomerType"); + if(customerType==null)customerType=""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId==null)ContractId=""; + String customerId = CurPage.getParameter("CustomerId"); + if(customerId==null)customerId=""; + //获取电话号码 + BizObjectManager bomTel = JBOFactory.getBizObjectManager(CUSTOMER_TEL.CLASS_NAME); + BizObject boTel = bomTel.createQuery("select * from o where customerid=:customerid").setParameter("customerid",customerId).getSingleResult(false); + String telephone = boTel.getAttribute("telephone").toString(); + //获取姓名 + BizObjectManager bomName = JBOFactory.getBizObjectManager(LB_UNION_LESSEE.CLASS_NAME); + BizObject boName = bomName.createQuery("select * from o where CONTRACT_ID=:contract_id").setParameter("contract_id",ContractId).getSingleResult(false); + String customerName = boName.getAttribute("customer_name").toString(); + + + + if(customerId == null) customerId = ""; + String status = CurPage.getParameter("Status"); + String sTempletNo ="LBDeductCardOldPerson";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setVisible("IS_CONSIGN_REPAY", false); + doTemp.setVisible("CONSIGN_REPAY_CERT", false); + doTemp.setVisible("CONSIGN_REPAY_PHONE", false); + if("approve_status02".equals(status)){ + doTemp.setJboClass(LB_DEDUCT_CARD_HIS.CLASS_NAME); + doTemp.appendJboWhere("apply_id='"+CurPage.getParameter("ApplyId")+"'"); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + if(RightType!=null && "ReadOnly".equals(RightType)){ + isShowButton=false; + } + + + dwTemp.genHTMLObjectWindow(ContractId); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + {"true","","Button","生成变更材料","生成合同","generateQuotation()","","","","btn_icon_detail",""}, + {"true","","Button","发起电子签约","电子签章合同","signOnLine()","","","","btn_icon_detail",""}, + {"true","","Button","查询签约结果","查询签约结果","getStatus()","","","","btn_icon_detail",""}, + {"true","All","Button","修改","修改","edit()","","","","btn_icon_edit"}, + {"false","","Button","下载合同文件","下载合同","downloadDoc()","","","","btn_icon_down",""} + }; + //sButtonPosition = "south"; + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp new file mode 100644 index 000000000..340314eea --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/AccountChangePersonMain.jsp @@ -0,0 +1,97 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin.jspf"%> +<% + /* + 页面说明:示例模块主页面 + */ + String PG_TITLE = "示例模块主页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "  示例模块主页面  "; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "200";//默认的treeview宽度 + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + //定义Treeview + OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "扣款信息变更","right"); + + out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText()); + out.write(new Button("提交", "提交", "submitApply()", "", "btn_icon_submit").getHtmlText()); + //定义树图结构 + /* String sFolder1=tviTemp.insertFolder("root","示例信息","",1); + tviTemp.insertPage(sFolder1,"所有的示例信息","",1); + tviTemp.insertPage(sFolder1,"我的示例信息","",2); + tviTemp.insertPage(sFolder1,"他的示例信息","",3); */ + tviTemp.insertPage("root","项目基本信息","",1); + tviTemp.insertPage("root","扣款信息变更","",2); + tviTemp.insertPage("root","合同打印","",3); + + //另外两种定义树图结构的方法:SQL生成和代码生成 参见View的生成 ExampleView.jsp和ExampleView01.jsp +%> +<%@ 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/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp new file mode 100644 index 000000000..6d6082ed1 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/ControlForInitChangeAccount.jsp @@ -0,0 +1,36 @@ +<%@page import="jbo.sys.CHANNEL_SUBMIT_APPLICATIONS"%> +<%@page import="com.tenwa.action.channelportal.channelsubmit.ChannelSubmitAction" %> +<%@page import="com.tenwa.action.channelportal.businesshanding.businesschangeapply.ChannelUpdate" %> +<%@page import="com.amarsoft.are.jbo.*"%> +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBeginMDAJAX.jsp"%><% + try{ + String ContractId = CurPage.getParameter("ContractId"); + String flowNo = "AccountChangeFlow"; + String ProjectId = CurPage.getParameter("ProjectId"); + String CustomerType = CurPage.getParameter("CustomerType"); + String param ="ContractId="+ContractId+"&ProjectId="+ProjectId+"&CustomerType="+CustomerType; + + String curUserId=CurPage.getParameter("CurUserID"); + BizObjectManager bom=JBOFactory.getBizObjectManager(CHANNEL_SUBMIT_APPLICATIONS.CLASS_NAME); + + if(bom!=null){ + List bos = bom.createQuery("select * from O WHERE Objectno=:Objectno and FlowNo='AccountChangeFlow' and status='approve_status01'") + .setParameter("Objectno", ContractId) + .getResultList(); + if(bos.size()>0){ + out.print("请勿重复提交"); + }else{ + String result =ChannelSubmitAction.changeSubmitStatus(curUserId,ContractId,flowNo,param,null); + if("SUCCESS".equals(result)){ + out.print("SUCCESS"); + }else{ + out.print("ERROR"); + } + } + } + }catch(Exception e){ + out.print("ERROR"); + throw e; + } +%><%@ include file="/IncludeEndAJAX.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp new file mode 100644 index 000000000..bd7eed0e5 --- /dev/null +++ b/WebContent/Tenwa/ChannelPortal/BusinessChangeApply/AccountChange/person/DeductCardDocList.jsp @@ -0,0 +1,70 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2017-09-28 + Content: + History Log: + */ + String applyId = CurPage.getParameter("applyId"); + if(applyId==null) applyId = ""; + String customerType = CurPage.getParameter("customerType"); + if(customerType==null) customerType = ""; + ASObjectModel doTemp = new ASObjectModel("DeductCardDocList"); + //根据中间表id查询 + doTemp.appendJboWhere("flow_unid='"+applyId+"'"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + + }; +%><%@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/Core/FlowManager/BaseFunction/BaseFlowFunction.jspf b/WebContent/Tenwa/Core/FlowManager/BaseFunction/BaseFlowFunction.jspf index a5f7f946d..d65d8deac 100644 --- a/WebContent/Tenwa/Core/FlowManager/BaseFunction/BaseFlowFunction.jspf +++ b/WebContent/Tenwa/Core/FlowManager/BaseFunction/BaseFlowFunction.jspf @@ -199,7 +199,7 @@ FlowFunction.signOpinion=function(sObjectType,sObjectNo,sFlowNo,sPhaseNo,isLoadS } //弹出签意见界面 AsDialog.PopView("/Common/WorkFlow/SignTaskOpinionInfo.jsp","TaskNo="+sTaskNo+"&ObjectType="+sObjectType+"&ObjectNo="+sObjectNo, - {width:"700px",height:"600px",title:"签署意见"},function(sReturn){ + {width:"500px",height:"300px",title:"签署意见"},function(sReturn){ if(sReturn.length>0){ if(sReturn=="SUCCESS"){ alert("签署意见成功"); diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp new file mode 100644 index 000000000..f3d482d9e --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/AccountChangeApprovalApplyList.jsp @@ -0,0 +1,76 @@ +<%@ 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/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp new file mode 100644 index 000000000..d174fc211 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyChangeInfo.jsp @@ -0,0 +1,156 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + String rightType = CurPage.getParameter("RightType"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + String IsHistory = CurPage.getParameter("IsHistory"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + if(ContractId == null) ContractId = ""; + String sTempletNo ="LBDeductCardChangeCompanyTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly="1"; + dwTemp.genHTMLObjectWindow(FlowUnid); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"false","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; + sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp new file mode 100644 index 000000000..af6b7d384 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/company/AccountChangeCompanyInfo.jsp @@ -0,0 +1,106 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId==null)applyId=""; + String RightType = CurPage.getParameter("RightType"); + if(RightType!=null)RightType = ""; + String sTempletNo ="LBDeductCardOldTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setVisible("IS_CONSIGN_REPAY", true); + doTemp.setVisible("CONSIGN_REPAY_CERT", true); + doTemp.setVisible("CONSIGN_REPAY_PHONE", true); + doTemp.setVisible("DEBIT_BANK", true); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"ReadOnly".equals(RightType)?"false":"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, + }; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp new file mode 100644 index 000000000..aa21b7126 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonChangeInfo.jsp @@ -0,0 +1,173 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人现扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + String rightType = CurPage.getParameter("RightType"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId == null) applyId = ""; + String sTempletNo ="LBDeductCardChangeTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + /* {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}, */ + }; + sButtonPosition = "south"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp new file mode 100644 index 000000000..011e41f45 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/AccountChangePersonInfo.jsp @@ -0,0 +1,103 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> + <% + String PG_TITLE = "自然人原扣款信息"; // 浏览器窗口标题 PG_TITLE + %> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List02;Describe=定义变量,获取参数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List03;Describe=定义数据对象;]~*/%> + +<% + String FlowUnid = CurPage.getParameter("FlowUnid"); + if(FlowUnid == null)FlowUnid = ""; + String ContractId = CurPage.getParameter("ContractId"); + if(ContractId == null) ContractId = ""; + String applyId = CurPage.getParameter("ChannelApplyId"); + if(applyId==null)applyId=""; + String RightType = CurPage.getParameter("RightType"); + if(RightType!=null)RightType = ""; + String sTempletNo ="LBDeductCardOldTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.genHTMLObjectWindow(FlowUnid); + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("change", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("contractList", "", CurPage.getObjectWindowOutput()); + +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + {"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"} + }; + sButtonPosition = "north"; +%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> + <%@ include file="/Frame/resources/include/ui/include_info.jspf"%> +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> + + + + +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%> + +<%/*~END~*/%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp new file mode 100644 index 000000000..bd7eed0e5 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/AccountInfoChange/person/DeductCardDocList.jsp @@ -0,0 +1,70 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2017-09-28 + Content: + History Log: + */ + String applyId = CurPage.getParameter("applyId"); + if(applyId==null) applyId = ""; + String customerType = CurPage.getParameter("customerType"); + if(customerType==null) customerType = ""; + ASObjectModel doTemp = new ASObjectModel("DeductCardDocList"); + //根据中间表id查询 + doTemp.appendJboWhere("flow_unid='"+applyId+"'"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(""); + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + + }; +%><%@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/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList.jsp b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList.jsp index 1ed91582a..c9723f6c3 100644 --- a/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList.jsp +++ b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList.jsp @@ -24,8 +24,8 @@ String sButtons[][] = { {"true","All","Button","批量扣款","批量扣款","batchCollect()","","","","btn_icon_add",""}, //{"true","All","Button","实时扣款","实时扣款","timelyCollect()","","","","btn_icon_add",""}, - {"true","All","Button","手工扣款","手工扣款","afterCollectManage()","","","","btn_icon_add",""}, - {"true","All","Button","查询批量扣款","查询批量扣款","queryBatchCollect()","","","","btn_icon_add",""}, + //{"true","All","Button","手工扣款","手工扣款","afterCollectManage()","","","","btn_icon_add",""}, + {"true","All","Button","手动刷新","手动刷新","queryBatchCollect()","","","","btn_icon_add",""}, {"true","","Button","退回","审核未通过,退回初审","if(confirm('确定要退回吗?')){viewAndEdit()}","","","","btn_icon_detail",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp index f15328dd7..ec46453c6 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp @@ -151,8 +151,12 @@ function getNameOfBank(){ var res = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "verifyFourelementBank", parm); if (res == "ERROR") { alert("校验失败"); + }else if(res == 'SUCCESS'){ + alert('校验完成'); + reloadSelf(); + }else{ + alert(res); } - reloadSelf(); } //提示是否为指定银行 function vertifyBankIsValid(){ diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index ae6645fc8..2fd0e58fd 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -20,10 +20,10 @@ String sTempletNo = "GuarantorInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); - doTemp.setDefaultValue("ASSUROR", customerid); - doTemp.setDefaultValue("PROJECT_ID", ProjectId); - doTemp.setDefaultValue("FLOWUNID", sFlowUnid); - doTemp.setDefaultValue("DATA_STATE", "guarantee");//标记该数据是担保人信息 +// doTemp.setDefaultValue("ASSUROR", customerid); + doTemp.setDefaultValue("project_id", ProjectId); + doTemp.setDefaultValue("flowunid", sFlowUnid); +// doTemp.setDefaultValue("DATA_STATE", "guarantee");//标记该数据是担保人信息 ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 @@ -113,7 +113,7 @@ function goBack(){ //要跳转的url var url="/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp"; - var sparam="FlowUnid="+getItemValue(0,0,"FLOWUNID")+"&RightType="+'<%=RightType%>'; + var sparam="FlowUnid="+getItemValue(0,0,"FLOWUNID")+"&ProjectId="+getItemValue(0,0,"project_id")+"&RightType="+'<%=RightType%>'; AsControl.OpenView(url,sparam,"_self",""); } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index d69bec427..6be6f784f 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -74,32 +74,23 @@ dwTemp.getDataObject().setVisible("thirdopinion", true); dwTemp.getDataObject().setRequired("thirdchoice", true); dwTemp.getDataObject().setRequired("thirdopinion", true); - dwTemp.setGroupHidden("0040,0050"); + //dwTemp.setGroupHidden("0040,0050"); }else if("0050".equals(phaseNo)){ dwTemp.getDataObject().setVisible("firstchoice", true); dwTemp.getDataObject().setVisible("firstopinion", true); dwTemp.getDataObject().setReadOnly("firstchoice", true); dwTemp.getDataObject().setReadOnly("firstopinion", true); - dwTemp.getDataObject().setVisible("secondchoice", true); - dwTemp.getDataObject().setVisible("secondopinion", true); - dwTemp.getDataObject().setReadOnly("secondchoice", true); - dwTemp.getDataObject().setReadOnly("secondopinion", true); - if(money<200000){ - dwTemp.getDataObject().setVisible("thirdchoice", false); - dwTemp.getDataObject().setVisible("thirdopinion", false); - dwTemp.getDataObject().setRequired("thirdchoice", false); - dwTemp.getDataObject().setRequired("thirdopinion", false); - dwTemp.getDataObject().setReadOnly("thirdchoice", false); - dwTemp.getDataObject().setReadOnly("thirdopinion", false); - }else{ - dwTemp.getDataObject().setVisible("thirdchoice", true); - dwTemp.getDataObject().setVisible("thirdopinion", true); - dwTemp.getDataObject().setRequired("thirdchoice", true); - dwTemp.getDataObject().setRequired("thirdopinion", true); - dwTemp.getDataObject().setReadOnly("thirdchoice", true); - dwTemp.getDataObject().setReadOnly("thirdopinion", true); - } - //dwTemp.setGroupHidden("0040,0050"); + dwTemp.getDataObject().setVisible("secondchoice", false); + dwTemp.getDataObject().setVisible("secondopinion", false); + dwTemp.getDataObject().setReadOnly("secondchoice", false); + dwTemp.getDataObject().setReadOnly("secondopinion", false); + dwTemp.getDataObject().setVisible("thirdchoice", false); + dwTemp.getDataObject().setVisible("thirdopinion", false); + dwTemp.getDataObject().setRequired("thirdchoice", false); + dwTemp.getDataObject().setRequired("thirdopinion", false); + dwTemp.getDataObject().setReadOnly("thirdchoice", false); + dwTemp.getDataObject().setReadOnly("thirdopinion", false); + dwTemp.setGroupHidden("0030,0040,0050"); } dwTemp.genHTMLObjectWindow(flowunid); @@ -113,10 +104,10 @@ case '0020': //$("#A_div_1210").attr("style","display:none;"); //$("#A_div_1220").attr("style","display:none;"); - //$("#A_div_1230").attr("style","display:none;"); - //$("#A_div_1240").attr("style","display:none;"); - //$("#A_div_1250").attr("style","display:none;"); - //$("#A_div_1260").attr("style","display:none;"); + $("#A_div_1230").attr("style","display:none;"); + $("#A_div_1240").attr("style","display:none;"); + $("#A_div_1250").attr("style","display:none;"); + $("#A_div_1260").attr("style","display:none;"); _user_validator[0]['rules']['FIRSTCHOICE']['required0'] = true; _user_validator[0]['messages']['FIRSTCHOICE']['required0'] = '请输入初审意见'; _user_validator[0]['rules']['FIRSTOPINION']['required0'] = true; @@ -127,8 +118,8 @@ //$("#A_div_1220").attr("style","display:none;"); //$("#A_div_1230").attr("style","display:none;"); //$("#A_div_1240").attr("style","display:none;"); - //$("#A_div_1250").attr("style","display:none;"); - //$("#A_div_1260").attr("style","display:none;"); + $("#A_div_1250").attr("style","display:none;"); + $("#A_div_1260").attr("style","display:none;"); _user_validator[0]['rules']['SECONDCHOICE']['required0'] = true; _user_validator[0]['messages']['SECONDCHOICE']['required0'] = '请输入复审意见'; _user_validator[0]['rules']['SECONDOPINION']['required0'] = true; @@ -150,9 +141,9 @@ $("#A_div_1210").attr("style","display:none;"); //$("#A_div_1220").attr("style","display:none;"); $("#A_div_1230").attr("style","display:none;"); - //$("#A_div_1240").attr("style","display:none;"); + $("#A_div_1240").attr("style","display:none;"); $("#A_div_1250").attr("style","display:none;"); - //$("#A_div_1260").attr("style","display:none;"); + $("#A_div_1260").attr("style","display:none;"); _user_validator[0]['rules']['FOURCHOICE']['required0'] = true; _user_validator[0]['messages']['FOURCHOICE']['required0'] = '请输入总经理意见'; _user_validator[0]['rules']['FOUROPINION']['required0'] = true; @@ -322,8 +313,14 @@ phaseChoice = getItemValue(0,0,"fourchoice"); phaseOpinion = getItemValue(0,0,"fouropinion"); } + var InterOpinion1 = getItemValue(0,0,"InterOpinion1"); + var DistriOpinion1 = getItemValue(0,0,"DistriOpinion1"); + var InterOpinion2 = getItemValue(0,0,"InterOpinion2"); + var DistriOpinion2 = getItemValue(0,0,"DistriOpinion2"); + var InterOpinion3 = getItemValue(0,0,"InterOpinion3"); + var DistriOpinion3 = getItemValue(0,0,"DistriOpinion3"); var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BusinessApproveManager","saveApproveOpinion", - "serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>"); + "serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",InterOpinion1="+InterOpinion1+",DistriOpinion1="+DistriOpinion1+",InterOpinion2="+InterOpinion2+",DistriOpinion2="+DistriOpinion2+",InterOpinion3="+InterOpinion3+",DistriOpinion3="+DistriOpinion3+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>"); if("SUCCESS" == sResult){ resetDWDialog("保存成功!",true); reloadSelf(); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 4bce4ca9b..2a55c85ff 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -7,11 +7,13 @@ History Log: */ String sPrevUrl = CurPage.getParameter("PrevUrl"); + String ProjectId = CurPage.getParameter("ProjectId"); if(sPrevUrl == null) sPrevUrl = ""; String sTempletNo = "CustomerFamilyJoinTempInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setColTips("", ""); + doTemp.setDefaultValue("project_id", ProjectId); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml index 130be71e9..761b7a09d 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml @@ -19,6 +19,7 @@ + @@ -577,40 +578,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -893,43 +861,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1988,42 +1920,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3851,6 +3748,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/com/amarsoft/app/util/ProductParamUtil.java b/src/com/amarsoft/app/util/ProductParamUtil.java index 00a974a95..8734deb96 100644 --- a/src/com/amarsoft/app/util/ProductParamUtil.java +++ b/src/com/amarsoft/app/util/ProductParamUtil.java @@ -22,7 +22,7 @@ import org.dom4j.io.XMLWriter; import jbo.prd.PRD_SPECIFIC_LIBRARY; import jbo.sys.LB_PRODUCT_INFO; -import com.alibaba.fastjson.JSON; +import com.amarsoft.app.als.prd.config.loader.ProductConfig; import com.amarsoft.app.base.businessobject.BusinessObject; import com.amarsoft.app.base.businessobject.BusinessObjectHelper; import com.amarsoft.app.base.util.XMLHelper; @@ -253,9 +253,10 @@ public class ProductParamUtil { public static List getProductDocInfo(String productId,String componentType) throws Exception{ List docInfo = new ArrayList(); String realXmlPath = getProductValueXmlBySql(productId); - BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); + /*BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); BizObject boLPI = bomLPI.createQuery("ID=:ID").setParameter("ID", realXmlPath).getSingleResult(true); - String pData = boLPI.getAttribute("PRODUCT_DATA").getString(); + String pData = boLPI.getAttribute("PRODUCT_DATA").getString();*/ + String pData = ProductConfig.getProductData(realXmlPath); String type = componentType; if("".equals(pData)){ }else{ @@ -392,7 +393,7 @@ public class ProductParamUtil { * @throws Exception * @author zhulh */ - public static Map>> getProductComponentDecisionTable(String productId,String componentType,String paramName1,String paramName2) throws Exception{ + public static Map>> getProductComponentDecisionTable(String productId,String componentType,String... paramNames) throws Exception{ Map>> productComponent = new HashMap>>(); String realXmlPath = getProductValueXmlBySql(productId); //List componentList = XMLHelper.getBusinessObjectList(realXmlPath,"Component||Status='1'","ID"); @@ -406,24 +407,19 @@ public class ProductParamUtil { List> parameValues = new ArrayList>(); for(BusinessObject boP:parameters){ Map parameValue = new HashMap(); - String paramValue1 = ""; - String paramValue2 = ""; - if(boP.containsAttribute("OPTIONALVALUE_"+(paramName1.toUpperCase()))){ - paramValue1 = boP.getString("OPTIONALVALUE_"+(paramName1.toUpperCase())); - }else if(boP.containsAttribute("VALUE_"+(paramName1.toUpperCase()))){ - paramValue1 = boP.getString("VALUE_"+(paramName1.toUpperCase())); - }else if(boP.containsAttribute("MANDATORYVALUE_"+(paramName1.toUpperCase()))){ - paramValue1 = boP.getString("MANDATORYVALUE_"+(paramName1.toUpperCase())); + String paramValue = ""; + for(String paramName : paramNames) { + if(boP.containsAttribute("OPTIONALVALUE_"+(paramName.toUpperCase()))){ + paramValue = boP.getString("OPTIONALVALUE_"+(paramName.toUpperCase())); + }else if(boP.containsAttribute("VALUE_"+(paramName.toUpperCase()))){ + paramValue = boP.getString("VALUE_"+(paramName.toUpperCase())); + }else if(boP.containsAttribute("MANDATORYVALUE_"+(paramName.toUpperCase()))){ + paramValue = boP.getString("MANDATORYVALUE_"+(paramName.toUpperCase())); + } else { + paramValue = boP.getString(paramName.toUpperCase()); + } + parameValue.put(paramName, paramValue); } - if(boP.containsAttribute("OPTIONALVALUE_"+(paramName2.toUpperCase()))){ - paramValue2 = boP.getString("OPTIONALVALUE_"+(paramName2.toUpperCase())); - }else if(boP.containsAttribute("VALUE_"+(paramName2.toUpperCase()))){ - paramValue2 = boP.getString("VALUE_"+(paramName2.toUpperCase())); - }else if(boP.containsAttribute("MANDATORYVALUE_"+(paramName2.toUpperCase()))){ - paramValue2 = boP.getString("MANDATORYVALUE_"+(paramName2.toUpperCase())); - } - parameValue.put(paramName1, paramValue1); - parameValue.put(paramName2, paramValue2); parameValues.add(parameValue); } productComponent.put(bo.getString("ID"), parameValues); @@ -464,9 +460,10 @@ public class ProductParamUtil { }*/ String parameterValue = ""; String realXmlPath = getProductValueXmlBySql(productId); - BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); + /*BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); BizObject boLPI = bomLPI.createQuery("ID=:ID").setParameter("ID", realXmlPath).getSingleResult(true); - String pData = boLPI.getAttribute("PRODUCT_DATA").getString(); + String pData = boLPI.getAttribute("PRODUCT_DATA").getString();*/ + String pData = ProductConfig.getProductData(realXmlPath); String type = componentType; if("".equals(pData)){ }else{ @@ -508,30 +505,28 @@ public class ProductParamUtil { List exists = getBusinessObject(realXmlPath, "PRD0201"); String result=""; for(BusinessObject bo:exists){ - List list = com.alibaba.fastjson.JSONArray.parseArray(bo.getObject("DecisionTable").toString(), Map.class); + List parameters = bo.getBusinessObjects("DecisionTable"); if("ExpenseType".equals(bo.getString("ID"))){ continue; } - for (Map map : list) { - String key = map.get("jbo.sample.DecisionTable").toString(); - Map mapValue = (Map)JSON.parse(key); + for(BusinessObject boP:parameters){ String maxDays = ""; String minDays = ""; - if(mapValue.containsKey("MINIMUMVALUE_"+(paramName1.toUpperCase()))){ - minDays = mapValue.get("MINIMUMVALUE_"+(paramName1.toUpperCase())).toString(); - }else if(mapValue.containsKey("MINIMUMVALUE_"+(paramName2.toUpperCase()))){ - minDays = mapValue.get("MINIMUMVALUE_"+(paramName2.toUpperCase())).toString(); + if(boP.containsAttribute("MINIMUMVALUE_"+(paramName1.toUpperCase()))){ + minDays = boP.getString("MINIMUMVALUE_"+(paramName1.toUpperCase())); + }else if(boP.containsAttribute("MINIMUMVALUE_"+(paramName2.toUpperCase()))){ + minDays = boP.getString("MINIMUMVALUE_"+(paramName2.toUpperCase())); } - if(mapValue.containsKey("MAXIMUMVALUE_"+(paramName1.toUpperCase()))){ - maxDays = mapValue.get("MAXIMUMVALUE_"+(paramName1.toUpperCase())).toString(); - }else if(mapValue.containsKey("MAXIMUMVALUE_"+(paramName2.toUpperCase()))){ - maxDays = mapValue.get("MAXIMUMVALUE_"+(paramName2.toUpperCase())).toString(); + if(boP.containsAttribute("MAXIMUMVALUE_"+(paramName1.toUpperCase()))){ + maxDays = boP.getString("MAXIMUMVALUE_"+(paramName1.toUpperCase())); + }else if(boP.containsAttribute("MAXIMUMVALUE_"+(paramName2.toUpperCase()))){ + maxDays = boP.getString("MAXIMUMVALUE_"+(paramName2.toUpperCase())); } if(Integer.parseInt(minDays)<=Integer.parseInt(overDays)&& Integer.parseInt(maxDays)>=Integer.parseInt(overDays)){ - if(mapValue.containsKey("VALUE_"+(paramName1.toUpperCase()))){ - result = mapValue.get("VALUE_"+(paramName1.toUpperCase())).toString(); - }else if(mapValue.containsKey("VALUE_"+(paramName2.toUpperCase()))){ - result = mapValue.get("VALUE_"+(paramName2.toUpperCase())).toString(); + if(boP.containsAttribute("VALUE_"+(paramName1.toUpperCase()))){ + result = boP.getString("VALUE_"+(paramName1.toUpperCase())); + }else if(boP.containsAttribute("VALUE_"+(paramName2.toUpperCase()))){ + result = boP.getString("VALUE_"+(paramName2.toUpperCase())); } return result; } @@ -547,20 +542,20 @@ public class ProductParamUtil { * @author zhulh */ public static String getProductValueXmlBySql(String productId) throws JBOException{ - BizObject bo = JBOFactory.getBizObjectManager(PRD_SPECIFIC_LIBRARY.CLASS_NAME).createQuery("productid=:ProductId").setParameter("ProductId", productId).getSingleResult(false); + /*BizObject bo = JBOFactory.getBizObjectManager(PRD_SPECIFIC_LIBRARY.CLASS_NAME).createQuery("productid=:ProductId").setParameter("ProductId", productId).getSingleResult(false); String realXmlPath = ""; if(bo != null){ //String path = ProductParamUtil.class.getResource("/").toString(); String configfile = bo.getAttribute("configfile").toString(); - /*if(path.startsWith("file:/home")){ + if(path.startsWith("file:/home")){ path = path.substring(5, path.length()-9); }else{ path = path.substring(6, path.length()-9); - }*/ + } //realXmlPath = path+configfile.substring(configfile.indexOf("/")); realXmlPath = configfile; - } - return realXmlPath; + }*/ + return productId; } public static String getProductValueXml(String productId) throws JBOException{ @@ -581,12 +576,11 @@ public class ProductParamUtil { public static List getBusinessObject(String realXmlPath,String componentType) throws Exception{ List exists = new ArrayList(); - BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); - BizObject boLPI = bomLPI.createQuery("ID=:ID").setParameter("ID", realXmlPath).getSingleResult(true); - if (boLPI == null) { - return exists; - } - String pData = boLPI.getAttribute("PRODUCT_DATA").getString(); + //BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); + //BizObject boLPI = bomLPI.createQuery("ID=:ID").setParameter("ID", realXmlPath).getSingleResult(true); + //String pData = boLPI.getAttribute("PRODUCT_DATA").getString(); + //切换读取缓存 + String pData = ProductConfig.getProductData(realXmlPath); String type = componentType; if("".equals(pData)){ }else{ @@ -607,9 +601,6 @@ public class ProductParamUtil { Map valMap = new HashMap(); Set vSet = value.entrySet(); for(Entry v:vSet){ - if (v.getKey().toString().equals("DecisionTable")) { - System.out.println(v.getKey().toString()); - } valMap.put(v.getKey().toString(), v.getValue()); } bos[i] = BusinessObject.createBusinessObject("jbo.sample.Parameter",valMap); @@ -624,9 +615,10 @@ public class ProductParamUtil { public static List getBusinessObjectWithDecisionTable(String realXmlPath,String componentType) throws Exception{ List exists = new ArrayList(); - BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); + /*BizObjectManager bomLPI = JBOFactory.getBizObjectManager(LB_PRODUCT_INFO.CLASS_NAME); BizObject boLPI = bomLPI.createQuery("ID=:ID").setParameter("ID", realXmlPath).getSingleResult(true); - String pData = boLPI.getAttribute("PRODUCT_DATA").getString(); + String pData = boLPI.getAttribute("PRODUCT_DATA").getString();*/ + String pData = ProductConfig.getProductData(realXmlPath); String type = componentType; if("".equals(pData)){ }else{ diff --git a/src_core/com/tenwa/comm/customerfilterlist/DebitCardAction.java b/src_core/com/tenwa/comm/customerfilterlist/DebitCardAction.java index ea8112d09..b79dc668d 100644 --- a/src_core/com/tenwa/comm/customerfilterlist/DebitCardAction.java +++ b/src_core/com/tenwa/comm/customerfilterlist/DebitCardAction.java @@ -152,41 +152,44 @@ public String saveMobile(JBOTransaction tx) throws JBOException{ } //校验银行卡四要素 public String verifyFourelementBank(JBOTransaction tx) throws JBOException{ - BizObjectManager bm = JBOFactory.getFactory().getManager(CUSTOMER_ACCOUNT_TEMP.CLASS_NAME); - String s=this.getFlowUnid(); - BizObject bankObject = bm.createQuery("select customerid from O where flowunid=:FLOWUNID").setParameter("FLOWUNID",s).getSingleResult(false); - String customerid = bankObject.getAttribute("customerid").getString(); - BizObject bo = bm.createQuery("select cpt.fullname,O.mobile,O.acc_number,O.account,cpt.CERTID,cpt.CERTTYPE,O.customerid from O,jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP cpt " - + "where O.customerid = cpt.customerid and cpt.customerid=:customerid") - .setParameter("customerid",customerid).getSingleResult(false); - if (bo != null) { - //代收付签约、银行卡验证交易测试URL - CollectAuditInfoCache cap = new CollectAuditInfoCache(); - Map map = new HashMap(); - map.put("ACCOUNT_NO", bo.getAttribute("acc_number").toString());//卡号 - map.put("ACCOUNT_NAME", bo.getAttribute("account").toString());//户名 - map.put("ID_TYPE", "0");//开户时的证件类型,0->身份证,默认身份证 - if (bo.getAttribute("CERTTYPE").toString().equals("Ind02")) { - map.put("ID_TYPE", "2");// 2->护照 - } - //map.put("ID_TYPE", "0");//开户时的证件类型,0->身份证 - map.put("ID", bo.getAttribute("CERTID").toString());//开户时的证件号码 - map.put("TEL", bo.getAttribute("mobile").toString());//开户时预留的11位手机号 - //四要素 - Map fourMsg = new HashMap(); - try { - fourMsg = cap.vitfyCollectManage(map); - bm.createQuery("update O set VERIFY=:verify,VERIFY_STATUS=:verify_status where customerid=:customerid") - .setParameter("verify", fourMsg.get("ERR_MSG")) - .setParameter("verify_status", "0000".equals(fourMsg.get("RET_CODE")) ? "Y" : "N") - .setParameter("customerid", customerid).executeUpdate(); + try { + BizObjectManager bm = JBOFactory.getFactory().getManager(CUSTOMER_ACCOUNT_TEMP.CLASS_NAME); + String s=this.getFlowUnid(); + BizObject bankObject = bm.createQuery("select customerid from O where flowunid=:FLOWUNID").setParameter("FLOWUNID",s).getSingleResult(false); + if(bankObject!=null){ + String customerid = bankObject.getAttribute("customerid").getString(); + BizObject bo = bm.createQuery("select cpt.fullname,O.mobile,O.acc_number,O.account,cpt.CERTID,cpt.CERTTYPE,O.customerid from O,jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP cpt " + + "where O.customerid = cpt.customerid and cpt.customerid=:customerid") + .setParameter("customerid",customerid).getSingleResult(false); + if (bo != null) { + //代收付签约、银行卡验证交易测试URL + CollectAuditInfoCache cap = new CollectAuditInfoCache(); + Map map = new HashMap(); + map.put("ACCOUNT_NO", bo.getAttribute("acc_number").toString());//卡号 + map.put("ACCOUNT_NAME", bo.getAttribute("account").toString());//户名 + map.put("ID_TYPE", "0");//开户时的证件类型,0->身份证,默认身份证 + if (bo.getAttribute("CERTTYPE").toString().equals("Ind02")) { + map.put("ID_TYPE", "2");// 2->护照 + } + //map.put("ID_TYPE", "0");//开户时的证件类型,0->身份证 + map.put("ID", bo.getAttribute("CERTID").toString());//开户时的证件号码 + map.put("TEL", bo.getAttribute("mobile").toString());//开户时预留的11位手机号 + //四要素 + Map fourMsg = new HashMap(); + fourMsg = cap.vitfyCollectManage(map); + bm.createQuery("update O set VERIFY=:verify,VERIFY_STATUS=:verify_status where customerid=:customerid") + .setParameter("verify", fourMsg.get("ERR_MSG")) + .setParameter("verify_status", "0000".equals(fourMsg.get("RET_CODE")) ? "Y" : "N") + .setParameter("customerid", customerid).executeUpdate(); + } + }else{ + return "扣款卡信息未保存,请先保存!"; + } } catch (CryptException e) { e.printStackTrace(); return "ERROR"; } - } return "SUCCESS"; - } /*public static void main(String[] args) { //代收付签约、银行卡验证交易测试URL diff --git a/src_core/com/tenwa/doc/action/DocListAction.java b/src_core/com/tenwa/doc/action/DocListAction.java index cee57e85a..952039899 100644 --- a/src_core/com/tenwa/doc/action/DocListAction.java +++ b/src_core/com/tenwa/doc/action/DocListAction.java @@ -55,7 +55,8 @@ public class DocListAction { delDocFile("LB_DOCATTRIBUTE","id='"+this.attId+"'",Transaction.createTransaction(tx)); BizObjectManager bm=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE", tx); String library_id=bm.createQuery("select library_id from O where id=:id").setParameter("id", this.attId).getSingleResult(false).getAttribute("library_id").getString(); - bm.createQuery("delete from O where id=:id").setParameter("id", attId).executeUpdate(); + //bm.createQuery("delete from O where id=:id").setParameter("id", attId).executeUpdate(); + bm.createQuery("update O set DELETEED='Y' where id=:id").setParameter("id", attId).executeUpdate(); BizObjectManager bm1=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCLIBRARY.CLASS_NAME); bm1.createQuery("update O set BUSINESS_CHECK=:BussinessCheck where id=:id").setParameter("BussinessCheck", this.BussinessCheck).setParameter("id", library_id).executeUpdate(); tx.commit(); diff --git a/src_core/com/tenwa/doc/cache/DocListCache.java b/src_core/com/tenwa/doc/cache/DocListCache.java index 7eedbbc96..1bc04e909 100644 --- a/src_core/com/tenwa/doc/cache/DocListCache.java +++ b/src_core/com/tenwa/doc/cache/DocListCache.java @@ -12,7 +12,7 @@ public class DocListCache { public static String getFile(String libraryid) throws Exception{ @SuppressWarnings("unchecked") - List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid").setParameter("libraryid", libraryid).getResultList(false); + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid and (DELETEED<>'Y' or DELETEED is null)").setParameter("libraryid", libraryid).getResultList(false); StringBuffer sb=new StringBuffer(); sb.append("{"); diff --git a/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java b/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java index ec88461b3..fd1214c03 100644 --- a/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java +++ b/src_core/com/tenwa/flow/flowlog/ViewFlowLogService.java @@ -58,8 +58,8 @@ public class ViewFlowLogService extends BaseTable{ .setParameter("curUserId",CurUserID).getSingleResult(false); String pHASEOPINION=""; if(fobo!=null){ - pHASEOPINION=fobo.getAttribute(FLOW_OPINION.PHASEOPINION).toString(); - fobo.getAttribute(FLOW_OPINION.PHASECHOICE).toString(); + pHASEOPINION=fobo.getAttribute(FLOW_OPINION.phaseopinion).toString(); + fobo.getAttribute(FLOW_OPINION.phasechoice).toString(); } if(pHASEOPINION!=null&&pHASEOPINION!=""){ fl.setAttributeValue("logcontent", FlowLogContent.replaceAll("@", DateAssistant.getTodayNow()).concat(" 意见:"+pHASEOPINION)); diff --git a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java similarity index 85% rename from src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java rename to src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java index 7e940031e..2a5790e4e 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/AccountPayMargin.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoan.java @@ -7,7 +7,7 @@ import com.amarsoft.are.jbo.JBOTransaction; import com.tenwa.comm.exception.BusinessException; import com.tenwa.voucher.service.VoucherJavaParamService; -public class AccountPayMargin implements VoucherJavaParamService{ +public class CommLoan implements VoucherJavaParamService{ @Override public Map getJavaParam(JBOTransaction tx, diff --git a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java similarity index 85% rename from src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java rename to src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java index 1ff7e808d..30a4a50d9 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/OtherReceiveMargin.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherLoan/CommLoanFactMoneyToMoney.java @@ -7,7 +7,7 @@ import com.amarsoft.are.jbo.JBOTransaction; import com.tenwa.comm.exception.BusinessException; import com.tenwa.voucher.service.VoucherJavaParamService; -public class OtherReceiveMargin implements VoucherJavaParamService{ +public class CommLoanFactMoneyToMoney implements VoucherJavaParamService{ @Override public Map getJavaParam(JBOTransaction tx, diff --git a/src_prd/com/amarsoft/app/als/prd/config/loader/ProductConfig.java b/src_prd/com/amarsoft/app/als/prd/config/loader/ProductConfig.java index 3c34ecb3c..2e0e49230 100644 --- a/src_prd/com/amarsoft/app/als/prd/config/loader/ProductConfig.java +++ b/src_prd/com/amarsoft/app/als/prd/config/loader/ProductConfig.java @@ -2,6 +2,8 @@ package com.amarsoft.app.als.prd.config.loader; import java.util.ArrayList; import java.util.List; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import jbo.prd.BUSINESS_TYPE; import jbo.prd.PRD_SPECIFIC_LIBRARY; @@ -13,23 +15,80 @@ import com.amarsoft.app.base.config.impl.BusinessComponentConfig; import com.amarsoft.app.base.exception.ALSException; import com.amarsoft.app.base.util.DateHelper; import com.amarsoft.app.base.util.XMLHelper; +import com.amarsoft.are.ARE; import com.amarsoft.are.lang.StringX; +import com.amarsoft.awe.util.ASResultSet; +import com.amarsoft.awe.util.SqlObject; import com.amarsoft.awe.util.Transaction; import com.amarsoft.dict.als.cache.AbstractCache; +//import com.tenwa.httpclient.resources.BigDataPropertiesUtil; +import com.tenwa.httpclient.resources.GPSConfigure; +import com.tenwa.httpclient.resources.QuartzPropertiesUtil; public class ProductConfig extends AbstractCache{ private static BusinessObjectCache productCache = null; + private static Map productInfos; + private static Map holidays; public void clear() throws Exception { productCache.clear(); + productInfos.clear(); + holidays.clear(); } public synchronized boolean load(Transaction transaction) throws Exception { + //缓存产品 + ARE.getLog().info("[CACHE] ProductInfo bulid Begin ................."); + cacheProduct(transaction); + ARE.getLog().info("[CACHE] ProductInfo bulid End ..................."); + ARE.getLog().info("[CACHE] Holiday bulid Begin ................."); + cacheHoliday(transaction); + ARE.getLog().info("[CACHE] Holiday bulid End ..................."); + /*ARE.getLog().info("[CACHE] BigDataParams bulid Begin ................."); + BigDataPropertiesUtil.destroy(); + BigDataPropertiesUtil.load(); + ARE.getLog().info("[CACHE] BigDataParams bulid End ...................");*/ + ARE.getLog().info("[CACHE] GPSParams bulid Begin ................."); + GPSConfigure.destroy(); + GPSConfigure.load(); + ARE.getLog().info("[CACHE] GPSParams bulid End ..................."); + ARE.getLog().info("[CACHE] GPSParams bulid Begin ................."); + QuartzPropertiesUtil.destroy(); + QuartzPropertiesUtil.load(); + ARE.getLog().info("[CACHE] GPSParams bulid End ..................."); productCache=new BusinessObjectCache(500); return true; } + private synchronized void cacheHoliday(Transaction transaction) throws Exception{ + holidays = new ConcurrentHashMap(); + ASResultSet rs = null; + rs = transaction.getASResultSet(new SqlObject("select c_date, otype from bt_holiday")); + while(rs.next()) { + holidays.put(rs.getString("c_date"), rs.getString("otype")); + } + rs.close(); + } + + private synchronized void cacheProduct(Transaction transaction) throws Exception{ + productInfos = new ConcurrentHashMap(); + ASResultSet rs = null; + rs = transaction.getASResultSet(new SqlObject("select lpi.product_id,lpi.product_data,bt.typename from lb_product_info lpi left join business_type bt on lpi.product_id = bt.typeno")); + while(rs.next()) { + productInfos.put(rs.getString("product_id"), rs.getString("product_data")); + } + rs.close(); + } + + public synchronized static String getProductData(String specificSerialNo) { + return productInfos.get(specificSerialNo); + } + + public synchronized static String getHoliday(String cdate) { + return holidays.get(cdate); + } + /** * 获取产品定义 * @param productID diff --git a/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java b/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java index 630629ae6..c947c3028 100644 --- a/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java +++ b/src_tenwa/com/tenwa/apzl/saveunioncar/saveUnionCarUtil.java @@ -3,6 +3,7 @@ package com.tenwa.apzl.saveunioncar; import java.util.List; import java.util.UUID; +import jbo.app.tenwa.customer.DISTRIBUTOR_INFO; import jbo.app.tenwa.customer.LM_DISTRIBUTOR_TO_CAR; import jbo.app.tenwa.customer.LM_DISTRIBUTOR_TO_PRODUCT; import jbo.app.tenwa.customer.LM_PORTAL_TO_CAR; @@ -136,7 +137,7 @@ public String getCarBrandId() { String updateOrgId = params[1]; String updateTime = params[2]; String typeno = params[3]; - //String productid=params[4]; + String Message=""; int lle=0; int i; try{ @@ -146,7 +147,10 @@ public String getCarBrandId() { BizObject obcheck=Lmcheck.createQuery("DISTRIBUTOR_ID=:DISTRIBUTOR_ID and PRODUCT_ID=:PRODUCT_ID") .setParameter("DISTRIBUTOR_ID", brandid).setParameter("PRODUCT_ID",typeno).getSingleResult(false); if(obcheck!=null){ - return "success"; + BizObjectManager diManager = JBOFactory.getBizObjectManager(DISTRIBUTOR_INFO.CLASS_NAME,tx); + BizObject di = diManager.createQuery("select distributor_name from O where O.id=:id").setParameter("id", brandid).getSingleResult(true); + Message = Message+di.getAttribute("distributor_name").getString()+":该经销商已绑定。
"; + continue; } String PortalToCarId=UUID.randomUUID().toString().replaceAll("-", ""); BizObjectManager Lmpc = JBOFactory.getBizObjectManager(LM_DISTRIBUTOR_TO_PRODUCT.CLASS_NAME,tx); @@ -166,10 +170,10 @@ public String getCarBrandId() { e.printStackTrace(); tx.rollback(); } - if(lle>0){ - return "success"; - } - return "error"; +// if(lle>0){ +// return "success"; +// } + return Message; } public String saveLmDistributorToDistrict(JBOTransaction tx)throws Exception { /* diff --git a/src_tenwa/com/tenwa/collectaudit/cache/CollectAuditInfoCache.java b/src_tenwa/com/tenwa/collectaudit/cache/CollectAuditInfoCache.java index 1765b62ce..eec395d97 100644 --- a/src_tenwa/com/tenwa/collectaudit/cache/CollectAuditInfoCache.java +++ b/src_tenwa/com/tenwa/collectaudit/cache/CollectAuditInfoCache.java @@ -447,10 +447,9 @@ public class CollectAuditInfoCache { batch_number += ";手工付款金额:"+rent; } //更新收付状态 - bc.createQuery("update O set O.COLLECT_STATUS=:COLLECT_STATUS ,O.COLLECT_MSG=:COLLECT_MSG,O.BATCH_NO=:BATCH_NUMBER where O.id=:id") + bc.createQuery("update O set O.COLLECT_STATUS=:COLLECT_STATUS ,O.COLLECT_MSG=:COLLECT_MSG where O.id=:id") .setParameter("COLLECT_STATUS", "收款成功") .setParameter("COLLECT_MSG", map.get("ERR_MSG")) - .setParameter("BATCH_NUMBER", batch_number) .setParameter("id", bo.getAttribute("id").toString()).executeUpdate(); map.put("RET_CODE", "0000"); return map; @@ -751,7 +750,7 @@ public class CollectAuditInfoCache { Map map = new HashMap(); JBOTransaction transaction = JBOFactory.createJBOTransaction(); BizObjectManager bmi = JBOFactory.getFactory().getManager(LC_RENT_PLAN.CLASS_NAME,transaction); - BizObject boi = bmi.createQuery("select v.sys_guid() as v.id,O.QUOT_ID as v.QUOT_ID,O.CUST_ID as v.CUST_ID,O.PROJECT_ID as v.PROJECT_ID,O.PROJECT_PLAN_NUMBER as v.PROJECT_PLAN_NUMBER," + BizObject boi = bmi.createQuery("select v.replace(v.uuid(),'-','') as v.id,O.QUOT_ID as v.QUOT_ID,O.CUST_ID as v.CUST_ID,O.PROJECT_ID as v.PROJECT_ID,O.PROJECT_PLAN_NUMBER as v.PROJECT_PLAN_NUMBER," + "O.CONTRACT_ID as v.CONTRACT_ID,O.CONTRACT_PLAN_NUMBER as v.CONTRACT_PLAN_NUMBER,O.PAYMENT_NUMBER as v.PAYMENT_NUMBER,'' as v.EBANK_NUMBER,O.id as v.PLAN_ID,O.PLAN_LIST as v.PLAN_LIST," + "'0' as v.INTEREST_ADJUST,'settlemethod6' as v.SETTLE_METHOD,'"+hire_list+"' as v.HIRE_LIST,'"+cerrentDate+"' as v.HIRE_DATE,'"+rent+"' as v.RENT,case when ("+rent+" - vl.interest_over) > 0 then ("+rent+" - vl.interest_over) else 0 end as v.CORPUS,case when ("+rent+" - vl.interest_over) > 0 then (vl.interest_over) else "+rent+" end as v.INTEREST,vl.penalty_over as v.PENALTY," + "'0' as v.CORPUS_ADJUST,'0' as v.PENALTY_ADJUST,'0' as v.ROLL_BACK,O.COIN as v.COIN from O, jbo.app.tenwa.calc.VI_LC_RENT_PLAN vl where O.id = vl.id" @@ -863,7 +862,7 @@ public class CollectAuditInfoCache { BizObjectManager bm = JBOFactory.getFactory().getManager(LC_RENT_PLAN.CLASS_NAME,trans); bm.createQuery("update O set O.BATCH_STATUS=:BATCH_STATUS,O.BATCH_NO=:BATCH_NO,O.BATCH_SN=:BATCH_SN where O.id=:id") .setParameter("BATCH_STATUS", "")//处理中 - .setParameter("BATCH_NO", "") + .setParameter("BATCH_NO", req_sn) .setParameter("BATCH_SN", "") .setParameter("id", biz.getAttribute("id").toString()).executeUpdate(); trans.commit(); diff --git a/src_tenwa/com/tenwa/httpclient/resources/GPSConfigure.java b/src_tenwa/com/tenwa/httpclient/resources/GPSConfigure.java index f1e15ce1e..92d039556 100644 --- a/src_tenwa/com/tenwa/httpclient/resources/GPSConfigure.java +++ b/src_tenwa/com/tenwa/httpclient/resources/GPSConfigure.java @@ -7,13 +7,11 @@ import java.util.Properties; import java.util.concurrent.ConcurrentHashMap; import com.amarsoft.are.ARE; -import com.tenwa.httpclient.ResultMessage; - public class GPSConfigure { - private static final Map attributes; + private static Map attributes; - static{ + public static void load() { attributes = new ConcurrentHashMap(); Properties prop = new Properties(); try { @@ -31,7 +29,12 @@ public class GPSConfigure { ARE.getLog().info("init GPSConfigure info success"); } + public static void destroy() { + if(attributes != null) attributes.clear(); + } + public static String get(String propName) { + if(attributes == null) load(); return attributes.get(propName); } } diff --git a/src_tenwa/com/tenwa/httpclient/resources/QuartzPropertiesUtil.java b/src_tenwa/com/tenwa/httpclient/resources/QuartzPropertiesUtil.java index d42668de3..653ae28a6 100644 --- a/src_tenwa/com/tenwa/httpclient/resources/QuartzPropertiesUtil.java +++ b/src_tenwa/com/tenwa/httpclient/resources/QuartzPropertiesUtil.java @@ -9,9 +9,9 @@ import java.util.concurrent.ConcurrentHashMap; import com.amarsoft.are.ARE; public class QuartzPropertiesUtil { - private static final Map attributes; + private static Map attributes; - static{ + public static void load() { attributes = new ConcurrentHashMap(); Properties prop = new Properties(); try { @@ -29,7 +29,12 @@ public class QuartzPropertiesUtil { ARE.getLog().info("init QuartzPropertiesUtil info success"); } + public static void destroy() { + if(attributes != null) attributes.clear(); + } + public static String get(String propName) { + if(attributes == null) load(); return attributes.get(propName); } } diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BusinessApproveManager.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BusinessApproveManager.java index 58aa004c2..4d342ea7d 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/BusinessApproveManager.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/BusinessApproveManager.java @@ -21,7 +21,69 @@ public class BusinessApproveManager { private String userid; private String orgid; private String plate_number; + private String InterOpinion1; + private String DistriOpinion1; + private String InterOpinion2; + private String DistriOpinion2; + private String InterOpinion3; + private String DistriOpinion3; + public String getDistriOpinion1() { + return DistriOpinion1; + } + + public void setDistriOpinion1(String distriOpinion1) { + DistriOpinion1 = distriOpinion1; + } + + public String getInterOpinion2() { + return InterOpinion2; + } + + public void setInterOpinion2(String interOpinion2) { + InterOpinion2 = interOpinion2; + } + + public String getDistriOpinion2() { + return DistriOpinion2; + } + + public void setDistriOpinion2(String distriOpinion2) { + DistriOpinion2 = distriOpinion2; + } + + public String getInterOpinion3() { + return InterOpinion3; + } + + public void setInterOpinion3(String interOpinion3) { + InterOpinion3 = interOpinion3; + } + + public String getDistriOpinion3() { + return DistriOpinion3; + } + + public void setDistriOpinion3(String distriOpinion3) { + DistriOpinion3 = distriOpinion3; + } + + public String getPhaseNo() { + return phaseNo; + } + + public void setPhaseNo(String phaseNo) { + this.phaseNo = phaseNo; + } + + public String getInterOpinion1() { + return InterOpinion1; + } + + public void setInterOpinion1(String interOpinion1) { + InterOpinion1 = interOpinion1; + } + public String getPlate_number() { return plate_number; } @@ -92,15 +154,27 @@ public class BusinessApproveManager { bomFT.createQuery("update O set relativeobjectno='"+serialNo+"' where serialno='"+serialNo+"'").executeUpdate(); bo.setAttributeValue("phaseopinion", phaseOpinion); bo.setAttributeValue("phasechoice", phaseChoice); + bo.setAttributeValue("InterOpinion1", InterOpinion1); + bo.setAttributeValue("DistriOpinion1", DistriOpinion1); + bo.setAttributeValue("InterOpinion2", InterOpinion2); + bo.setAttributeValue("DistriOpinion2", DistriOpinion2); + bo.setAttributeValue("InterOpinion3", InterOpinion3); + bo.setAttributeValue("DistriOpinion3", DistriOpinion3); }else{ bo = bomFO.newObject(); bo.setAttributeValue("serialno", serialNo); bo.setAttributeValue("opinionno", UUIDUtil.getUUID()); bo.setAttributeValue("phaseopinion", phaseOpinion); bo.setAttributeValue("phasechoice", phaseChoice); + bo.setAttributeValue("InterOpinion1", InterOpinion1); + bo.setAttributeValue("DistriOpinion1", DistriOpinion1); + bo.setAttributeValue("InterOpinion2", InterOpinion2); + bo.setAttributeValue("DistriOpinion2", DistriOpinion2); + bo.setAttributeValue("InterOpinion3", InterOpinion3); + bo.setAttributeValue("DistriOpinion3", DistriOpinion3); bo.setAttributeValue("inputuser", userid); bo.setAttributeValue("inputorg", orgid); - bo.setAttributeValue("inputtime", StringFunction.getToday()); + bo.setAttributeValue("inputtime", StringFunction.getTodayNow()); bomFT.createQuery("update O set relativeobjectno='"+serialNo+"' where serialno='"+serialNo+"'").executeUpdate(); } bomFO.saveObject(bo); diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java index 67e0fe54b..7d0f55c4b 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -1,6 +1,7 @@ package com.tenwa.lease.flow.project.commbusiness; import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP; +import jbo.app.tenwa.customer.CUSTOMER_INFO; import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP; import jbo.app.tenwa.customer.DISTRIBUTOR_INFO; import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP; @@ -27,11 +28,12 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { public Object run(Transaction Sqlca) throws Exception { this.initBussinessParam(Sqlca); BizObjectManager bm = JBOFactory.getBizObjectManager(LB_PROJECT_INFO_TEMP.CLASS_NAME); - BizObjectManager bmCPT = JBOFactory.getBizObjectManager(CUSTOMER_PERSON_TEMP.CLASS_NAME,Sqlca); //顺便初始化客户信息 + BizObjectManager bmCPT = JBOFactory.getBizObjectManager(CUSTOMER_PERSON_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmLULT = JBOFactory.getBizObjectManager(LB_UNION_LESSEE_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmCCT = JBOFactory.getBizObjectManager(CUSTOMER_COMPANY_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmLECT = JBOFactory.getBizObjectManager(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,Sqlca); BizObjectManager bmLCIT = JBOFactory.getBizObjectManager(LB_CONTRACT_INFO_TEMP.CLASS_NAME,Sqlca); + BizObjectManager bmCI = JBOFactory.getBizObjectManager(CUSTOMER_INFO.CLASS_NAME,Sqlca); Sqlca.join(bm); String customerId = UUIDUtil.getUUID(); @@ -42,56 +44,90 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { BizObject bmCC = bmCCT.newObject(); BizObject bmLEC = bmLECT.newObject(); BizObject bmLCI = bmLCIT.newObject(); + BizObject bmC = bmCI.newObject(); ASUser asUser=new ASUser(this.getAttribute("CurUserID").toString()); - bmLCI.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid")); - bmLCI.setAttributeValue("VERSIONID", this.getAttribute("versionid")); + //客户信息表 + bmC.setAttributeValue("customerid", customerId);//自然人ID + bmC.setAttributeValue("customername", this.getAttribute("custname"));//自然人名称 + bmC.setAttributeValue("customertype", this.getAttribute("CustomerType"));//客户类型 + bmC.setAttributeValue("certtype", this.getAttribute("certtype"));//证件类型 + bmC.setAttributeValue("certid", this.getAttribute("certid"));//证件号 + bmC.setAttributeValue("inputuserid", asUser.getUserID());//登记人 + bmC.setAttributeValue("inputorgid", asUser.getOrgID());//登记部门 + bmC.setAttributeValue("inputtime", StringFunction.getTodayNow());//登记时间,系统当前时间 + String deptid = asUser.getOrgID() ; + if(deptid.startsWith("8006")) { + BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",deptid).getSingleResult(false); + if(distributor_bo!=null) { + bmC.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));//经销商ID + } + } - boCRT.setAttributeValue("flowunid", this.getAttribute("FlowUnid")); - boCRT.setAttributeValue("customerid", customerId); - boCRT.setAttributeValue("FULLNAME", this.getAttribute("custname")); - boCRT.setAttributeValue("CERTTYPE", this.getAttribute("certtype")); - boCRT.setAttributeValue("CERTID", this.getAttribute("certid")); - boCRT.setAttributeValue("InputOrgID", asUser.getOrgID()); - boCRT.setAttributeValue("InputUserID", asUser.getUserID()); - boCRT.setAttributeValue("InputTime", StringFunction.getToday()); + //合同信息表 + bmLCI.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid"));//流程ID + bmLCI.setAttributeValue("PRODUCT_ID", this.getAttribute("ProductId"));//产品ID + bmLCI.setAttributeValue("VERSIONID", this.getAttribute("versionid"));//版本ID + bmLCI.setAttributeValue("INPUTUSERID", asUser.getUserID());//登记人 + bmLCI.setAttributeValue("INPUTORGID", asUser.getOrgID());//登记部门 + bmLCI.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());//登记时间,系统当前时间 + + //自然人信息表 + boCRT.setAttributeValue("flowunid", this.getAttribute("FlowUnid"));//流程ID + boCRT.setAttributeValue("customerid", customerId);//自然人ID + boCRT.setAttributeValue("FULLNAME", this.getAttribute("custname"));//自然人名称 + boCRT.setAttributeValue("CERTTYPE", this.getAttribute("certtype"));//证件类型 + boCRT.setAttributeValue("CERTID", this.getAttribute("certid"));//自然人证件号 + boCRT.setAttributeValue("INPUTUSERID", asUser.getUserID());//登记人 + boCRT.setAttributeValue("INPUTORGID", asUser.getOrgID());//登记部门 + boCRT.setAttributeValue("inputtime", StringFunction.getTodayNow());//登记时间,系统当前时间 boCRT.setAttributeValue("BALANCESHEET", "申请人"); //根据客户类型设置参数 String certType = this.getAttribute("certtype").toString(); if(certType.equals("Ent02")){ - bmCC.setAttributeValue("flowunid", this.getAttribute("FlowUnid")); - bmCC.setAttributeValue("customerid", customerId); - bmCC.setAttributeValue("enterprisename", this.getAttribute("custname")); - bmCC.setAttributeValue("certid", this.getAttribute("certid")); + //法人信息表 + bmCC.setAttributeValue("flowunid", this.getAttribute("FlowUnid"));//流程ID + bmCC.setAttributeValue("customerid", customerId);//法人ID + bmCC.setAttributeValue("enterprisename", this.getAttribute("custname"));//法人名称 + bmCC.setAttributeValue("certid", this.getAttribute("certid"));//法人证件号 + bmCC.setAttributeValue("certtype", this.getAttribute("certtype"));//证件类型 + bmCC.setAttributeValue("inputuserid", asUser.getUserID());//登记人 + bmCC.setAttributeValue("inputorgid", asUser.getOrgID());//登记部门 + bmCC.setAttributeValue("inputtime", StringFunction.getTodayNow());//登记时间,系统当前时间 bmCCT.saveObject(bmCC); } - bmLEC.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid")); - bmLEC.setAttributeValue("MODEL", this.getAttribute("carSystem")); - bmLEC.setAttributeValue("BRAND", this.getAttribute("productModel")); - bmLEC.setAttributeValue("car_series", this.getAttribute("carSeries")); - bmLEC.setAttributeValue("modelId", this.getAttribute("modelid")); - bmLEC.setAttributeValue("NOW_TOTAL", this.getAttribute("price")); - bmLEC.setAttributeValue("VNDR_NAME", asUser.getUserName()); - bmLEC.setAttributeValue("DISPLACEMENT", this.getAttribute("liter")); - bmLEC.setAttributeValue("gears", this.getAttribute("geartype")); + //车辆租赁物信息表 + bmLEC.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid"));//流程ID + bmLEC.setAttributeValue("BRAND", this.getAttribute("productModel"));//品牌 + bmLEC.setAttributeValue("car_series", this.getAttribute("carSeries"));//车系 + bmLEC.setAttributeValue("MODEL", this.getAttribute("carSystem"));//型号 + bmLEC.setAttributeValue("modelId", this.getAttribute("modelid"));//车型ID + bmLEC.setAttributeValue("NOW_TOTAL", this.getAttribute("price"));//车辆指导价 + bmLEC.setAttributeValue("VNDR_NAME", asUser.getUserName());//供应商 + bmLEC.setAttributeValue("DISPLACEMENT", this.getAttribute("liter"));//排量 + bmLEC.setAttributeValue("gears", this.getAttribute("geartype"));//档位 + bmLEC.setAttributeValue("INPUTUSERID", asUser.getUserID());//登记人 + bmLEC.setAttributeValue("INPUTORGID", asUser.getOrgID());//登记部门 + bmLEC.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());//登记时间,系统当前时间 - boLULT.setAttributeValue("CUSTOMER_NAME", this.getAttribute("custname")); - boLULT.setAttributeValue("project_id", this.getAttribute("ProjectId")); - boLULT.setAttributeValue("customer_id", customerId); - boLULT.setAttributeValue("flowunid", this.getAttribute("FlowUnid")); - boLULT.setAttributeValue("InputOrgID", asUser.getOrgID()); - boLULT.setAttributeValue("InputUserID", asUser.getUserID()); - boLULT.setAttributeValue("InputTime", StringFunction.getToday()); - boLULT.setAttributeValue("is_main", "Y"); + //承租人信息表 + boLULT.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid"));//流程ID + boLULT.setAttributeValue("CUSTOMER_ID", customerId);//承租人ID + boLULT.setAttributeValue("CUSTOMER_NAME", this.getAttribute("custname"));//承租人名称 + boLULT.setAttributeValue("PROJECT_ID", this.getAttribute("ProjectId"));//项目ID + boLULT.setAttributeValue("IS_MAIN", "Y");//是否是主承租人 + boLULT.setAttributeValue("INPUTUSERID", asUser.getUserID());//登记人 + boLULT.setAttributeValue("INPUTORGID", asUser.getOrgID());//登记部门 + boLULT.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());//登记时间,系统当前时间 //项目信息表 - String deptid = asUser.getOrgID() ; - if(deptid.startsWith("8006")) { - BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",deptid).getSingleResult(false); + String inputorgid = asUser.getOrgID() ; + if(inputorgid.startsWith("8006")) { + BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",inputorgid).getSingleResult(false); if(distributor_bo!=null) { bo.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));//经销商ID } @@ -111,7 +147,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { bo.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());//登记时间,系统当前时间 bo.setAttributeValue("BUSINESSTYPE", this.getAttribute("businessType"));//业务类型 bo.setAttributeValue("project_manage",asUser.getUserID());//项目经理 - bo.setAttributeValue("project_dept",deptid);//出单部门 + bo.setAttributeValue("project_dept",inputorgid);//出单部门 bo.setAttributeValue("PROJECT_STATUS","0");//项目状态 bm.saveObject(bo); @@ -119,6 +155,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { bmLULT.saveObject(boLULT); bmLECT.saveObject(bmLEC); bmLCIT.saveObject(bmLCI); + bmCI.saveObject(bmC); String sMessage="true"; return sMessage;