diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index f7b97fa2b..86416118a 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -1,1451 +1,1455 @@ -<%@page import="jbo.prd.BUSINESS_TYPE"%> -<%@page import="com.tenwa.reckon.util.TbBeanTools"%> -<%@page import="com.tenwa.reckon.bean.TabCalBean"%> -<%@page import="com.amarsoft.awe.control.model.Parameter"%> -<%@page import="com.amarsoft.app.base.util.DateHelper"%> -<%@page import="com.tenwa.util.SerialNumberUtil"%> -<%@page import="com.tenwa.reckon.product.ProductCondition"%> -<%@page import="com.amarsoft.app.util.ProductParamUtil"%> -<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> -<%@ page import="java.util.Vector" %> -<%@ page import="com.amarsoft.awe.dw.ui.validator.ValidateRule" %> -<%@ page import="com.tenwa.reckon.product.ASObjectWindowCalc" %> -<%@page import="com.amarsoft.are.jbo.BizObject"%> -<%@page import="com.amarsoft.are.jbo.JBOException"%> -<%@page import="com.amarsoft.are.jbo.JBOFactory"%> -<%@page import="jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP"%> -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> -<% - /*获取参数*/ - String flowunid = CurPage.getParameter("FlowUnid"); - String plannumber=CurPage.getParameter("plannumber"); - String productId=CurPage.getParameter("ProductId"); - String ishistory=CurPage.getParameter("IsHistory"); - String nodeNo=CurPage.getParameter("NodeNo"); - String RightType= CurPage.getParameter("RightType"); - String calType = CurPage.getParameter("calType"); - String carAttributes = CurPage.getParameter("carAttributes"); - String projectId=CurPage.getParameter("ProjectId"); - //判断是否为汽车业务 - boolean isCarProduct = "004".equals(productId) ? false : true; - /*获取参数*/ - /*根据参数判断 是否去数据库查询*/ - BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid); - if(productId==null){ - productId=flow.getAttribute("productId").getString(); - } - if(calType == null){ - calType = "proj_process"; - } - TabCalBean tcb=TbBeanTools.getTabInfo(calType); - String planCName=tcb.getPlanCName(); - //方案编号 - if(plannumber==null){ - if("pay_process".equals(calType)||"onHire_process".equals(calType)){ - BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid and PAYMENT_NUMBER is not null and length(PAYMENT_NUMBER)>0 ").setParameter("flowunid", flowunid).getSingleResult(false); - if(condtion!=null){ - plannumber=condtion.getAttribute(planCName).getString(); - } - }else{ - //安鹏只有多方案,没有单方案。(产品配置中方案信息prd0314停用) - // String planType=ProductParamUtil.getProductParameterValue(productId, "PRD0314", "planinformation"); - // if("SinglePlan".equals(planType)){ - BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); - if(condtion!=null){ - plannumber=condtion.getAttribute(planCName).getString(); - } - // } - } - } - //新增数据 自动生成方案编号 - if(plannumber==null){ - String sSerialType=""; - JBOTransaction tx=JBOFactory.createJBOTransaction(); - if("proj_process".equals(calType)){ - BizObject proj=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); - sSerialType=(proj==null)?"":proj.getAttribute("PROJECT_NO").getString(); - }else{ - BizObject contract=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); - sSerialType=(contract==null)?"":contract.getAttribute("CONTRACT_NO").getString(); - } - plannumber=SerialNumberUtil.getPlannumber(sSerialType,calType,tx); - tx.commit(); - } - /*根据参数判断 是否去数据库查询*/ - - String sTempletNo = "LoanSimulationBasicInfo";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - - Map> productRates = ProductParamUtil.getProductComponentType(productId, "PRD0350"); - Map productRate = productRates.get("product_rate"); - String termType = productRate.get("TermType")== null ? "" : productRate.get("TermType"); - String termMin = productRate.get("TermScope-MIN"); - String termMax = productRate.get("TermScope-MAX"); - if("02".equals(termType)){ - doTemp.setColumnAttribute("INCOME_NUMBER", "coleditstyle", "1"); - - } - /*设置字段事件*/ - doTemp.setHtmlEvent("SETTLE_METHOD", "onchange", "changeSettleMethod");//租金计算方式 - doTemp.setHtmlEvent("RENT_OR_RATE", "onchange", "rentOrRateChange");//租金推算方法 - doTemp.setHtmlEvent("INCOME_NUMBER_YEAR", "onchange", "changeIncomeNumber");//还款间隔 - doTemp.setHtmlEvent("INCOME_INTERVAL_MONTH", "onchange", "changeIntervalMonth");//还款间隔(月) - doTemp.setHtmlEvent("INCOME_NUMBER", "onchange", "changeNumber");//还款次数 - doTemp.setHtmlEvent("PERIOD_TYPE", "onchange", "changePeriod");//期初/期末 - doTemp.setHtmlEvent("GRACE", "onchange", "changeGrace");//宽限期RATTermID - doTemp.setHtmlEvent("RATE_FLOAT_TYPE", "onchange", "changeRateFloat");//利率计算方式 - doTemp.setHtmlEvent("BASE_RATE", "onchange", "changeBaseRate");//基准利率 - doTemp.setHtmlEvent("RATE_FLOAT_AMT", "onchange", "changeRateFloatAmt");//利率调整值 - doTemp.setHtmlEvent("CAUTION_MONEY", "onchange", "cautionMoney");//保证金 - doTemp.setHtmlEvent("CAUTION_MONEY_METHOD", "onchange", "cautionMoney");//保证金 - doTemp.setHtmlEvent("CAUTION_DEDUCTION_MONEY", "onchange", "cautionDeductionMoney");//保证金抵扣金额 - doTemp.setHtmlEvent("LEASE_AMT_DATE", "onchange", "changeLeaseAmtDate");//投放日 - doTemp.setHtmlEvent("START_DATE", "onchange", "changeStartDate");//起租日 - doTemp.setHtmlEvent("DEFAULTDUEDAY", "onchange", "changeLeaseAmtDate"); - doTemp.setHtmlEvent("FIRST_PLAN_DATE", "onchange", "changeFistPlanDate");//第一期计划日期 - doTemp.setHtmlEvent("CORPUS_RATIO", "onchange", "changeCorpusRatio");//期限内本金比例 - doTemp.setHtmlEvent("EQUIP_AMT", "onchange", "changgeCompare");//车价 - /*设置字段事件*/ - - /*设置模板属性*/ - Vector vali=new Vector(); - //费用规则 - ProductCondition pc=new ProductCondition(); - pc.getProductFundRules(doTemp, productId); - String calcRules=pc.getProductRules(doTemp, productId,vali); - - //获取产品名称 - BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID") - .setParameter("productID", productId).getSingleResult(false); - String productName = (bo==null)?"":bo.getAttribute("typename").getString(); - - //非车辆产品,融资额可编辑 - String productType = Sqlca.getString(new SqlObject("select attribute2 from business_type where typeno='"+productId+"'")); - if("car_product".equals(productType)){ - doTemp.setReadOnly("CLEAN_LEASE_MONEY", true); - }else if("business_product".equals(productType)){ - // doTemp.setVisible("CORPUS_RATIO", true); - // doTemp.setVisible("CORPUS", true); - // doTemp.setRequired("CORPUS_RATIO", true); - } - if("quoted_price".equals(calType)){//客户报价 流程号存的是客户主键 - doTemp.setDefaultValue("cust_id", flowunid); - } - doTemp.setColumnAttribute(planCName,"isipdate","1"); - doTemp.setJboClass(tcb.getCondition_tb()); - doTemp.setDefaultValue(planCName, plannumber); - doTemp.setDefaultValue("flowunid", flowunid); - doTemp.setDefaultValue("PRODUCT_NAME", productName); - doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'"); -/* if(null!=ishistory&&ishistory.equals("true")){ --这个是插入到历史表中的每一步数据。 - doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcCondtionInfoArachiveShow");//如果是历史则新显示历史数据 - } */ - /*设置模板属性*/ - - /*设置页面属性*/ - CurPage.getCurComp().setAttribute("RightType", null); - Parameter p=new Parameter("plannumber",plannumber); - Vector v=CurPage.parameterList; - v.add(p); - /*设置页面属性*/ - boolean flag=CurUser.hasRole("401"); - if(CurUser.hasRole("401")){ - doTemp.setVisible("CAUTION_MONEY_METHOD",false); - doTemp.setVisible("DISCOUNT", false); - // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); - } - if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ - doTemp.setVisible("YEAR_RATE", true); - doTemp.setVisible("RENT_RATIO",true); - } - - ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); - - - dwTemp.Style = "2";//freeform - if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ - dwTemp.ReadOnly = "1";//只读模式 - isShowButton=false; - }else{ - isShowButton=true; - } - dwTemp.setVali(vali); - dwTemp.setAttr("inputWidth","120"); - dwTemp.setAttr("spanWidth","107"); - dwTemp.setAttr("showRatio", true); - dwTemp.genHTMLObjectWindow(flowunid); - CurPage.getCurComp().setAttribute("RightType", RightType); - - String compClientID = request.getParameter("CompClientID"); - dwTemp.replaceColumn("condition_plan", "", CurPage.getObjectWindowOutput()); - //dwTemp.replaceColumn("even_subsection", "", CurPage.getObjectWindowOutput()); - //dwTemp.replaceColumn("knowing_config", "", CurPage.getObjectWindowOutput()); - String businessDate = DateHelper.getBusinessDate(); - - //获取对应车辆指导价 - BizObject bo1 = JBOFactory.createBizObjectQuery(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,"PROJECT_ID=:projectId") - .setParameter("projectId",projectId).getSingleResult(false); - String nowTotal = (bo1==null)?"":bo1.getAttribute("NOW_TOTAL").getString(); - String sButtons[][] = { - //{"true","All","Button","重置","重置","reloadSelf()","","","",""}, - {"true","All","Button","租金测算","租金测算","saveRecord()","","","","btn_icon_save"}, - // {((isCarProduct) && ("proj_process".equals(calType)||"cont_process".equals(calType)))?"true":"false","","Button","引入客户报价","引入客户报价","importCustomerQuot()","","","","btn_icon_edit"} - }; -%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> - -<%@ include file="/Frame/resources/include/include_end.jspf"%> +<%@page import="jbo.prd.BUSINESS_TYPE"%> +<%@page import="com.tenwa.reckon.util.TbBeanTools"%> +<%@page import="com.tenwa.reckon.bean.TabCalBean"%> +<%@page import="com.amarsoft.awe.control.model.Parameter"%> +<%@page import="com.amarsoft.app.base.util.DateHelper"%> +<%@page import="com.tenwa.util.SerialNumberUtil"%> +<%@page import="com.tenwa.reckon.product.ProductCondition"%> +<%@page import="com.amarsoft.app.util.ProductParamUtil"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="java.util.Vector" %> +<%@ page import="com.amarsoft.awe.dw.ui.validator.ValidateRule" %> +<%@ page import="com.tenwa.reckon.product.ASObjectWindowCalc" %> +<%@page import="com.amarsoft.are.jbo.BizObject"%> +<%@page import="com.amarsoft.are.jbo.JBOException"%> +<%@page import="com.amarsoft.are.jbo.JBOFactory"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> +<% + /*获取参数*/ + String flowunid = CurPage.getParameter("FlowUnid"); + String plannumber=CurPage.getParameter("plannumber"); + String productId=CurPage.getParameter("ProductId"); + String ishistory=CurPage.getParameter("IsHistory"); + String nodeNo=CurPage.getParameter("NodeNo"); + String RightType= CurPage.getParameter("RightType"); + String calType = CurPage.getParameter("calType"); + String carAttributes = CurPage.getParameter("carAttributes"); + String projectId=CurPage.getParameter("ProjectId"); + //判断是否为汽车业务 + boolean isCarProduct = "004".equals(productId) ? false : true; + /*获取参数*/ + /*根据参数判断 是否去数据库查询*/ + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid); + if(productId==null){ + productId=flow.getAttribute("productId").getString(); + } + if(calType == null){ + calType = "proj_process"; + } + TabCalBean tcb=TbBeanTools.getTabInfo(calType); + String planCName=tcb.getPlanCName(); + //方案编号 + if(plannumber==null){ + if("pay_process".equals(calType)||"onHire_process".equals(calType)){ + BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid and PAYMENT_NUMBER is not null and length(PAYMENT_NUMBER)>0 ").setParameter("flowunid", flowunid).getSingleResult(false); + if(condtion!=null){ + plannumber=condtion.getAttribute(planCName).getString(); + } + }else{ + //安鹏只有多方案,没有单方案。(产品配置中方案信息prd0314停用) + // String planType=ProductParamUtil.getProductParameterValue(productId, "PRD0314", "planinformation"); + // if("SinglePlan".equals(planType)){ + BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + if(condtion!=null){ + plannumber=condtion.getAttribute(planCName).getString(); + } + // } + } + } + //新增数据 自动生成方案编号 + if(plannumber==null){ + String sSerialType=""; + JBOTransaction tx=JBOFactory.createJBOTransaction(); + if("proj_process".equals(calType)){ + BizObject proj=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + sSerialType=(proj==null)?"":proj.getAttribute("PROJECT_NO").getString(); + }else{ + BizObject contract=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + sSerialType=(contract==null)?"":contract.getAttribute("CONTRACT_NO").getString(); + } + plannumber=SerialNumberUtil.getPlannumber(sSerialType,calType,tx); + tx.commit(); + } + /*根据参数判断 是否去数据库查询*/ + + String sTempletNo = "LoanSimulationBasicInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + + Map> productRates = ProductParamUtil.getProductComponentType(productId, "PRD0350"); + Map productRate = productRates.get("product_rate"); + String termType = productRate.get("TermType")== null ? "" : productRate.get("TermType"); + String termMin = productRate.get("TermScope-MIN"); + String termMax = productRate.get("TermScope-MAX"); + if("02".equals(termType)){ + doTemp.setColumnAttribute("INCOME_NUMBER", "coleditstyle", "1"); + + } + /*设置字段事件*/ + doTemp.setHtmlEvent("SETTLE_METHOD", "onchange", "changeSettleMethod");//租金计算方式 + doTemp.setHtmlEvent("RENT_OR_RATE", "onchange", "rentOrRateChange");//租金推算方法 + doTemp.setHtmlEvent("INCOME_NUMBER_YEAR", "onchange", "changeIncomeNumber");//还款间隔 + doTemp.setHtmlEvent("INCOME_INTERVAL_MONTH", "onchange", "changeIntervalMonth");//还款间隔(月) + doTemp.setHtmlEvent("INCOME_NUMBER", "onchange", "changeNumber");//还款次数 + doTemp.setHtmlEvent("PERIOD_TYPE", "onchange", "changePeriod");//期初/期末 + doTemp.setHtmlEvent("GRACE", "onchange", "changeGrace");//宽限期RATTermID + doTemp.setHtmlEvent("RATE_FLOAT_TYPE", "onchange", "changeRateFloat");//利率计算方式 + doTemp.setHtmlEvent("BASE_RATE", "onchange", "changeBaseRate");//基准利率 + doTemp.setHtmlEvent("RATE_FLOAT_AMT", "onchange", "changeRateFloatAmt");//利率调整值 + doTemp.setHtmlEvent("CAUTION_MONEY", "onchange", "cautionMoney");//保证金 + doTemp.setHtmlEvent("CAUTION_MONEY_METHOD", "onchange", "cautionMoney");//保证金 + doTemp.setHtmlEvent("CAUTION_DEDUCTION_MONEY", "onchange", "cautionDeductionMoney");//保证金抵扣金额 + doTemp.setHtmlEvent("LEASE_AMT_DATE", "onchange", "changeLeaseAmtDate");//投放日 + doTemp.setHtmlEvent("START_DATE", "onchange", "changeStartDate");//起租日 + doTemp.setHtmlEvent("DEFAULTDUEDAY", "onchange", "changeLeaseAmtDate"); + doTemp.setHtmlEvent("FIRST_PLAN_DATE", "onchange", "changeFistPlanDate");//第一期计划日期 + doTemp.setHtmlEvent("CORPUS_RATIO", "onchange", "changeCorpusRatio");//期限内本金比例 + doTemp.setHtmlEvent("EQUIP_AMT", "onchange", "changgeCompare");//车价 + /*设置字段事件*/ + + /*设置模板属性*/ + Vector vali=new Vector(); + //费用规则 + ProductCondition pc=new ProductCondition(); + pc.getProductFundRules(doTemp, productId); + String calcRules=pc.getProductRules(doTemp, productId,vali); + + //获取产品名称 + BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID") + .setParameter("productID", productId).getSingleResult(false); + String productName = (bo==null)?"":bo.getAttribute("typename").getString(); + + //非车辆产品,融资额可编辑 + String productType = Sqlca.getString(new SqlObject("select attribute2 from business_type where typeno='"+productId+"'")); + if("car_product".equals(productType)){ + doTemp.setReadOnly("CLEAN_LEASE_MONEY", true); + }else if("business_product".equals(productType)){ + // doTemp.setVisible("CORPUS_RATIO", true); + // doTemp.setVisible("CORPUS", true); + // doTemp.setRequired("CORPUS_RATIO", true); + } + if("quoted_price".equals(calType)){//客户报价 流程号存的是客户主键 + doTemp.setDefaultValue("cust_id", flowunid); + } + doTemp.setColumnAttribute(planCName,"isipdate","1"); + doTemp.setJboClass(tcb.getCondition_tb()); + doTemp.setDefaultValue(planCName, plannumber); + doTemp.setDefaultValue("flowunid", flowunid); + doTemp.setDefaultValue("PRODUCT_NAME", productName); + doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'"); +/* if(null!=ishistory&&ishistory.equals("true")){ --这个是插入到历史表中的每一步数据。 + doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcCondtionInfoArachiveShow");//如果是历史则新显示历史数据 + } */ + /*设置模板属性*/ + + /*设置页面属性*/ + CurPage.getCurComp().setAttribute("RightType", null); + Parameter p=new Parameter("plannumber",plannumber); + Vector v=CurPage.parameterList; + v.add(p); + /*设置页面属性*/ + boolean flag=CurUser.hasRole("401"); + if(CurUser.hasRole("401")){ + doTemp.setVisible("CAUTION_MONEY_METHOD",false); + doTemp.setVisible("DISCOUNT", false); + // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); + } + if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ + doTemp.setVisible("YEAR_RATE", true); + doTemp.setVisible("RENT_RATIO",true); + } + + ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); + + + dwTemp.Style = "2";//freeform + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ + dwTemp.ReadOnly = "1";//只读模式 + isShowButton=false; + }else{ + isShowButton=true; + } + dwTemp.setVali(vali); + dwTemp.setAttr("inputWidth","120"); + dwTemp.setAttr("spanWidth","107"); + dwTemp.setAttr("showRatio", true); + dwTemp.genHTMLObjectWindow(flowunid); + CurPage.getCurComp().setAttribute("RightType", RightType); + + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("condition_plan", "", CurPage.getObjectWindowOutput()); + //dwTemp.replaceColumn("even_subsection", "", CurPage.getObjectWindowOutput()); + //dwTemp.replaceColumn("knowing_config", "", CurPage.getObjectWindowOutput()); + String businessDate = DateHelper.getBusinessDate(); + + //获取对应车辆指导价 + BizObject bo1 = JBOFactory.createBizObjectQuery(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,"PROJECT_ID=:projectId") + .setParameter("projectId",projectId).getSingleResult(false); + String nowTotal = (bo1==null)?"":bo1.getAttribute("NOW_TOTAL").getString(); + String sButtons[][] = { + //{"true","All","Button","重置","重置","reloadSelf()","","","",""}, + {"true","All","Button","租金测算","租金测算","saveRecord()","","","","btn_icon_save"}, + // {((isCarProduct) && ("proj_process".equals(calType)||"cont_process".equals(calType)))?"true":"false","","Button","引入客户报价","引入客户报价","importCustomerQuot()","","","","btn_icon_edit"} + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo_afterloan.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo_afterloan.jsp new file mode 100644 index 000000000..d9af77031 --- /dev/null +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo_afterloan.jsp @@ -0,0 +1,1458 @@ +<%@page import="jbo.prd.BUSINESS_TYPE"%> +<%@page import="com.tenwa.reckon.util.TbBeanTools"%> +<%@page import="com.tenwa.reckon.bean.TabCalBean"%> +<%@page import="com.amarsoft.awe.control.model.Parameter"%> +<%@page import="com.amarsoft.app.base.util.DateHelper"%> +<%@page import="com.tenwa.util.SerialNumberUtil"%> +<%@page import="com.tenwa.reckon.product.ProductCondition"%> +<%@page import="com.amarsoft.app.util.ProductParamUtil"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ page import="java.util.Vector" %> +<%@ page import="com.amarsoft.awe.dw.ui.validator.ValidateRule" %> +<%@ page import="com.tenwa.reckon.product.ASObjectWindowCalc" %> +<%@page import="com.amarsoft.are.jbo.BizObject"%> +<%@page import="com.amarsoft.are.jbo.JBOException"%> +<%@page import="com.amarsoft.are.jbo.JBOFactory"%> +<%@page import="jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> +<% + /*获取参数*/ + String flowunid = CurPage.getParameter("FlowUnid"); + String plannumber=CurPage.getParameter("plannumber"); + String productId=CurPage.getParameter("ProductId"); + String ishistory=CurPage.getParameter("IsHistory"); + String nodeNo=CurPage.getParameter("NodeNo"); + String RightType= CurPage.getParameter("RightType"); + String calType = CurPage.getParameter("calType"); + String carAttributes = CurPage.getParameter("carAttributes"); + String projectId=CurPage.getParameter("ProjectId"); + String flowNo = CurPage.getParameter("FlowNo"); + if("ydzl".equals(CurPage.getParameter("flowname"))) {//邮递资料流程 + flowunid = Sqlca.getString("select b.flow_unid from LC_CALC_CONDITION_TEMP o ,flow_bussiness_object b " + + "where o.FLOWUNID=b.flow_unid and b.PROJ_id='" + projectId + "' and flow_name='合同制作流程' limit 1"); + }else{ + flowunid = Sqlca.getString("select flow_unid from LC_CALC_CONDITION_TEMP o ,flow_bussiness_object b " + + "where o.FLOWUNID=b.flow_unid and b.contract_id=(select contract_id from flow_bussiness_object where flow_unid='"+flowunid+"') limit 1"); + } + //判断是否为汽车业务 + boolean isCarProduct = "004".equals(productId) ? false : true; + /*获取参数*/ + /*根据参数判断 是否去数据库查询*/ + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid); + if(productId==null){ + productId=flow.getAttribute("productId").getString(); + } + if(calType == null){ + calType = "proj_process"; + } + TabCalBean tcb=TbBeanTools.getTabInfo(calType); + String planCName=tcb.getPlanCName(); + //方案编号 + if(plannumber==null){ + if("pay_process".equals(calType)||"onHire_process".equals(calType)){ + BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid and PAYMENT_NUMBER is not null and length(PAYMENT_NUMBER)>0 ").setParameter("flowunid", flowunid).getSingleResult(false); + if(condtion!=null){ + plannumber=condtion.getAttribute(planCName).getString(); + } + }else{ + //安鹏只有多方案,没有单方案。(产品配置中方案信息prd0314停用) + // String planType=ProductParamUtil.getProductParameterValue(productId, "PRD0314", "planinformation"); + // if("SinglePlan".equals(planType)){ + BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + if(condtion!=null){ + plannumber=condtion.getAttribute(planCName).getString(); + } + // } + } + } + //新增数据 自动生成方案编号 + if(plannumber==null){ + String sSerialType=""; + JBOTransaction tx=JBOFactory.createJBOTransaction(); + if("proj_process".equals(calType)){ + BizObject proj=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + sSerialType=(proj==null)?"":proj.getAttribute("PROJECT_NO").getString(); + }else{ + BizObject contract=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); + sSerialType=(contract==null)?"":contract.getAttribute("CONTRACT_NO").getString(); + } + plannumber=SerialNumberUtil.getPlannumber(sSerialType,calType,tx); + tx.commit(); + } + /*根据参数判断 是否去数据库查询*/ + + String sTempletNo = "LoanSimulationBasicInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + + Map> productRates = ProductParamUtil.getProductComponentType(productId, "PRD0350"); + Map productRate = productRates.get("product_rate"); + String termType = productRate.get("TermType")== null ? "" : productRate.get("TermType"); + String termMin = productRate.get("TermScope-MIN"); + String termMax = productRate.get("TermScope-MAX"); + if("02".equals(termType)){ + doTemp.setColumnAttribute("INCOME_NUMBER", "coleditstyle", "1"); + + } + /*设置字段事件*/ + doTemp.setHtmlEvent("SETTLE_METHOD", "onchange", "changeSettleMethod");//租金计算方式 + doTemp.setHtmlEvent("RENT_OR_RATE", "onchange", "rentOrRateChange");//租金推算方法 + doTemp.setHtmlEvent("INCOME_NUMBER_YEAR", "onchange", "changeIncomeNumber");//还款间隔 + doTemp.setHtmlEvent("INCOME_INTERVAL_MONTH", "onchange", "changeIntervalMonth");//还款间隔(月) + doTemp.setHtmlEvent("INCOME_NUMBER", "onchange", "changeNumber");//还款次数 + doTemp.setHtmlEvent("PERIOD_TYPE", "onchange", "changePeriod");//期初/期末 + doTemp.setHtmlEvent("GRACE", "onchange", "changeGrace");//宽限期RATTermID + doTemp.setHtmlEvent("RATE_FLOAT_TYPE", "onchange", "changeRateFloat");//利率计算方式 + doTemp.setHtmlEvent("BASE_RATE", "onchange", "changeBaseRate");//基准利率 + doTemp.setHtmlEvent("RATE_FLOAT_AMT", "onchange", "changeRateFloatAmt");//利率调整值 + doTemp.setHtmlEvent("CAUTION_MONEY", "onchange", "cautionMoney");//保证金 + doTemp.setHtmlEvent("CAUTION_MONEY_METHOD", "onchange", "cautionMoney");//保证金 + doTemp.setHtmlEvent("CAUTION_DEDUCTION_MONEY", "onchange", "cautionDeductionMoney");//保证金抵扣金额 + doTemp.setHtmlEvent("LEASE_AMT_DATE", "onchange", "changeLeaseAmtDate");//投放日 + doTemp.setHtmlEvent("START_DATE", "onchange", "changeStartDate");//起租日 + doTemp.setHtmlEvent("DEFAULTDUEDAY", "onchange", "changeLeaseAmtDate"); + doTemp.setHtmlEvent("FIRST_PLAN_DATE", "onchange", "changeFistPlanDate");//第一期计划日期 + doTemp.setHtmlEvent("CORPUS_RATIO", "onchange", "changeCorpusRatio");//期限内本金比例 + doTemp.setHtmlEvent("EQUIP_AMT", "onchange", "changgeCompare");//车价 + /*设置字段事件*/ + + /*设置模板属性*/ + Vector vali=new Vector(); + //费用规则 + ProductCondition pc=new ProductCondition(); + pc.getProductFundRules(doTemp, productId); + String calcRules=pc.getProductRules(doTemp, productId,vali); + + //获取产品名称 + BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID") + .setParameter("productID", productId).getSingleResult(false); + String productName = (bo==null)?"":bo.getAttribute("typename").getString(); + + //非车辆产品,融资额可编辑 + String productType = Sqlca.getString(new SqlObject("select attribute2 from business_type where typeno='"+productId+"'")); + if("car_product".equals(productType)){ + doTemp.setReadOnly("CLEAN_LEASE_MONEY", true); + }else if("business_product".equals(productType)){ + // doTemp.setVisible("CORPUS_RATIO", true); + // doTemp.setVisible("CORPUS", true); + // doTemp.setRequired("CORPUS_RATIO", true); + } + if("quoted_price".equals(calType)){//客户报价 流程号存的是客户主键 + doTemp.setDefaultValue("cust_id", flowunid); + } + doTemp.setColumnAttribute(planCName,"isipdate","1"); + doTemp.setJboClass(tcb.getCondition_tb()); + doTemp.setDefaultValue(planCName, plannumber); + doTemp.setDefaultValue("flowunid", flowunid); + doTemp.setDefaultValue("PRODUCT_NAME", productName); + doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'"); +/* if(null!=ishistory&&ishistory.equals("true")){ --这个是插入到历史表中的每一步数据。 + doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcCondtionInfoArachiveShow");//如果是历史则新显示历史数据 + } */ + /*设置模板属性*/ + + /*设置页面属性*/ + CurPage.getCurComp().setAttribute("RightType", null); + Parameter p=new Parameter("plannumber",plannumber); + Vector v=CurPage.parameterList; + v.add(p); + /*设置页面属性*/ + boolean flag=CurUser.hasRole("401"); + if(CurUser.hasRole("401")){ + doTemp.setVisible("CAUTION_MONEY_METHOD",false); + doTemp.setVisible("DISCOUNT", false); + // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); + } + if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ + doTemp.setVisible("YEAR_RATE", true); + doTemp.setVisible("RENT_RATIO",true); + } + + ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); + + + dwTemp.Style = "2";//freeform + if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))||"ContractOnhireCarChangeFlow".equals(flowNo)){ + dwTemp.ReadOnly = "1";//只读模式 + isShowButton=false; + RightType="ReadOnly"; + }else{ + isShowButton=true; + } + dwTemp.setVali(vali); + dwTemp.setAttr("inputWidth","120"); + dwTemp.setAttr("spanWidth","107"); + dwTemp.setAttr("showRatio", true); + dwTemp.genHTMLObjectWindow(flowunid); + CurPage.getCurComp().setAttribute("RightType", RightType); + + String compClientID = request.getParameter("CompClientID"); + dwTemp.replaceColumn("condition_plan", "", CurPage.getObjectWindowOutput()); + //dwTemp.replaceColumn("even_subsection", "", CurPage.getObjectWindowOutput()); + //dwTemp.replaceColumn("knowing_config", "", CurPage.getObjectWindowOutput()); + String businessDate = DateHelper.getBusinessDate(); + + //获取对应车辆指导价 + BizObject bo1 = JBOFactory.createBizObjectQuery(LB_EQUIPMENT_CAR_TEMP.CLASS_NAME,"PROJECT_ID=:projectId") + .setParameter("projectId",projectId).getSingleResult(false); + String nowTotal = (bo1==null)?"":bo1.getAttribute("NOW_TOTAL").getString(); + + String sButtons[][] = { + //{"true","All","Button","重置","重置","reloadSelf()","","","",""}, + //{"true","All","Button","租金测算","租金测算","saveRecord()","","","","btn_icon_save"}, + // {((isCarProduct) && ("proj_process".equals(calType)||"cont_process".equals(calType)))?"true":"false","","Button","引入客户报价","引入客户报价","importCustomerQuot()","","","","btn_icon_edit"} + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Common/WorkFlow/FlowSubmitDialog.jsp b/WebContent/Common/WorkFlow/FlowSubmitDialog.jsp index 26f243a18..56aa2fb77 100644 --- a/WebContent/Common/WorkFlow/FlowSubmitDialog.jsp +++ b/WebContent/Common/WorkFlow/FlowSubmitDialog.jsp @@ -19,6 +19,18 @@ String flowNo = ft.FlowNo; String phaseNo=ft.PhaseNo; String flowState = ft.FlowState; + + //获取信审意见 只要有一个意见为拒绝的,就不允许直接结束 + String choice=""; + if ("BusinessApplyFlow".equals(flowNo)&&("0040".equals(phaseNo)||"0050".equals(phaseNo))){ + choice = Sqlca.getString("select CONCAT(IFNULL(v.FIRSTCHOICE,','),',',IFNULL(v.SECONDCHOICE,','),',',IFNULL(v.THIRDCHOICE,',')) choice" + + " from VI_PROJECTINFO_BUSINESS v, flow_task t where t.serialno='"+taskNo+"' and v.FLOWUNID=t.objectno"); + if (choice.contains("0010")){ + choice="审批意见为拒绝,流程不允许直接结束!"; + }else{ + choice=""; + } + } //会签历史纪录阶段号问题 tx.commit(); @@ -262,6 +274,16 @@ var readUserId = []; $("input[name='phaseactionReader']:checked").each(function(){readUserId.push($(this).val());}); readUserIds = readUserId.join("@"); + var flowNo = "<%=flowNo%>"; + var phaseNo= "<%=phaseNo%>";//phaseOpinion 8000是否决 1000是结束 + var choice= "<%=choice%>"; + //alert(flowNo+','+phaseNo+','+phaseOpinion); + if ("BusinessApplyFlow"==flowNo&&("0040"==phaseNo||"0050"==phaseNo)){ + if(choice!=""&&phaseOpinion=="1000"){ + alert(choice); + return; + } + } var confirmStr="确认提交到下一步?"; if (!confirm(confirmStr)) return; diff --git a/WebContent/Common/WorkFlow/PaymentApplyViewFlowOpinions.jsp b/WebContent/Common/WorkFlow/PaymentApplyViewFlowOpinions.jsp new file mode 100644 index 000000000..d55801bb3 --- /dev/null +++ b/WebContent/Common/WorkFlow/PaymentApplyViewFlowOpinions.jsp @@ -0,0 +1,119 @@ +<%@page import="com.tenwa.httpclient.resources.QuartzPropertiesUtil"%> +<%@ page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT" %> +<%@ page import="org.apache.commons.lang3.StringUtils" %> +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBeginMD.jsp"%><% +/* + * Content: 查看审批详情 + * Input Param: + * ObjectType: 对象类型 + * CreditApply: 申请 + * ApproveApply: 最终审批意见 + * PutOutApply: 出帐 + * ObjectNo: 对象编号 + * FlowNo:流程号 + * PhaseNo:阶段号 + * History Log: zywei 2006/02/22 增加查看自己签署的意见(背靠背签署) + */ + //获取页面参数 + String contractId = CurPage.getParameter("ContractId"); + String sObjectNo = ""; + String sObjectType = "FlowDefaultObject"; + System.out.println("contractId=" + contractId); + //将空值转化为空字符串 + if(contractId==null)contractId=""; + BizObjectManager ftManager = JBOFactory.getBizObjectManager("jbo.sys.FLOW_TASK"); + BizObjectManager fbo = JBOFactory.getBizObjectManager(FLOW_BUSSINESS_OBJECT.CLASS_NAME); + List opinionList = new ArrayList<>(); + BizObject fboRes = fbo.createQuery("flow_name=:flow_name and contract_id=:contract_id").setParameter("contract_id", contractId).setParameter("flow_name", "付款申请(汽车)").getSingleResult(false); + if(null != fboRes){ + sObjectNo = fboRes.getAttribute("flow_unid").getString(); + System.out.println("objectno=" + sObjectNo); + if(StringUtils.isNotEmpty(sObjectNo)){ + String sSql = " select O.serialno,O.FlowNo,O.PhaseNo,O.PhaseName,O.UserName,O.OrgName,O.PhaseAction,O.BeginTime, "+ + " O.EndTime,O.PhaseChoice,FO.PhaseOpinion,FO.PhaseOpinion1,FO.PhaseOpinion2,FO.PhaseOpinion3, "+ + " FM.Attribute3 as v.OpinionRightType,FM.Attribute4 as v.OpinionRightPhases,FM.Attribute5 as v.OpinionRightRoles "+ + " ,v.getUserName(fo.inputuser) as v.optionUser,v.getOrgName(fo.inputorg) as v.optionOrg,fo.inputtime from O,jbo.sys.FLOW_OPINION FO,jbo.sys.FLOW_MODEL FM "+ + " where O.Serialno=FO.SerialNo and O.FlowNo=FM.FlowNo and O.PhaseNo=FM.PhaseNo "+ + " and (FO.PhaseOpinion is not null) and O.ObjectNo=:ObjectNo ORDER BY O.BeginTime desc "; + opinionList = ftManager.createQuery(sSql).setParameter("ObjectNo",sObjectNo).getResultList(false); + } + } +%> + + +审批详情 + + + + <% + int iCountRecord = 0; + boolean flag = true; + for (BizObject opinionBo : opinionList){ + iCountRecord++; + %> + + + + + + + <% + } + %> +
+ + + + + + + + + + +
+ 步骤名称:')"><%=DataConvert.toString(opinionBo.getAttribute("PhaseName").getString())%>   + <% if(flag) {%> + 处理人所属机构:安鹏租赁   + <%} else {%> + 处理人:<%=DataConvert.toString(opinionBo.getAttribute("optionUser").getString())%>   + 处理人所属机构:<%=DataConvert.toString(opinionBo.getAttribute("optionOrg").getString())%>   + <%}%> + 意见填写时间:<%=DataConvert.toString(opinionBo.getAttribute("inputtime").getString())%>   +
收到时间:<%=DataConvert.toString(opinionBo.getAttribute("BeginTime").getString())%> + 完成时间:<%=DataConvert.toString(opinionBo.getAttribute("EndTime").getString())%>
+ +
+
  +
+ + +<% + //如果没有意见或者没有找到对应的对象,则自动关闭 + if (iCountRecord==0||sObjectNo.equals("")){ +%> +目前此业务还没有您可以查看的审批意见! +<% + } +%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp index 2a5e5f3c6..3362e52a3 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail.jsp @@ -1,42 +1,49 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% - /* - Author: undefined 2018-06-27 - Content: 示例详情页面 - History Log: - */ - String sPrevUrl = CurPage.getParameter("PrevUrl"); - if(sPrevUrl == null) sPrevUrl = ""; - - String sTempletNo = "ERPEditInfo";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - doTemp.setRequired("EXPNUMBER", true); - doTemp.setRequired("EXPCOMPANY", true); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - dwTemp.Style = "2";//freeform - //dwTemp.ReadOnly = "-2";//只读模式 - dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo")); - - String sButtons[][] = { - {"true","All","Button","保存","保存所有修改","recordsave()","","","",""}, - {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} - }; - sButtonPosition = "south"; -%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> - +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-27 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "ERPEditInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setRequired("EXPNUMBER", true); + doTemp.setRequired("EXPCOMPANY", true); + doTemp.setRequired("EXPSTRATDATE", true); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo")); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","recordsave()","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail_gd.jsp b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail_gd.jsp new file mode 100644 index 000000000..fee57f5ac --- /dev/null +++ b/WebContent/Tenwa/Apzl/FileUpload/ApproveDetail_gd.jsp @@ -0,0 +1,72 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-27 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + String flowunid = CurPage.getParameter("ObjectNo"); + String PhaseNo = CurPage.getParameter("PhaseNo"); + if(sPrevUrl == null) sPrevUrl = ""; + + String sTempletNo = "ERPEditInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setReadOnly("EXPNUMBER", true); + doTemp.setReadOnly("EXPCOMPANY", true); + doTemp.setReadOnly("EXPSTRATDATE", true); + doTemp.setRequired("EXPNUMBER", true); + doTemp.setRequired("EXPCOMPANY", true); + doTemp.setRequired("EXPSTRATDATE", true); + doTemp.setRequired("EXPENDDATE", true); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo")); + + ASResultSet rs = Sqlca.getASResultSet("select O.EXPNUMBER,O.EXPCOMPANY,O.EXPSTRATDATE from LB_FILE_MAILARCHIVING_INFO_TEMP O " + + "where FLOWUNID = '"+flowunid+"' AND O.EXPNUMBER IS NOT NULL LIMIT 1 " ); + rs.next(); + String EXPNUMBER = rs.getString("EXPNUMBER"); + String EXPCOMPANY = rs.getString("EXPCOMPANY"); + String EXPSTRATDATE = rs.getString("EXPSTRATDATE"); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","recordsave()","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp index b498ab8a2..78b39a999 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/LBnotAllMailHndHandoverTempList.jsp @@ -45,6 +45,10 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } } //}) @@ -63,6 +67,10 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } },"邮寄详情"); } @@ -71,6 +79,7 @@ AsDialog.PopView(sUrl,"","dialogWidth=500px;dialogHeight=200px;",function(sReturn){ var EXPNUMBER = ""; var EXPCOMPANY = ""; + var EXPSTRATDATE = ""; var selectedRow = getItemValueArray(0,'contract_id'); selectedRow = selectedRow+""; selectedRow = selectedRow.replace(/,/g,'@'); @@ -80,8 +89,12 @@ if(sReturn.EXPCOMPANY){ EXPCOMPANY = sReturn.EXPCOMPANY; } + if(sReturn.EXPSTRATDATE){ + EXPSTRATDATE = sReturn.EXPSTRATDATE; + } + if(EXPNUMBER!=""&&EXPCOMPANY!=""){ - var sParams = "EXPNUMBER="+EXPNUMBER+",EXPCOMPANY="+EXPCOMPANY+",flowunid=<%=flowunid%>,contractid="+selectedRow; + var sParams = "EXPNUMBER="+EXPNUMBER+",EXPCOMPANY="+EXPCOMPANY+",EXPSTRATDATE="+EXPSTRATDATE+",flowunid=<%=flowunid%>,contractid="+selectedRow; var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.DocMailAction","saveERPInfo",sParams); if('success'==sReturnInfo){ alert("配置成功!"); @@ -98,6 +111,9 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } },'快递信息'); } @@ -120,6 +136,9 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } },"邮寄详情"); } @@ -139,9 +158,34 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } },"邮寄详情"); } + function viewBusinessConditions(i){ + var contract_id=getItemValue(0, i, "PROJECT_ID"); + var ProductId=getItemValue(0, i, "PRODUCT_ID"); + var id=getItemValue(0, i, "id"); + var sUrl="/Accounting/LoanSimulation/LoanBasicInfo_afterloan.jsp"; + AsDialog.PopView(sUrl,"ProjectId="+contract_id+"&ProductId="+ProductId+"&flowname=ydzl&PhaseNo=<%=CurPage.getParameter("PhaseNo")%>&id="+id+"&type=his","dialogWidth=1200px;dialogHeight=600px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){reloadSelf(); + for(var i=0;i邮寄明细'; + } + if(getObj(0,i,"opinion")!=null&&getObj(0,i,"opinion")!="null"){ + getObj(0,i,"opinion").innerHTML='签署意见'; + } + if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ + getObj(0,i,"filelist").innerHTML='历史附件查看'; + } + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } + } + },"商务条件"); + } function deleteRecord(){ var sUrl = ""; /* var selectedRow = getItemValueArray(0,'contract_id'); @@ -167,6 +211,9 @@ if(getObj(0,i,"filelist")!=null&&getObj(0,i,"filelist")!="null"){ getObj(0,i,"filelist").innerHTML='历史附件查看'; } + if(getObj(0,i,"BusinessConditions")!=null&&getObj(0,i,"BusinessConditions")!="null"){ + getObj(0,i,"BusinessConditions").innerHTML='商务条件'; + } } } diff --git a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp index ad38d8add..a1fd387c3 100644 --- a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp +++ b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp @@ -1,120 +1,126 @@ -<%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% - /* - Author: undefined 2018-08-09 - Content: 示例详情页面 - History Log: - */ - String sPrevUrl = CurPage.getParameter("PrevUrl"); - if(sPrevUrl == null) sPrevUrl = ""; - String inputuserid = CurUser.getUserID(); - String inputusername = CurUser.getUserName(); - String inputorgid = CurOrg.getOrgID(); - String inputorgname = CurOrg.getOrgName(); - - String FlowUnid = CurPage.getParameter("FlowUnid"); - String ContractId = CurPage.getParameter("ContractId"); - String ContractNumber = CurPage.getParameter("FlowKey"); - - String framenumber = Sqlca.getString("select FRAME_NUMBER from lb_equipment_car where contract_id ='"+ContractId+"'"); - String license_plate_number = Sqlca.getString("select license_plate_number from lb_equipment_car where contract_id ='"+ContractId+"'"); - //System.out.print(framenumber); - String sTempletNo = "LbCarLicensePlateInfoTemp";//--模板号-- - ASObjectModel doTemp = new ASObjectModel(sTempletNo); - doTemp.setDefaultValue("plate_number", license_plate_number); - doTemp.setHtmlEvent("is_pledge", "onchange", "ispledge"); - doTemp.setHtmlEvent("is_delay", "onchange", "isdelay"); - //doTemp.setColTips("", "测试"); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); - dwTemp.Style = "2";//freeform - /* if("0020".equals(CurPage.getParameter("PhaseNo"))){ - dwTemp.ReadOnly = "-2";//只读模式 - } */ - dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); - String sButtons[][]=null; -/* if("0020".equals(CurPage.getParameter("PhaseNo"))){ - sButtons =new String[][] { - //{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, - {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} - }; - }else{ */ - sButtons =new String[][] { - {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, - {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} - }; - // } - sButtonPosition = "south"; -%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> - +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-08-09 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = ""; + String inputuserid = CurUser.getUserID(); + String inputusername = CurUser.getUserName(); + String inputorgid = CurOrg.getOrgID(); + String inputorgname = CurOrg.getOrgName(); + + String FlowUnid = CurPage.getParameter("FlowUnid"); + String ContractId = CurPage.getParameter("ContractId"); + String ContractNumber = CurPage.getParameter("FlowKey"); + + String framenumber = Sqlca.getString("select FRAME_NUMBER from lb_equipment_car where contract_id ='"+ContractId+"'"); + String license_plate_number = Sqlca.getString("select license_plate_number from lb_equipment_car where contract_id ='"+ContractId+"'"); + //System.out.print(framenumber); + String sTempletNo = "LbCarLicensePlateInfoTemp";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setDefaultValue("plate_number", license_plate_number); + doTemp.setHtmlEvent("is_pledge", "onchange", "ispledge"); + doTemp.setHtmlEvent("is_delay", "onchange", "isdelay"); + //doTemp.setColTips("", "测试"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + /* if("0020".equals(CurPage.getParameter("PhaseNo"))){ + dwTemp.ReadOnly = "-2";//只读模式 + } */ + dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); + String sButtons[][]=null; +/* if("0020".equals(CurPage.getParameter("PhaseNo"))){ + sButtons =new String[][] { + //{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + }else{ */ + sButtons =new String[][] { + {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, + {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + }; + // } + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp b/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp index 90147e99f..e04cd100a 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp +++ b/WebContent/Tenwa/Core/InvoiceManager/FundPaymentInvoice/LbInvoiceInfoTemp.jsp @@ -21,7 +21,8 @@ dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 dwTemp.genHTMLObjectWindow(CurPage.getParameter("ContractId")); - + String vehiclelevel = Sqlca.getString("select LEC.vehiclelevel from LB_EQUIPMENT_CAR_TEMP LEC where contract_id='"+ContractId+"'"); + String sButtons[][] = { {"false","All","Button","保存","保存所有修改","as_save(0)","","","",""}, {"false","All","Button","返回","返回列表","returnList()","","","",""} @@ -99,16 +100,6 @@ setErrorTips("Invoice_number","发票号码不能为空"); return true; } - var invoiceDate = getItemValue(0,getRow(0),"Invoice_date"); - if (invoiceDate.length == 0) { - setErrorTips("Invoice_date","开票日期不能为空"); - return true; - } - var invoiceMoney = getItemValue(0,getRow(0),"Invoice_money"); - if (invoiceMoney.length == 0) { - setErrorTips("Invoice_money","开票金额不能为空"); - return true; - } } return false; } @@ -184,5 +175,18 @@ document.getElementById("INVOICE_DATE").readOnly=true; document.getElementById("INVOICE_DATE_BAK").readOnly=true; }) + + + window.onload = function(){ + //重卡发票信息 + var vehiclelevel= "<%=vehiclelevel%>"; + if ('重卡' != vehiclelevel) { + hideItem(0, "Invoice_code_bak"); + hideItem(0, "Invoice_number_bak"); + hideItem(0, "Invoice_date_bak"); + hideItem(0, "Invoice_money_bak"); + hideItem(0, "tax_due_bak"); + } + } <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/App/calculation/calculationContractCar.jsp b/WebContent/Tenwa/Lease/App/calculation/calculationContractCar.jsp new file mode 100644 index 000000000..6282eff17 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/calculation/calculationContractCar.jsp @@ -0,0 +1,221 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2017-06-26 + Content: 示例详情页面 + History Log: + */ + String sTempletNo = "calculationContractCar";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setDefaultValue("PAYMENT_NUMBER", "BQAP(AH)20189999-01"); + doTemp.setHtmlEvent("ADJUST_TYPE","onchange","changeInfo"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + isShowButton=true; + dwTemp.genHTMLObjectWindow("FBO2029999"); + String sButtons[][] = { + {"true","","Button","提前结清测算","提前结清测算","getTerminateInfo()","","","","btn_icon_settle"} + }; + sButtonPosition = "south"; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/App/calculation/calculationContractCarMain.jsp b/WebContent/Tenwa/Lease/App/calculation/calculationContractCarMain.jsp new file mode 100644 index 000000000..7132203ad --- /dev/null +++ b/WebContent/Tenwa/Lease/App/calculation/calculationContractCarMain.jsp @@ -0,0 +1,11 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBegin.jsp"%><% + String PG_TITLE = "隐藏左侧区域的Main页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "本方信息"; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "1";//默认的treeview宽度 +%><%@include file="/Resources/CodeParts/Main04.jsp"%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyList.jsp b/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyList.jsp new file mode 100644 index 000000000..5e53845c3 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyList.jsp @@ -0,0 +1,96 @@ +<%@page import="java.math.BigDecimal"%> +<%@page import="jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT"%> +<%@page import="jbo.app.tenwa.calc.LC_EBANK_PROCESS"%> +<%@page import="jbo.app.tenwa.calc.LC_EBANK_TEMP"%> +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + + //BQAP(AH)TJ202006150019-01 + //BQAP(AH)201910310017-01 + String phaseNo = CurPage.getParameter("PhaseNo"); + String flowunid =CurPage.getParameter("FlowUnid"); + String rightType = CurPage.getParameter("RightType"); + String paymentNumber = CurPage.getParameter("paymentNumber"); + if(null==paymentNumber) paymentNumber="BQAP(AH)202001080006-01";//"BQAP(AH)TJ202006150019-01"; + ASObjectModel doTemp = new ASObjectModel("calculationFactPenalty"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "0"; //只读模式 + dwTemp.MultiSelect = true; + dwTemp.setPageSize(20); + dwTemp.genHTMLObjectWindow(paymentNumber); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"ReadOnly".equals(rightType)?"false":"true","","Button","选择合同","选择合同","SelectContractId()","","","","btn_icon_add",""}, + {"ReadOnly".equals(rightType)?"false":"true","","Button","计算罚息减免额","计算罚息减免额","createPenaltyAdjust()","","","","btn_icon_add",""} + }; +%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> +
diff --git a/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyMain.jsp b/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyMain.jsp new file mode 100644 index 000000000..ed42ec783 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/calculation/calculationFactPenaltyMain.jsp @@ -0,0 +1,11 @@ +<%@ page contentType="text/html; charset=GBK"%><%@ + include file="/IncludeBegin.jsp"%><% + String PG_TITLE = "隐藏左侧区域的Main页面"; // 浏览器窗口标题 PG_TITLE + String PG_CONTENT_TITLE = "罚息计算"; //默认的内容区标题 + String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字 + String PG_LEFT_WIDTH = "1";//默认的treeview宽度 +%><%@include file="/Resources/CodeParts/Main04.jsp"%> + +<%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp index 48d5a1f7d..2b15424f5 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBEquipment_Car/LBEquipmentInfo.jsp @@ -128,6 +128,7 @@ }else{ dwTemp.genHTMLObjectWindow(FlowUnid); } + String vehiclelevel = Sqlca.getString("select vehiclelevel from LB_EQUIPMENT_CAR_TEMP where FLOWUNID ='"+FlowUnid+"'"); // CurPage.getCurComp().setAttribute("RightType", RightType); %> <%/*~END~*/%> @@ -158,7 +159,7 @@ <%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> <%/*~END~*/%> diff --git a/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/VIActualFundPlan.jsp b/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/VIActualFundPlan.jsp index 9596f2589..cc477e519 100644 --- a/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/VIActualFundPlan.jsp +++ b/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/VIActualFundPlan.jsp @@ -61,6 +61,14 @@ AsDebug.showMessage("提示",message,"","",true); return; } + var message = RunJavaMethodTrans("com.tenwa.flow.fund.fundcollection.FundIncomeMethod","checkDeposit","flowunid=<%=flowunid%>"+",contractIds="+contractIds); + if(message!="true"){ + if(!confirm(message+',是否继续放款?')){ + return + } + // AsDebug.showMessage("提示",message,"","",true); + // return; + } contractIds = contractIds.substring(1); var result = RunJavaMethodTrans("com.tenwa.flow.fund.fundcollection.FundIncomeMethod","createActualPayment","contractIds="+contractIds+",flowunid=<%=flowunid%>,userId=<%=CurUser.getUserID()%>,orgId=<%=CurUser.getOrgID()%>"+",payType="+payType); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index 360b019d2..578dc3dc4 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -243,7 +243,8 @@ if("13"==<%=projectstatus%>){//添加业务二部风管领导审批,意见0070显示 html='业务审批结果: 通过'; }else{ - html='业务审批结果: 未通过'; + var firstopinionText= $("#FIRSTOPINION").find("option:selected").text(); + html='业务审批结果: 未通过('+firstopinionText+')'; } $("#A_Group_0010").append(html); } diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/custRentCollectionList.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/custRentCollectionList.jsp index 07df0632c..9869c4b9f 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/custRentCollectionList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/custRentCollectionList.jsp @@ -1,24 +1,187 @@ +<%@ page import="java.math.BigDecimal" %> +<%@ page import="com.amarsoft.app.util.StringUtil" %> +<%@ page import="org.apache.commons.lang3.StringUtils" %> <%@ page contentType="text/html; charset=GBK"%> -<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%> + + +<% /* Author: undefined 2016-08-01 Content: History Log: */ - ASObjectModel doTemp = new ASObjectModel("CustRentCollectionList"); - String contractid=CurPage.getParameter("cust_id"); + ASObjectModel doTemp = new ASObjectModel("CustRentCollectionListNew"); + String cust_id = CurPage.getParameter("cust_id"); + String contractid = CurPage.getParameter("contractid"); + String payment_number = CurPage.getParameter("payment_number"); + System.out.println("===============payment_number=" + payment_number); + System.out.println("===============contractid=" + contractid); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); - dwTemp.Style="1"; //--设置为Grid风格-- - dwTemp.ReadOnly = "1"; //只读模式 - dwTemp.setPageSize(10); - dwTemp.genHTMLObjectWindow(CurPage.getParameter("cust_id")); + dwTemp.Style="2"; //--设置为Grid风格-- +// dwTemp.ReadOnly = "1"; //只读模式 + //客户信息获取 + //当前逾期期数、 历史逾期期数、历史最长预期天数、已还期数、逾期次数、月租金、当前罚息、计划期数、实际利率、 + // 合同起始日,合同到期日、 + // 还款银行、还款卡号、 + // 融资金额、首付比例、未偿本金、未偿总额、已还金额、已还本金、已还利息、 + // 车牌号码、车型、车架号、车辆价格 + String repaymentAmount = "";//月租金 + String contractEndDate = "";//合同到期日 + String compensatoryPeriods = "";//代偿期数 + String overdueNowPeriods = "";//当前逾期期数 + String overdueCounts = "";//逾期次数 + String overdueHisPeriods = "";//历史逾期期数 + String overdueHisDays = "";//历史最长预期天数 + String repaymentAreadyPeriods = "";//已还期数 + String penaltyNowAmount = "";//当前罚息 + String principalRepayAmount = "";//未偿本金 + String principalPaymentAmount = "";//已还本金 + String totalRepayAmount = "";//未偿总额 + String totalPaymentAmount = "";//已还金额 + String totalCompensatoryPaymentAmount = "";//已还金额【不包含代偿金额】 + String interestPaymentAmount = "";//已还利息 + + /** + * 未偿本金、未偿总额、已还金额、已还本金、已还利息、 + * 当前逾期期数、 历史逾期期数、 + * 历史最长预期天数、已还期数、逾期次数、当前罚息、合同到期日、 + */ + try{ + String sql = "select rrp.* \n" + + "from report_rent_plan rrp \n" + + "LEFT JOIN lb_contract_info lci ON rrp.contract_number=lci.CONTRACT_NO\n" + + "where lci.ID='"+contractid+"' "; + ASResultSet res = Sqlca.getASResultSet(new SqlObject(sql)); + BigDecimal penaltyAmount = new BigDecimal("0");//应收罚息 + BigDecimal penaltyPayAmount = new BigDecimal("0");//实收罚息 + BigDecimal penaltyConAmount = new BigDecimal("0");//调整罚息 + BigDecimal corpusAmount = new BigDecimal("0");//未还本金 + BigDecimal corpusPayAmount = new BigDecimal("0");//已还本金 + BigDecimal totalRepAmount = new BigDecimal("0");//未偿总额 + BigDecimal totalPayAmount = new BigDecimal("0");//已还金额 + BigDecimal compensatoryPaymentAmount = new BigDecimal("0");//已还金额 + BigDecimal interestPayAmount = new BigDecimal("0");//已还利息 + int overDaysMax = 0;//最大逾期天数 + int periodOver = 0;//逾期次数 + int periodPreOver = 0;//历史逾期期数 + int periodNowOver = 0;//当前逾期期数 + int periodCompensatory = 0;//代偿期数 + int periodMax = 0;//最大期数 + int periodNow = 0;//已还期数 + while(res.next()){ + repaymentAmount = res.getString("rent");//月租金 + System.out.println("月租金=" + repaymentAmount); + if(res.getInt("plan_list") > periodMax){//查找最大期数就是最后还款日 + periodMax = res.getInt("plan_list"); + contractEndDate = res.getString("plan_date"); + System.out.println("当前最大期数=" + periodMax); + System.out.println("当前最后还款时间=" + contractEndDate); + } + if("代偿".equals(res.getString("collect_status"))){ + periodCompensatory++; + compensatoryPaymentAmount = compensatoryPaymentAmount.add(res.getBigDecimal("rent"));//代偿金额 + } + //逾期判定?大于三天吗?还是以罚息为准 +// if(StringUtils.isNotEmpty(res.getString("penalty")) && res.getInt("penalty") > 0){//以罚息判定是否逾期 + if(StringUtils.isNotEmpty(res.getString("over_days")) && res.getInt("over_days") > 0){ + + // : 2020/8/13 逾期次数、当前逾期期数、历史逾期期数、历史最长预期天数、当前罚息、历史最长预期天数、 + if(StringUtils.isNotEmpty(res.getString("penalty"))){ + penaltyAmount = penaltyAmount.add(res.getBigDecimal("penalty")); + } + if(StringUtils.isNotEmpty(res.getString("penalty"))){ + penaltyPayAmount = penaltyPayAmount.add(res.getBigDecimal("fact_penalty")); + } + if(StringUtils.isNotEmpty(res.getString("penalty"))){ + penaltyConAmount = penaltyConAmount.add(res.getBigDecimal("penalty_adjust")); + } + if(res.getInt("over_days") > overDaysMax){ + overDaysMax = res.getInt("over_days"); + System.out.println("当前最大逾期天数=" + overDaysMax); + } + if("完成".equals(res.getString("batch_status"))) {//已完成的订单 + periodPreOver++;//历史逾期期数 + }else { + periodNowOver++;//当前逾期期数 + } + periodOver++;//逾期期数 + } + if("完成".equals(res.getString("batch_status"))){//已完成的订单 + //已还金额,月租金之和 + totalPayAmount = totalPayAmount.add(res.getBigDecimal("rent")); + // : 2020/8/13 已还期数 + periodNow++;//已还期数加1; + // 2020/8/13 计算本金、利息、已还总额 + corpusPayAmount = corpusPayAmount.add(res.getBigDecimal("corpus")); + interestPayAmount = interestPayAmount.add(res.getBigDecimal("interest")); + }else { + //月租金之和 + totalRepAmount = totalRepAmount.add(res.getBigDecimal("rent")); + //未偿本金 + corpusAmount = corpusAmount.add(res.getBigDecimal("corpus")); + } + } + //已还金额【不包含代偿】= 已还金额 - 代偿金额 + compensatoryPaymentAmount = totalPayAmount.subtract(compensatoryPaymentAmount); + // : 2020/8/13 当前罚息 + //当前罚息= 应收罚息-调整罚息-已收罚息 + penaltyAmount = penaltyAmount.subtract(penaltyPayAmount).subtract(penaltyConAmount); + + compensatoryPeriods = String.valueOf(periodCompensatory);//代偿期数 + overdueNowPeriods = String.valueOf(periodNowOver);//当前逾期期数 + overdueCounts = String.valueOf(periodOver);//逾期次数 + overdueHisPeriods = String.valueOf(periodPreOver);//历史逾期期数 + + overdueHisDays = String.valueOf(overDaysMax);//历史最长预期天数 + repaymentAreadyPeriods = String.valueOf(periodNow);//已还期数 + + penaltyNowAmount = penaltyAmount.toString();//当前罚息 + principalRepayAmount = corpusAmount.toString();//未偿本金 + principalPaymentAmount = corpusPayAmount.toString();//已还本金 + totalRepayAmount = totalRepAmount.toString();//未偿总额 + totalPaymentAmount = totalPayAmount.toString();//已还金额 + interestPaymentAmount = interestPayAmount.toString();//已还利息 + totalCompensatoryPaymentAmount = compensatoryPaymentAmount.toString();//已还金额【不包含代偿金额】 + }catch(Exception e){ + e.printStackTrace(); + } + dwTemp.genHTMLObjectWindow(CurPage.getParameter("cust_id")); //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { {"true","","Button","返回","返回","goback()","","","","btn_icon_return",""}, }; -%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> +%><%@include file="/Frame/resources/include/ui/include_info.jspf"%> <%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/calc/com/tenwa/reckon/executor/RentCalHelper.java b/calc/com/tenwa/reckon/executor/RentCalHelper.java index cade72096..9fb537a78 100644 --- a/calc/com/tenwa/reckon/executor/RentCalHelper.java +++ b/calc/com/tenwa/reckon/executor/RentCalHelper.java @@ -36,7 +36,43 @@ public class RentCalHelper { private String paydayAdjust; private String paymentnumber; private String planId; - + + + /** + * 根据中止日期算金额 + * @return + * @throws Exception + */ + public String calculationContractCarInit() throws Exception { + JSONObject jsonObject = JSONObject.createObject(); + JBOTransaction tx=null; + try{ + tx=JBOFactory.createJBOTransaction(); + Conn conn = new Conn(tx); + String lcSql = "SELECT payment_number,YEAR_RATE,contract_id,NOMINAL_PRICE,caution_money,PROJECT_ID from LC_CALC_CONDITION where CONTRACT_ID='"+this.contractId+"'"; + List> lcSqlRes = conn.executeQuery(lcSql); + Map lcSqlInfo = lcSqlRes.get(0); + jsonObject.appendElement("yearrate", lcSqlInfo.get("year_rate")); + jsonObject.appendElement("nominalPrice", lcSqlInfo.get("nominal_price")); + jsonObject.appendElement("cautionmoney", lcSqlInfo.get("caution_money")); + jsonObject.appendElement("paymentnumber", lcSqlInfo.get("payment_number")); + jsonObject.appendElement("flowunid", lcSqlInfo.get("flowunid")); + jsonObject.appendElement("contractId", this.contractId); + String projectId = lcSqlInfo.get("project_id"); + String projectSql = "select EarlySettleBreachRatio from PRD_SPECIFIC_LIBRARY where productid=(" + + "SELECT PRODUCT_ID from lb_project_info where id='"+ projectId +"')"; + List> projectSqlRes = conn.executeQuery(projectSql); + Map projectSqlInfo = projectSqlRes.get(0); + jsonObject.appendElement("ratio", projectSqlInfo.get("earlysettlebreachratio")); + return JSONEncoder.encode(jsonObject); + }catch(Exception e){ + tx.rollback(); + e.printStackTrace(); + return ""; + }finally{ + tx.commit(); + } + } /** * 获取开始期次是否回笼 diff --git a/src_sql/鎶曚骇SQL/v20200915/customer(zl)_20200915.sql b/src_sql/鎶曚骇SQL/v20200915/customer(zl)_20200915.sql new file mode 100644 index 000000000..faa9fb068 --- /dev/null +++ b/src_sql/鎶曚骇SQL/v20200915/customer(zl)_20200915.sql @@ -0,0 +1,178 @@ + --1. 筛选:增加渠道商,车牌号进行筛选(见截图1) + + --3. 电话催收记录中 增加字段录入, + + --与客户关系、电话状态、行动代码、添加联系人信息, + + --其中客户关系,电话状态,行动代码可预先设置,用户在登记界面只能按照选项进行选择 + --- 客户关系:共同申请人-担保人/配偶/父母-子女/兄弟-姐妹/ 邻居-同事/亲戚/朋友/其他 + -- 电话状态:电话接通、接通挂断、拒接、空号、停机、可联、失联、错号、无法接通、关机等 + -- 行动代码:可联失联、催收其他人、逾期原因、车辆状态、特殊案例、欺诈案例 + + -- 添加列 +ALTER TABLE OVERDUE_DUNNING_RECORD ADD `relationship_type` varchar(32) DEFAULT NULL COMMENT '与客户关系'; +ALTER TABLE OVERDUE_DUNNING_RECORD ADD `phone_sts` varchar(32) DEFAULT NULL COMMENT '电话状态'; +ALTER TABLE OVERDUE_DUNNING_RECORD ADD `action_code` varchar(32) DEFAULT NULL COMMENT '行动代码'; + + + +-- 模板展示 +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('OverdueDunningRecordInfo', '1150', '1150', '1', 'O', 'relationship_type', 'relationship_type', 'String', '', '与客户关系', '', '1', 'Select', '1', '1', 'Code', 'adjustTypeCS', '', '32', '1', '0', '0', '1', '0', 0, NULL, '', '', 'SYS_Designer', '2018/11/19 14:00:17', 'administrator', '2020/08/04 15:39:47', '0', '', '1', '', '', '', NULL); + +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('OverdueDunningRecordInfo', '1160', '1160', '1', 'O', 'phone_sts', 'phone_sts', 'String', '', '电话状态', '', '1', 'Select', '1', '1', 'Code', 'adjustTypeCS', '', '32', '1', '0', '0', '1', '0', 0, NULL, '', '', 'SYS_Designer', '2018/11/19 14:00:17', 'administrator', '2020/08/04 15:39:47', '0', '', '1', '', '', '', NULL); + +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('OverdueDunningRecordInfo', '1170', '1170', '1', 'O', 'action_code', 'action_code', 'String', '', '行动代码', '', '1', 'Select', '1', '1', 'Code', 'adjustTypeCS', '', '32', '1', '0', '0', '1', '0', 0, NULL, '', '', 'SYS_Designer', '2018/11/19 14:00:17', 'administrator', '2020/08/04 15:39:47', '0', '', '1', '', '', '', NULL); + +-- 增加下拉框选择 + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '01', '可联失联', NULL, '0010', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '02', '催收其他人', NULL, '0020', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '03', '逾期原因', NULL, '0030', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '04', '车辆状态', NULL, '0040', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '05', '特殊案例', NULL, '0050', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('actionCodeTyps', '06', '欺诈案例', NULL, '0060', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '01', '电话接通', NULL, '0010', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '02', '接通挂断', NULL, '0020', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '03', '拒接', NULL, '0030', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '04', '空号', NULL, '0040', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '05', '停机', NULL, '0050', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '06', '可联', NULL, '0060', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '07', '失联', NULL, '0070', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '08', '错号', NULL, '0080', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '09', '无法接通', NULL, '0090', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('phoneStsTypes', '10', '关机', NULL, '0100', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '01', '共同申请人-担保人', NULL, '0010', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '02', '配偶', NULL, '0020', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '03', '父母-子女', NULL, '0030', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '04', '兄弟-姐妹', NULL, '0040', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '05', '邻居-同事', NULL, '0050', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '06', '亲戚', NULL, '0060', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '07', '朋友', NULL, '0070', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('relationshipTypes', '08', '其他', NULL, '0080', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + + +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1010', '1010', '1', 'lul', 'CUSTOMER_NAME', 'CUSTOMER_NAME', 'String', '', '客戶名称', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1020', '1020', '1', 'O', 'CONTRACT_NUMBER', 'CONTRACT_NUMBER', 'String', '', '业务合同号', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1030', '1030', '1', 'O', 'ID', 'ID', 'String', '', 'ID', '', '1', 'Text', '1', '1', '', '', '', '50', '0', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1040', '1040', '1', 'O', 'PROJECT_MANAGE', 'PROJECT_MANAGE', 'String', NULL, '业务经理', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '50', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1050', '1050', '1', 'lul', 'CUSTOMER_ID', 'CUSTOMER_ID', 'String', '', '承租人编号', '', '1', 'Text', '1', '1', '', '', '', '50', '0', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1060', '1060', '1', 'vo', 'over_list', 'over_list', 'String', NULL, '逾期期数', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '50', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1070', '1070', '1', 'vo', 'over_days', 'over_days', 'String', NULL, '逾期天数', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '50', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1080', '1080', '1', 'vo', 'over_money', 'over_money', 'String', NULL, '逾期金额', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '50', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1090', '1090', '1', 'vo', 'over_penalty', 'over_penalty', 'String', NULL, '逾期罚息', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '50', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1100', '1100', '1', '', 'com.tenwa.customer.cache.OverdueDunningCache.getPartDept(ID)', 'part_dept', 'String', '', '催款员', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1110', '1110', '1', '', 'com.tenwa.flow.comm.handler.flowmanage.OverdueProjectCache.getNextCommitmentDate(ID)', 'plan_next_contact_day', 'String', '', '计划联系日', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1120', '1120', '1', '', 'com.tenwa.flow.comm.handler.flowmanage.OverdueProjectCache.getCommitmentDate(ID)', 'repayment_date', 'String', '', '承诺还款日', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1130', '1130', '1', 'lec', 'LICENSE_PLATE_NUMBER', 'LICENSE_PLATE_NUMBER', 'String', '', '车牌号', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0020', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1140', '1140', '1', 'lec', 'FRAME_NUMBER', 'FRAME_NUMBER', 'String', '', '车架号', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0020', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1150', '1150', '1', 'lcc', 'EQUIP_AMT', 'EQUIP_AMT', 'String', '', '车价', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0020', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1160', '1160', '1', 'lec', 'MODEL', 'MODEL', 'String', '', '车型', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0020', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1170', '1170', '1', 'lcc', 'FIRST_PAYMENT_RATIO', 'FIRST_PAYMENT_RATIO', 'String', '', '首付比例', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:57', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1180', '1180', '1', 'lcc', 'CLEAN_LEASE_MONEY', 'CLEAN_LEASE_MONEY', 'String', '', '融资金额', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:58', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1190', '1190', '1', 'lcc', 'INCOME_NUMBER', 'INCOME_NUMBER', 'String', '', '计划期数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:58', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1200', '1200', '1', 'lcc', 'YEAR_RATE', 'YEAR_RATE', 'String', '', '实际利率', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 18:06:58', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1210', '1210', '1', 'lcc', 'START_DATE', 'START_DATE', 'String', '', '合同起始日', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1230', '1230', '1', 'ca', 'bank_name', 'bank_name', 'String', '', '还款银行', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1231', '1231', '1', 'ca', 'acc_number', 'acc_number', 'String', '', '还款卡号', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1240', '1240', '1', '', '\'\'', 'contractEndDate', 'String', '', '最后还款日', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1250', '1250', '1', '', '\'\'', 'repaymentAmount', 'String', '', '月租金', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0030', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1260', '1260', '1', '', '\'\'', 'principalRepayAmount', 'String', '', '未偿本金', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:25', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1270', '1270', '1', '', '\'\'', 'totalRepayAmount', 'String', '', '未偿总额', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1271', '1271', '1', '', '\'\'', 'principalPaymentAmount', 'String', '', '已还本金', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1280', '1280', '1', '', '\'\'', 'totalPaymentAmount', 'String', '', '已还金额【含代偿】', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1300', '1300', '1', '', '\'\'', 'interestPaymentAmount', 'String', '', '已还利息', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1301', '1301', '1', '', '\'\'', 'totalCompensatoryPaymentAmount', 'String', '', '已还金额【不含代偿】', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1310', '1310', '1', '', '\'\'', 'overdueNowPeriods', 'String', '', '当前逾期期数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0050', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1320', '1320', '1', '', '\'\'', 'overdueHisPeriods', 'String', '', '历史逾期期数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0050', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1330', '1330', '1', '', '\'\'', 'overdueHisDays', 'String', '', '历史最长预期天数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0050', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1340', '1340', '1', '', '\'\'', 'repaymentAreadyPeriods', 'String', '', '已还期数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1350', '1350', '1', '', '\'\'', 'overdueCounts', 'String', '', '逾期次数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0050', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1360', '1360', '1', '', '\'\'', 'penaltyNowAmount', 'String', '', '当前罚息', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0050', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('CustRentCollectionListNew', '1370', '1370', '1', '', '\'\'', 'compensatoryPeriods', 'String', '', '已代偿期数', '', '1', 'Text', '1', '1', '', '', '', '50', '1', '1', '1', '1', '0', 0, NULL, '0040', '', 'SYS_Designer', '2017/06/21 16:46:10', 'administrator', '2020/08/13 16:19:26', '0', '', '1', '', '', '', NULL); + + + +INSERT INTO `apzl`.`awe_do_group`(`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) VALUES ('CustRentCollectionListNew', '0010', '催收基本信息', 'SYS_Designer', '2020/06/06 11:10:11', 'SYS_Designer', '2020/06/06 11:10:11', '', '0010', '', '', '', 2, '', '', '', ''); +INSERT INTO `apzl`.`awe_do_group`(`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) VALUES ('CustRentCollectionListNew', '0020', '车辆信息', 'SYS_Designer', '2020/06/06 11:10:11', 'SYS_Designer', '2020/06/06 11:10:11', '', '0020', '', '', '', 2, '', '', '', ''); +INSERT INTO `apzl`.`awe_do_group`(`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) VALUES ('CustRentCollectionListNew', '0030', '合同基本信息', 'SYS_Designer', '2020/06/06 11:10:11', 'SYS_Designer', '2020/06/06 11:10:11', '', '0030', '', '', '', 2, '', '', '', ''); +INSERT INTO `apzl`.`awe_do_group`(`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) VALUES ('CustRentCollectionListNew', '0040', '还款信息', 'SYS_Designer', '2020/06/06 11:10:11', 'SYS_Designer', '2020/06/06 11:10:11', '', '0040', '', '', '', 2, '', '', '', ''); +INSERT INTO `apzl`.`awe_do_group`(`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) VALUES ('CustRentCollectionListNew', '0050', '逾期信息', 'SYS_Designer', '2020/06/06 11:10:11', 'SYS_Designer', '2020/06/06 11:10:11', '', '0050', '', '', '', 2, '', '', '', ''); + + +INSERT INTO `apzl`.`awe_do_catalog`(`dono`, `doname`, `dodescribe`, `dotype`, `doclass`, `isinuse`, `colcount`, `modeid`, `jboclass`, `jbofrom`, `jbowhere`, `jbogroup`, `jboorder`, `businessprocess`, `exportflag`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `remark`, `isvalidate`, `parent`) VALUES ('CustRentCollectionListNew', '合同基本信息', NULL, '30130', NULL, '1', '2', 'default', 'jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO', 'O left join jbo.com.tenwa.lease.comm.LB_UNION_LESSEE lul on O.id=lul.contract_id left join jbo.app.tenwa.calc.LC_CALC_CONDITION lcc on O.id=lcc.contract_id left join jbo.app.tenwa.calc.VI_OVERDUE_RENT_PLAN_SUM vo on O.id=vo.contract_id LEFT JOIN jbo.app.LB_EQUIPMENT_CAR lec on lec.contract_id=O.id LEFT JOIN jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca on ca.customerid=lul.customer_id', 'lul.customer_id=:cust_id', NULL, NULL, NULL, NULL, 'SYS_Designer', '2017/06/21 14:49:53', 'SYS_Designer', '2018/08/15 15:53:45', NULL, '1', NULL); + + +INSERT INTO `apzl`.`scenario_model`(`scenarioid`, `modelid`, `sortno`, `modelname`, `modeldescribe`, `modeltype`, `subtypeno`, `runcondition`, `status`, `nopassdeal`, `passdeal`, `passmessage`, `nopassmessage`, `executescript`, `remark`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `groupid`, `modelkind`, `bizviewer`) VALUES ('付款申请(汽车)', '0040', '0040', '发票信息是否填写', '', '10', '', '', '1', '10', NULL, '发票信息已填写', '请先填写发票信息', 'com.tenwa.lease.flow.project.commcheck.CarTypeCheck', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +-- 新增sql配置页签: +INSERT INTO `apzl`.`prd_nodeinfo`(`nodeid`, `nodename`, `sortno`, `isinuse`, `itemdescribe`, `inputuserid`, `inputorgid`, `inputtime`, `updateuserid`, `updatetime`, `initscript`, `exportscript`, `phasescript`, `deletescript`, `remark`, `formalClass`, `querycondition`) VALUES ('990001', '付款申请审批记录', '990001', '1', '/Common/WorkFlow/PaymentApplyViewFlowOpinions.jsp', 'administrator', '8009001', '2020/07/14', 'administrator', '2020/07/14', '', '', '', '', '', '', ''); + +-- 提前结清测算器部署 +INSERT INTO `apzl`.`awe_do_catalog` (`dono`, `doname`, `dodescribe`, `dotype`, `doclass`, `isinuse`, `colcount`, `modeid`, `jboclass`, `jbofrom`, `jbowhere`, `jbogroup`, `jboorder`, `businessprocess`, `exportflag`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `remark`, `isvalidate`, `parent`) VALUES +('calculationContractCar', '提前结清测算', NULL, '30050', NULL, '1', '2', 'default', 'jbo.app.tenwa.calc.LC_FUND_RENT_ADJUST_TEMP', 'O left join jbo.app.tenwa.calc.LC_FUND_INCOME lfi on O.payment_number=lfi.payment_number and lfi.fee_type=\'feetype4\'', 'O.flowunid=:FlowUnid', NULL, NULL, NULL, NULL, 'SYS_Designer', '2017/06/26 14:15:49', 'SYS_Designer', '2018/07/20 18:27:42', NULL, '1', NULL); + + +INSERT INTO `apzl`.`awe_do_group` (`dono`, `dockid`, `dockname`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `inputorg`, `sortno`, `grouphead`, `groupfoot`, `groupbody`, `colcount`, `styleid`, `isexpand`, `groupbody1`, `groupbody2`) +VALUES ('calculationContractCar', '0010', '提前结清测算', 'SYS_Designer', '2017/06/28 09:15:17', 'SYS_Designer', '2018/07/20 18:27:43', NULL, '0010', NULL, NULL, NULL, '2', NULL, NULL, NULL, NULL); + + + + +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1303', '1303', '1', 'O', 'OTHER_IN', 'OTHER_IN', 'Number', '0.00', '其他应收', '', '1', 'Text', '2', '3', '', '', '', '22', '1', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2017/06/26 14:18:17', 'administrator', '2020/07/15 10:40:59', '0', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1310', '1310', '1', 'O', 'REPAYMENT_INTEREST', 'REPAYMENT_INTEREST', 'Number', NULL, '还款日息差', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/07/28 17:38:12', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1320', '1320', '0', 'O', 'AGREED_DATEPENALTY', 'AGREED_DATEPENALTY', 'Number', '0.00', '商定还款日息差', '', '1', 'Text', '2', '3', '', '', '', '32', '1', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2018/12/18 14:37:03', 'administrator', '2020/07/15 10:40:59', '0', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1400', '1400', '1', 'O', 'DUN_RENT', 'DUN_RENT', 'Number', NULL, '逾期租金', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1698', '1698', '1', 'O', 'COLLECT_FEES', 'COLLECT_FEES', 'Number', NULL, '催收费用', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '32', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/08/22 20:57:48', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1896', '1896', '1', 'O', 'DISPOSE_MONEY', 'DISPOSE_MONEY', 'Number', NULL, '处置金额', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '32', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/08/22 20:57:48', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '2094', '2094', '1', 'O', 'SURPLUSINTEREST', 'SURPLUSINTEREST', 'Number', NULL, '剩余利息', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '32', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/08/23 20:58:50', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '2300', '2300', '1', 'O', 'CONTRACT_TOTAL', 'CONTRACT_TOTAL', 'Number', NULL, '提前还款金额', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 1, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '2506', '2506', '0', 'O', 'MAXIMUM_TOTAL', 'MAXIMUM_TOTAL', 'Number', '', '最终还款金额', '', '1', 'Text', '2', '3', '', '', '', '32', '1', '1', '0', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2018/08/24 17:51:03', 'administrator', '2020/07/15 10:40:59', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '2712', '2712', '1', NULL, '\'\'', 'GUARANTEEMONEY', 'Number', NULL, '客户保证金', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '32', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/08/26 10:35:20', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1065', '1065', '1', 'O', 'FIST_CORPUS', 'FIST_CORPUS', 'Number', '0.00', '商定一年内剩余利息', '', '1', 'Text', '2', '3', '', '', '', '22', '0', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2018/07/31 15:11:34', 'administrator', '2020/07/15 14:21:07', '0', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1067', '1067', '1', 'O', 'AGREED_INTEREST', 'AGREED_INTEREST', 'Number', NULL, '商定利息', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '0', '0', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1068', '1068', '1', 'O', 'INTEREST_HANDLING_CHARGE', 'INTEREST_HANDLING_CHARGE', 'Number', NULL, '剩余利息', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '0', '0', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1080', '1080', '1', 'O', 'DUN_PENALTY', 'DUN_PENALTY', 'Number', NULL, '逾期罚息', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1140', '1140', '0', 'O', 'AGREED_PENALTY', 'AGREED_PENALTY', 'Number', '0.00', '商定逾期罚息', '', '1', 'Text', '2', '3', '', '', '', '22', '1', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 14:21:08', '', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1220', '1220', '1', 'O', 'PAYMENT_NUMBER', 'PAYMENT_NUMBER', 'String', NULL, '投放编号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '255', '0', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2017/06/29 13:49:24', 'administrator', '2020/07/15 14:21:08', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1240', '1240', '1', 'O', 'REPURCHASE_RATIO', 'REPURCHASE_RATIO', 'Number', NULL, '回购比例', '%', '1', 'Text', '16', '3', NULL, NULL, NULL, '22', '0', '0', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/09/19 10:00:23', 'administrator', '2020/07/15 14:21:08', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1260', '1260', '1', 'O', 'REPURCHASE_MONEY', 'REPURCHASE_MONEY', 'Number', NULL, '回购本金', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '0', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/09/19 10:00:23', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1280', '1040', '1', 'lfi', 'FACT_MONEY', 'FACT_MONEY', 'Number', NULL, '名誉货价', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '0', '0', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/07/20 18:15:23', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1302', '1302', '1', 'O', 'OTHER_OUT', 'OTHER_OUT', 'Number', NULL, '其他应退', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:18:17', 'administrator', '2020/07/15 10:40:59', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1004', '1004', '1', 'O', 'ADJUST_TYPE', 'ADJUST_TYPE', 'String', '', '变更类型', '', '1', 'Select', '1', '1', 'Code', 'adjustTypeCS', '', '200', '1', '0', '1', '1', '0', 1, NULL, '0010', '', 'SYS_Designer', '2017/06/29 13:48:16', 'administrator', '2020/07/15 14:21:07', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1005', '1005', '1', 'O', 'PAYDAY_ADJUST', 'PAYDAY_ADJUST', 'String', NULL, '约定终止日', NULL, '1', 'Date', '1', '1', NULL, NULL, NULL, '20', '1', '0', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:18:17', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1006', '1006', '1', 'O', 'CORPUS_OVERAGE', 'CORPUS_OVERAGE', 'Number', NULL, '剩余本金', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:20:00', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1010', '1010', '1', 'O', 'FLOWUNID', 'FLOWUNID', 'String', NULL, '流程编号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '32', '0', '0', '0', '1', '1', 1, '0', '0010', NULL, 'SYS_DESIGNER', '2017/06/26 14:15:49', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1021', '1021', '1', 'O', 'NOMINAL_PRICE', 'NOMINAL_PRICE', 'Number', '', '留购价', '', '1', 'Text', '2', '3', '', '', '', '22', '1', '1', '0', '1', '0', 0, NULL, '0010', '', 'SYS_Designer', '2018/07/28 16:12:00', 'administrator', '2020/07/15 14:21:07', '0', '', '1', '', '', '', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1023', '1023', '0', 'O', 'SDNOMINAL_PRICE', 'SDNOMINAL_PRICE', 'Number', '0.00', '商定留购价', '', '1', 'Text', '2', '3', '', '', '', '22', '1', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2018/07/28 16:12:00', 'administrator', '2020/07/15 14:21:07', '', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1061', '1061', '1', 'O', 'HANDLING_CHARGE', 'HANDLING_CHARGE', 'Number', NULL, '违约金', NULL, '1', 'Text', '2', '3', NULL, NULL, NULL, '22', '1', '1', '0', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2017/06/26 14:18:17', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1062', '1062', '0', 'O', 'SDHANDLING_CHARGE', 'SDHANDLING_CHARGE', 'Number', '0.00', '商定违约金', '', '1', 'Text', '2', '3', '', '', '', '22', '1', '0', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2018/07/28 16:37:22', 'administrator', '2020/07/15 14:21:07', '', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1064', '1064', '1', 'O', 'FIST_RENT', 'FIST_RENT', 'Number', '', '一年内剩余利息', '', '1', 'Text', '2', '3', '', '', '', '22', '0', '1', '0', '1', '0', 0, '', '0010', '', 'SYS_Designer', '2018/07/28 17:31:36', 'administrator', '2020/07/15 14:21:07', '0', '', '1', '', '', '', ''); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1000', '1000', '1', 'O', 'ID', 'ID', 'String', NULL, '标识', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '32', '0', '0', '0', '1', '1', 1, '0', '0010', NULL, 'SYS_DESIGNER', '2017/06/26 14:15:49', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1001', '1001', '1', '', '\'\'', 'CONTRACT_NUMBER', 'String', '', '合同编号', '', '1', 'Text', '1', '1', '', '', '', '32', '1', '1', '1', '1', '0', 2, NULL, '0010', '', 'SYS_Designer', '2017/08/17 19:17:44', 'administrator', '2020/07/15 14:21:07', '0', '', '1', '', '', 'SelectContractId()', NULL); +INSERT INTO `apzl`.`awe_do_library`(`dono`, `colindex`, `sortno`, `isinuse`, `coltablename`, `colactualname`, `colname`, `coltype`, `coldefaultvalue`, `colheader`, `colunit`, `colcolumntype`, `coleditstyle`, `colcheckformat`, `colalign`, `coleditsourcetype`, `coleditsource`, `colhtmlstyle`, `collimit`, `colvisible`, `colreadonly`, `colrequired`, `colsortable`, `isfilter`, `colspan`, `isautocomplete`, `groupid`, `colfilterrefid`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `isaudit`, `colfilterattrs`, `isupdate`, `parentcolindex`, `tips`, `colinnerbtevent`, `colfilteroptions`) VALUES ('calculationContractCar', '1003', '1003', '1', 'O', 'PAYDAY_DATE', 'PAYDAY_DATE', 'String', NULL, '提出日期', NULL, '1', 'Date', '1', '1', NULL, NULL, NULL, '20', '1', '0', '1', '1', '0', 0, NULL, '0010', NULL, 'SYS_Designer', '2018/07/28 15:23:51', 'administrator', '2020/07/15 14:21:07', '0', NULL, '1', NULL, NULL, NULL, NULL); + +INSERT INTO `apzl`.`code_library`(`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES ('adjustTypeCS', '01', '客户提前结清测算', NULL, '0010', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SYS_Designer', NULL, '2018/03/07 16:47:40', 'SYS_Designer', '2018/06/23 16:21:58', NULL, NULL); + diff --git a/src_tenwa/com/tenwa/flow/fund/fundcollection/FundIncomeMethod.java b/src_tenwa/com/tenwa/flow/fund/fundcollection/FundIncomeMethod.java index b0af80116..496eb104b 100644 --- a/src_tenwa/com/tenwa/flow/fund/fundcollection/FundIncomeMethod.java +++ b/src_tenwa/com/tenwa/flow/fund/fundcollection/FundIncomeMethod.java @@ -3,9 +3,12 @@ package com.tenwa.flow.fund.fundcollection; import java.math.BigDecimal; import java.sql.SQLException; import java.util.HashMap; +import java.util.Iterator; import java.util.List; import java.util.Map; +import com.amarsoft.app.base.businessobject.BusinessObject; +import net.sf.json.*; import jbo.app.tenwa.calc.LB_PAYMENTRETURN_LOG; import jbo.app.tenwa.calc.LC_EBANK_PROCESS; import jbo.app.tenwa.calc.LC_EBANK_TEMP; @@ -641,4 +644,52 @@ public String getContactId(JBOTransaction tx) throws SQLException, Exception{ } return meaage; } + + //放款前校验保证金是否到账 + public String checkDeposit(JBOTransaction tx){ + String meaage = ""; + Transaction sqlTran; + try { + sqlTran = Transaction.createTransaction(tx); + contractIds= contractIds.substring(contractIds.indexOf("@")+1).replaceAll("@", "','"); + String selectSql = "SELECT lul.customer_name,lfp.plan_money,lpi.product_data,vlfp.fact_money,vlfp.overmoney"+ + " FROM LC_FUND_PLAN lfp LEFT JOIN vi_lc_fund_plan vlfp ON lfp.id = vlfp.id"+ + " LEFT JOIN LB_CONTRACT_INFO lci ON lfp.contract_id = lci.id"+ + " LEFT JOIN LB_UNION_LESSEE lul ON lul.contract_id = lci.id AND lul.is_main = 'Y' join lb_product_info lpi on lpi.PRODUCT_ID=lci.PRODUCT_ID "+ + " WHERE lci.businesstype = '1' and lfp.fee_type='feetype2' and lfp.pay_type='pay_type_in' and vlfp.overmoney>0 "+//and vlfp.overmoney>0 + " and lci.id IN ('"+contractIds+"') "; + List> results = DataOperatorUtil.getDataBySql(selectSql); + if(results.size()==0){ + meaage="true"; + }else { + for (int i = 0; i < results.size(); i++) { + String pData = results.get(i).get("product_data"); + if("".equals(pData)){ + }else{ + JSONArray jsonArray = JSONArray.fromObject(pData); + Iterator it = jsonArray.iterator(); + while(it.hasNext()){ + JSONObject component=(JSONObject)it.next().get("jbo.sample.Component"); + if("保证金".equals(component.getString("NAME"))){ + JSONArray parameters=component.getJSONArray("Parameter"); + for (int j = 0; j