From 00b4f9bb33f646456f69f7b081b56521aa69c2bd Mon Sep 17 00:00:00 2001 From: tangfutang Date: Mon, 30 Dec 2019 19:30:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=AE=A1=E6=89=B9=E3=80=81?= =?UTF-8?q?=E4=BC=A0=E7=BB=9F=E5=90=88=E5=90=8C=E5=AE=A1=E6=89=B9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=A4=9A=E4=B8=BB=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBContract/LBContractInfo.jsp | 43 +- .../Flow/Comm/LBProject/LBProjectInfo.jsp | 13 + .../ContractApprovalApplyList.jsp | 210 ++++----- .../ContractChangeApplyList_Car.jsp | 11 +- .../BusinessApplication/ApprovalForm.jsp | 7 + .../BusinessChangeApplyList.jsp | 8 +- .../ProjectApprovalCreationInfo.jsp | 9 +- WebContent/WEB-INF/etc/jbo/jbo_lease.xml | 12 + WebContent/WEB-INF/etc/jbo/jbo_prd.xml | 1 + .../tenwa/lease/comm/LB_CONTRACT_INFO.java | 8 + .../lease/comm/LB_CONTRACT_INFO_HIS.java | 8 + .../lease/comm/LB_CONTRACT_INFO_TEMP.java | 8 + .../com/tenwa/lease/comm/LB_PROJECT_INFO.java | 8 + .../lease/comm/LB_PROJECT_INFO_TEMP.java | 8 + .../lease/comm/VI_PROJECTINFO_BUSINESS.java | 8 + src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java | 4 + src_sql/view/vi_product.sql | 3 +- src_sql/view/vi_projectinfo_business.sql | 4 +- src_sql/鎶曚骇SQL/v20191228/tft_20191228.sql | 420 ++++-------------- .../businessapply/CustomerInfoCheck.java | 19 + .../LBProjectIntoTempInitCarBusiness.java | 2 + .../LBProjectIntoTempToContractBusiness.java | 2 + 22 files changed, 371 insertions(+), 445 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractInfo.jsp index dbc2353f4..3500c96a9 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/LBContractInfo.jsp @@ -40,7 +40,7 @@ }else{ product_id=flow.getAttribute("productId").toString(); } - + String sPhaseNo=CurPage.getParameter("PhaseNo");//阶段号 String FlowNo=CurPage.getParameter("FlowNo");//流程名称 String NodeNo=CurPage.getParameter("NodeNo");//流程名称 @@ -80,6 +80,19 @@ }else{ doTemp.setColInnerBtEvent("PROJECT_ASSIST_NAME", ""); } + + /* + "2"传统 + "3"汽车类传统 + 主题名称为"2","3"状态时字段必填,否则字段为只读并且对话框隐藏掉 + */ + if("2".equals(businesstype) || "3".equals(businesstype)){ + doTemp.setRequired("subject_name",true); + }else{ + doTemp.setRequired("subject_name",false); + doTemp.setColInnerBtEvent("subject_name", ""); + } + doTemp.setDefaultValue("FlowUnid", sFlowUnid);//赋值流程编号 if("TAssetsDisposalFeeFlow".equals(FlowNo)){ doTemp.setReadOnly("CONTRACT_NUMBER", true); @@ -95,6 +108,9 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ dwTemp.ReadOnly = "-2";//只读模式 } + + dwTemp.genHTMLObjectWindow(sFlowUnid + "," + sContractId + "," + businesstype + "," + SUBJECTID + "," + subject); + if(isShowForaml.equals("true")){ dwTemp.genHTMLObjectWindow(sContractId); }else{ @@ -167,6 +183,17 @@ setItemValue(0,getRow(),"PROJECT_ASSIST",sReturn[0]); },"请选项目协办"); } + //请选择主题名称 + function selectaaaa(){ + AsDialog.OpenSelector("SelectAAAA","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){ + if(!sReturn||sReturn=="_CANCEL_"){ + alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@");//"@"表示了向页面添加数据时的连续性 + setItemValue(0,getRow(),"subject_name",sReturn[0]);//向页面的框中添加数据 + },"请选择主题"); + } <%/*~END~*/%> @@ -260,6 +287,20 @@ init(); + + function selectManySubject(){ + AsDialog.OpenSelector("selectManySubject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", + function(sReturn){ + if(!sReturn||sReturn=="_CANCEL_"||sReturn=="") + { + //alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@"); + setItemValue(0,0,"subjectid",sReturn[0]); + setItemValue(0,0,"subjectname",sReturn[1]); + },"请选择客户",''); + } <%/*~END~*/%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBProject/LBProjectInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBProject/LBProjectInfo.jsp index 668f43469..6ca9ca668 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBProject/LBProjectInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBProject/LBProjectInfo.jsp @@ -193,6 +193,19 @@ function init(){ init(); + function selectManySubject(){ + AsDialog.OpenSelector("selectManySubject","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", + function(sReturn){ + if(!sReturn||sReturn=="_CANCEL_"||sReturn=="") + { + //alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@"); + setItemValue(0,0,"subjectid",sReturn[0]); + setItemValue(0,0,"subjectname",sReturn[1]); + },"请选择主体",''); + } <%/*~END~*/%> diff --git a/WebContent/Tenwa/Lease/Flow/Contract/ContractApproval/ContractApprovalApplyList.jsp b/WebContent/Tenwa/Lease/Flow/Contract/ContractApproval/ContractApprovalApplyList.jsp index fa86b174f..d597c2828 100644 --- a/WebContent/Tenwa/Lease/Flow/Contract/ContractApproval/ContractApprovalApplyList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Contract/ContractApproval/ContractApprovalApplyList.jsp @@ -1,100 +1,110 @@ -<%@ page contentType="text/html; charset=GBK"%> - <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%> -<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%> - - <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%> +<%@ page contentType="text/html; charset=GBK"%> + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%> +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%> + + <%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/Contract/ContractChange/ContractChangeApplyList_Car.jsp b/WebContent/Tenwa/Lease/Flow/Contract/ContractChange/ContractChangeApplyList_Car.jsp index 891952d37..a34a0adda 100644 --- a/WebContent/Tenwa/Lease/Flow/Contract/ContractChange/ContractChangeApplyList_Car.jsp +++ b/WebContent/Tenwa/Lease/Flow/Contract/ContractChange/ContractChangeApplyList_Car.jsp @@ -34,6 +34,9 @@ var signType = sReturn[12]; var sealType = sReturn[11]; + var SubjectId = sReturn[13]; + var SubjectName = sReturn[14]; + if("03" == customertype){ if(""== signType||null == signType||"undefined" == signType){ alert("请在产品中配置签约方式!!!"); @@ -44,10 +47,14 @@ return ; } } + if(""== SubjectId||null == SubjectId||"undefined" == SubjectId){ + alert("该数据没有对应的主体,请联系管理员!"); + return ; + } var gpsVendor = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.GpsVendorCheck","getGpsVendor","productId="+product_id); var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>,gpsVendor="+gpsVendor; - sParams =sParams+",signType="+signType+",sealType="+sealType+",operationType="+operationType+",isNetCar="+isNetCar+",carAttributes="+carAttributes+",leasform="+leasform+",customertype="+customertype+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ProjectNo="+project_no+",ContractId="+contract_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>"; + sParams =sParams+",SubjectId="+SubjectId+",SubjectName="+SubjectName+",signType="+signType+",sealType="+sealType+",operationType="+operationType+",isNetCar="+isNetCar+",carAttributes="+carAttributes+",leasform="+leasform+",customertype="+customertype+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ProjectNo="+project_no+",ContractId="+contract_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>"; var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams); if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return; var sReturnInfos=sReturnInfo.split("@"); @@ -59,7 +66,7 @@ else { var mes=sReturnInfos[1]; - alert(mes); + alert(sReturnInfos); } reloadSelf(); },"请选择发起编号"); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index 13b98a676..360b019d2 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -46,6 +46,13 @@ }else{ isShowButton=true; } + + if(("业务申请流程".equals(flowName)||"业务变更流程".equals(flowName))&&("0030".equals(phaseNo)||"0040".equals(phaseNo)||"0050".equals(phaseNo)||"0060".equals(phaseNo)||"0070".equals(phaseNo))){ + dwTemp.getDataObject().setVisible("subjectname", true); + }else { + dwTemp.getDataObject().setVisible("subjectname", false); + } + if("0010".equals(phaseNo)){//经销商 dwTemp.setGroupHidden("0020,0030,0040,0050"); }else if("0030".equals(phaseNo)){//初审 diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessChangeApplyList.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessChangeApplyList.jsp index e9ef557d6..2add316f8 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessChangeApplyList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessChangeApplyList.jsp @@ -22,8 +22,14 @@ var leasehold = sReturn[6]; var operationType = sReturn[7]; var certtype = sReturn[8]; + var SubjectId = sReturn[9]; + var SubjectName = sReturn[10]; + if(""== SubjectId||null == SubjectId||"undefined" == SubjectId){ + alert("该数据没有对应的主体,请联系管理员!"); + return ; + } var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>"; - sParams =sParams+",certtype="+certtype+",customertype="+CustomerType+",carAttributes="+carAttributes+",leasform="+leasehold+",operationType="+operationType+",ProjectId="+id+",ProductId="+product_id+",FlowKey="+project_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>"; + sParams =sParams+",SubjectId="+SubjectId+",SubjectName="+SubjectName+",certtype="+certtype+",customertype="+CustomerType+",carAttributes="+carAttributes+",leasform="+leasehold+",operationType="+operationType+",ProjectId="+id+",ProductId="+product_id+",FlowKey="+project_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>"; var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams); if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return; var sReturnInfos=sReturnInfo.split("@"); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 9368f5c31..29194f1cb 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -157,8 +157,15 @@ return; } + var messages = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","selectTitleName","SubjectId="+SubjectId); + message = messages.split("@"); + if("error"==message[0]){ + alert(message[1]); + return; + } + var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>"; - sParams =sParams+",ProductId="+productId+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid+",CustomerId="+CustomerId+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price+",liter="+liter+",geartype="+geartype+",sourcetype=web,operationType="+operationType; + sParams =sParams+",SubjectId="+SubjectId+",SubjectName="+message[1]+",ProductId="+productId+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem+",custname="+custname+",certtype="+certtype+",certid="+certid+",CustomerId="+CustomerId+",productModel="+productModel+",carSeries="+carSeries+",versionid="+versionid+",modelid="+modelid+",businessType="+businessType+",price="+price+",liter="+liter+",geartype="+geartype+",sourcetype=web,operationType="+operationType; // if("BAIC_MOTOR"==operationType){ sParams = sParams+",distributorNo="+getItemValue(0,getRow(),"distributorNo")+",distributorName="+getItemValue(0,getRow(),"distributorName"); diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml index e56ddb862..0deff0e35 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml @@ -134,6 +134,8 @@ + + @@ -278,6 +280,8 @@ + + @@ -786,6 +790,8 @@ + + @@ -1052,6 +1058,8 @@ + + @@ -2735,6 +2743,8 @@ + + @@ -4688,6 +4698,8 @@ + + diff --git a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml index d02072f29..7e2b1755c 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml @@ -86,6 +86,7 @@ + diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO.java index 8e18dd480..247fdbf6e 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO.java @@ -321,4 +321,12 @@ public interface LB_CONTRACT_INFO{ * 是否已安装GPS STRING(20)
*/ public static final String has_gps = "has_gps"; + /** + * 主体id STRING(20)
+ */ + public static final String SUBJECTID = "SUBJECTID"; + /** + * 主体名称 STRING(100)
+ */ + public static final String SUBJECTNAME = "SUBJECTNAME"; } \ No newline at end of file diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_HIS.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_HIS.java index a51e5620a..dc51b048f 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_HIS.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_HIS.java @@ -309,4 +309,12 @@ public interface LB_CONTRACT_INFO_HIS{ * 法定代表人/经营者身份证号 STRING(20)
*/ public static final String LEGALPERSONID = "LEGALPERSONID"; + /** + * 主体id STRING(20)
+ */ + public static final String SUBJECTID = "SUBJECTID"; + /** + * 主体名称 STRING(100)
+ */ + public static final String SUBJECTNAME = "SUBJECTNAME"; } \ No newline at end of file diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_TEMP.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_TEMP.java index f3f64e03d..0dbf1b414 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_TEMP.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_CONTRACT_INFO_TEMP.java @@ -313,4 +313,12 @@ public interface LB_CONTRACT_INFO_TEMP{ * 法定代表人/经营者身份证号 STRING(20)
*/ public static final String LEGALPERSONID = "LEGALPERSONID"; + /** + * 主体id STRING(20)
+ */ + public static final String SUBJECTID = "SUBJECTID"; + /** + * 主体名称 STRING(100)
+ */ + public static final String SUBJECTNAME = "SUBJECTNAME"; } \ No newline at end of file diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO.java index c0eee09c1..d6c567218 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO.java @@ -245,4 +245,12 @@ public interface LB_PROJECT_INFO{ * 申请类型 STRING(32)
*/ public static final String source_type = "source_type"; + /** + * 主体id STRING(32)
+ */ + public static final String subjectid = "subjectid"; + /** + * 主体名称 STRING(100)
+ */ + public static final String SUBJECTNAME = "SUBJECTNAME"; } \ No newline at end of file diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO_TEMP.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO_TEMP.java index 5837285cb..8f1549bf9 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO_TEMP.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_PROJECT_INFO_TEMP.java @@ -245,4 +245,12 @@ public interface LB_PROJECT_INFO_TEMP{ * 法定代表人/经营者身份证号 STRING(20)
*/ public static final String LEGALPERSONID = "LEGALPERSONID"; + /** + * 主体id STRING(32)
+ */ + public static final String subjectid = "subjectid"; + /** + * 主体名称 STRING(100)
+ */ + public static final String SUBJECTNAME = "SUBJECTNAME"; } \ No newline at end of file diff --git a/src_jbo/jbo/com/tenwa/lease/comm/VI_PROJECTINFO_BUSINESS.java b/src_jbo/jbo/com/tenwa/lease/comm/VI_PROJECTINFO_BUSINESS.java index cc47d4bf6..9c4a0d413 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/VI_PROJECTINFO_BUSINESS.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/VI_PROJECTINFO_BUSINESS.java @@ -145,4 +145,12 @@ public interface VI_PROJECTINFO_BUSINESS{ * 经销商意见4 STRING(20)
*/ public static final String DistriOpinion4 = "DistriOpinion4"; + /** + * 主体id STRING(20)
+ */ + public static final String subjectId = "subjectId"; + /** + * 主体名称 STRING(20)
+ */ + public static final String subjectname = "subjectname"; } \ No newline at end of file diff --git a/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java b/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java index 4d94fc774..2ca4f6272 100644 --- a/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java +++ b/src_jbo/jbo/prd/PRD_SPECIFIC_LIBRARY.java @@ -129,4 +129,8 @@ public interface PRD_SPECIFIC_LIBRARY{ * GPS供应商 STRING(32)
*/ public static final String GPS_VENDOR = "GPS_VENDOR"; + /** + * 主体 STRING(32)
+ */ + public static final String ManySubject = "ManySubject"; } \ No newline at end of file diff --git a/src_sql/view/vi_product.sql b/src_sql/view/vi_product.sql index 284a568a6..a3e44bc62 100644 --- a/src_sql/view/vi_product.sql +++ b/src_sql/view/vi_product.sql @@ -14,7 +14,8 @@ SELECT BT.TYPENO AS TYPENO, DI.DISTRIBUTOR_NAME AS DISTRIBUTOR_NAME, LCM.MODELID AS MODELID, LCM.MODELNAME AS MODELNAME, - PSL.OPERATIONTYPE AS OPERATIONTYPE + PSL.OPERATIONTYPE AS OPERATIONTYPE, + PSL.MANYSUBJECT AS ManySubject FROM ((((((( SELECT APZL.BUSINESS_TYPE.TYPENO AS TYPENO, APZL.BUSINESS_TYPE.SORTNO AS SORTNO, diff --git a/src_sql/view/vi_projectinfo_business.sql b/src_sql/view/vi_projectinfo_business.sql index 3d60c2763..9b71ca422 100644 --- a/src_sql/view/vi_projectinfo_business.sql +++ b/src_sql/view/vi_projectinfo_business.sql @@ -30,7 +30,9 @@ create view vi_projectinfo_business as SELECT LUNT.FLOWUNID FO4.PHASECHOICE AS FOURCHOICE, FO4.PHASEOPINION AS FOUROPINION, FO4.INTEROPINION4 AS INTEROPINION4, - FO4.DISTRIOPINION4 AS DISTRIOPINION4 + FO4.DISTRIOPINION4 AS DISTRIOPINION4, + lpit.SUBJECTID AS subjectId, + lpit.SUBJECTNAME AS subjectname FROM ((((((((((((APZL.LB_PROJECT_INFO_TEMP LPIT LEFT JOIN APZL.LB_UNION_LESSEE_TEMP LUNT ON ((LPIT.FLOWUNID = convert(LUNT.FLOWUNID USING UTF8)))) LEFT JOIN APZL.CUSTOMER_PERSON_TEMP CPT ON (((CPT.CUSTOMERID = LUNT.CUSTOMER_ID) AND (LUNT.FLOWUNID = CPT.FLOWUNID)))) LEFT JOIN APZL.CUSTOMER_COMPANY_TEMP CPT1 ON (((CPT1.CUSTOMERID = LUNT.CUSTOMER_ID) AND (LUNT.FLOWUNID = CPT1.FLOWUNID)))) LEFT JOIN APZL.LC_CALC_CONDITION_TEMP LCCT ON ((convert(LCCT.FLOWUNID USING UTF8) = LPIT.FLOWUNID))) LEFT JOIN APZL.FLOW_TASK FT1 ON (( (convert(FT1.OBJECTNO USING UTF8) = LPIT.FLOWUNID) AND (FT1.PHASENO = '0030') AND (FT1.RELATIVEOBJECTNO IS NOT NULL) AND (FT1.BEGINTIME = ( SELECT max(F.BEGINTIME) FROM APZL.FLOW_TASK F WHERE ((F.OBJECTNO = FT1.OBJECTNO) AND (F.PHASENO = '0030')) GROUP BY F.PHASENO diff --git a/src_sql/鎶曚骇SQL/v20191228/tft_20191228.sql b/src_sql/鎶曚骇SQL/v20191228/tft_20191228.sql index a39ba1193..c4279cdd9 100644 --- a/src_sql/鎶曚骇SQL/v20191228/tft_20191228.sql +++ b/src_sql/鎶曚骇SQL/v20191228/tft_20191228.sql @@ -1,338 +1,82 @@ --- ----------------微信公众号------------------------- --- 创建微信变更表 -CREATE TABLE wechat_basic_change ( - ID VARCHAR(32) NOT NULL COMMENT '标识', - openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识', - CUSTOMER_ID VARCHAR(32) DEFAULT NULL COMMENT '承租人编号', - NAME VARCHAR(32) DEFAULT NULL COMMENT '姓名', - certid VARCHAR(32) DEFAULT NULL COMMENT '证件号', - btel VARCHAR(20) DEFAULT NULL COMMENT '修改前手机号', - bWORKADD VARCHAR(200) DEFAULT NULL COMMENT '修改前工作单位地址', - bworkname VARCHAR(200) DEFAULT NULL COMMENT '修改前工作名称', - bFULLADDRESS VARCHAR(200) DEFAULT NULL COMMENT '修改前居住地址', - atel VARCHAR(20) DEFAULT NULL COMMENT '修改后手机号', - aWORKADD VARCHAR(200) DEFAULT NULL COMMENT '修改后工作单位地址', - aworkname VARCHAR(200) DEFAULT NULL COMMENT '修改后工作名称', - aFULLADDRESS VARCHAR(200) DEFAULT NULL COMMENT '修改后居住地址', - applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型', - opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见', - STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态', - opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人', - messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id', - INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人', - INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门', - INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间', - UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人', - UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门', - UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (ID) -) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信个人基本信息修改表'; - -CREATE TABLE wechat_banknumber_change ( - ID VARCHAR(32) NOT NULL COMMENT '标识', - openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识', - contract_no VARCHAR(32) DEFAULT NULL COMMENT '合同编号', - NAME VARCHAR(32) DEFAULT NULL COMMENT '客户姓名', - tel VARCHAR(32) DEFAULT NULL COMMENT '客户电话', - contract_id VARCHAR(32) DEFAULT NULL COMMENT '合同ID', - bbankaccount VARCHAR(50) DEFAULT NULL COMMENT '修改前客户名称', - bbanknumber VARCHAR(20) DEFAULT NULL COMMENT '修改前银行账号', - bbankname VARCHAR(100) DEFAULT NULL COMMENT '修改前银行名称', - bbanktel VARCHAR(20) DEFAULT NULL COMMENT '修改前预留手机号', - abankaccount VARCHAR(50) DEFAULT NULL COMMENT '修改后客户名称', - abanknumber VARCHAR(40) DEFAULT NULL COMMENT '修改后银行账号', - abankname VARCHAR(100) DEFAULT NULL COMMENT '修改后银行名称', - abanktel VARCHAR(20) DEFAULT NULL COMMENT '修改后预留手机号', - applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型', - opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见', - STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态', - opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人', - messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id', - flowStatus VARCHAR(10) DEFAULT NULL COMMENT '合同状态', - flowUnid VARCHAR(32) DEFAULT NULL COMMENT '流程id', - INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人', - INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门', - INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间', - UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人', - UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门', - UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (ID) -) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信银行卡信息修改表'; - -CREATE TABLE wechat_Advance_Settle ( - ID VARCHAR(32) NOT NULL COMMENT '标识', - openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识', - contract_no VARCHAR(32) DEFAULT NULL COMMENT '合同编号', - NAME VARCHAR(32) DEFAULT NULL COMMENT '客户姓名', - tel VARCHAR(32) DEFAULT NULL COMMENT '客户电话', - advanceDate VARCHAR(32) DEFAULT NULL COMMENT '约定终止日', - applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型', - opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见', - STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态', - opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人', - messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id', - flowStatus VARCHAR(10) DEFAULT NULL COMMENT '合同状态', - flowUnid VARCHAR(32) DEFAULT NULL COMMENT '流程id', - INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人', - INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门', - INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间', - UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人', - UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门', - UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (ID) -) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信提前结清记录表'; - - --- 微信提交结清申请页面模板 -Insert Into 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 ('WechatAdvanceSettle','微信提前结清申请表',null,'30270',null,'1','2','default','jbo.app.WECHAT_ADVANCE_SETTLE','O','ID=:ID ','','','','','SYS_Designer','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','1',''); -Insert Into 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 ('WechatAdvanceSettle','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1020','1020','1','O','NAME','NAME','String','','客户姓名','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1030','1030','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1040','1040','1','O','tel','tel','String','','客户电话','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1050','1050','1','O','advanceDate','advanceDate','String','','约定终止日','','1','Date','3','2','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1100','1100','1','O','messgeId','messgeId','String','','业务提醒id','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','',''); -Insert Into 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 ('WechatAdvanceSettle','1150','1150','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','0',2,'','','','SYS_Designer','2019/11/04 14:44:48','SYS_Designer','2019/11/04 15:03:20','0','','1','','','',''); - --- 微信提交银行卡页面模板 -Insert Into 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 ('WechatBanknumberChange','微信银行卡信息变更',null,'30270',null,'1','2','default','jbo.app.WECHAT_BANKNUMBER_CHANGE','O','ID=:ID ','','','','','SYS_Designer','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:54:47',null,'1',''); -Insert Into 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 ('WechatBanknumberChange','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:58:22','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1020','1020','1','O','name','name','String','','客户姓名','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','0010','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:55','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1030','1030','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','0010','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:03:04','0','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1040','1040','1','O','tel','tel','String','','客户电话','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1050','1050','1','O','contract_id','contract_id','String','','合同ID','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1060','1060','1','O','bbankaccount','bbankaccount','String','','客户名称','','1','Text','1','1','','','','50','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1070','1070','1','O','bbanknumber','bbanknumber','String','','银行账号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1080','1080','1','O','bbankname','bbankname','String','','银行名称','','1','Text','1','1','','','','100','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1090','1090','1','O','bbanktel','bbanktel','String','','预留手机号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1100','1100','1','O','abankaccount','abankaccount','String','','客户名称','','1','Text','1','1','','','','50','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1110','1110','1','O','abanknumber','abanknumber','String','','银行账号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1120','1120','1','O','abankname','abankname','String','','银行名称','','1','Text','1','1','','','','100','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1130','1130','1','O','abanktel','abanktel','String','','预留手机号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1170','1170','1','O','opinionsuserid','opinionsuserid','String','','审批人','','1','Text','1','1','','','','3','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','',''); -Insert Into 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 ('WechatBanknumberChange','1210','1210','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','0',2,'','0040','','SYS_Designer','2019/11/05 16:48:06','SYS_Designer','2019/11/05 16:50:29','0','','1','','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0010','合同信息','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0010','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0020','修改前的值','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0020','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0030','修改后的值','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0030','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0040','审批意见','SYS_Designer','2019/11/05 16:48:32','SYS_Designer','2019/11/05 16:48:32','','0040','','','',2,'','','',''); - --- 微信提交基本信息页面模板 -Insert Into 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 ('WechatBasicChange','微信提交客户基本信息变更表',null,'30270',null,'1','2','default','jbo.app.WECHAT_BASIC_CHANGE','O','ID=:ID ','','','','','SYS_Designer','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','','1',''); -Insert Into 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 ('WechatBasicChange','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1020','1020','1','O','CUSTOMER_ID','CUSTOMER_ID','String','','承租人编号','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1030','1030','1','O','name','name','String','','姓名','','1','Text','1','1','','','','32','1','1','0','1','1',0,'0','0010','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:01:54','0','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1040','1040','1','O','certid','certid','String','','证件号','','1','Text','1','1','','','','32','1','1','0','1','1',0,'0','0010','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1050','1050','1','O','btel','btel','String','','手机号','','1','Text','1','1','','','','20','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1060','1060','1','O','bWORKADD','bWORKADD','String','','工作单位地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1070','1070','1','O','bworkname','bworkname','String','','工作名称','','1','Text','1','1','','','style={width:400px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1080','1080','1','O','bFULLADDRESS','bFULLADDRESS','String','','居住地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1090','1090','1','O','atel','atel','String','','手机号','','1','Text','1','1','','','','20','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1100','1100','1','O','aWORKADD','aWORKADD','String','','工作单位地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1110','1110','1','O','aworkname','aworkname','String','','工作名称','','1','Text','1','1','','','style={width:400px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1120','1120','1','O','aFULLADDRESS','aFULLADDRESS','String','','居住地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','',''); -Insert Into 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 ('WechatBasicChange','1140','1140','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','1',2,'0','0040','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:50','0','','1','','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0010','客户信息','SYS_Designer','2019/11/01 16:31:44','SYS_Designer','2019/11/01 17:13:23','','0010','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0020','修改前的值','SYS_Designer','2019/11/01 16:32:45','SYS_Designer','2019/11/01 17:13:23','','0020','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0030','修改后的值','SYS_Designer','2019/11/01 16:32:45','SYS_Designer','2019/11/01 17:13:23','','0030','','','',2,'','','',''); -Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0040','审批意见','SYS_Designer','2019/11/01 16:36:18','SYS_Designer','2019/11/01 17:13:23','','0040','','','',1,'','','',''); - --- 添加方法 -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','扣款卡信息流程发起后取消','Bizlet','扣款卡信息流程发起后取消','String','String ObjectNo','com.tenwa.lease.flow.project.commbusiness.LBCustomerAccountHisToFormal','','','','','',''); -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程否决','Bizlet','微信提交信息变更发起流程否决','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitStatusVeto','','','','','',''); -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程通过','Bizlet','微信提交信息变更发起流程通过','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitStatus','','','','','',''); -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程修改状态','Bizlet','微信提交信息变更发起流程修改状态','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitFlow','','','','','',''); - --- 扣款卡变更流程中添加方法 -delete from FLOW_MODEL where flowno='AccountChangeFlow'; -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('AccountChangeFlow','0010','1010','资管业务',NULL,NULL,'!基础操作.扣款卡信息正式到变更(#ObjectNo)+!基础操作.合同基本信息从正式到临时(#ObjectNo)+!审批流程.微信提交信息变更发起流程修改状态(#ObjectNo)','{#UserID}',NULL,'selectroute',NULL,NULL,'#PhaseOpinion1','closePage,doSubmit,signOpinion',NULL,'all_except','ProjectApproval',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'234','128','105','50','1',NULL,'TASK',NULL,'Y','N','AccountChangeFlow0010','if(\"03\".equals(fixedParam.get(\"CustomerType\"))){\r\nTreeView.deleteNode(\"扣款法人信息变更\");\r\nTreeView.deleteNode(\"法人收付款信息\");\r\nTreeView.updateNodeName(\"扣款自然人信息变更\",\"扣款信息变更\");\r\n}else{\r\nTreeView.deleteNode(\"收付款信息\");\r\nTreeView.deleteNode(\"扣款自然人信息变更\");\r\nTreeView.updateNodeName(\"扣款法人信息变更\",\"扣款信息变更\");\r\n}\r\nTreeView.updateNodeSetReadOnly(\"扣款信息变更\",\"\");','TreeView.deleteCheckItemByCode(\"0004\")',NULL,NULL,NULL,'!审批流程.扣款卡信息流程发起后取消(#ObjectNo)',NULL,'N','[{stepno:\"结束(1000)\",stepcondition:\"提交给结束\"},{stepno:\"否决(8000)\",stepcondition:\"提交给否决\"}]',NULL,NULL,NULL,NULL,NULL); -INSERT INTO `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) VALUES('AccountChangeFlow','1000','1040','结束',NULL,NULL,'!基础操作.新增业务消息提醒(#ObjectNo)+!审批流程.微信提交信息变更发起流程通过(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000016,业务二部运营专员初审\"}]',NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'153','267','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('AccountChangeFlow','8000','1050','否决',NULL,NULL,'!审批流程.微信提交信息变更发起流程否决(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'313','289','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); - --- 提前结清 -delete from FLOW_MODEL where FlowNo='ContractTerminateFlow' AND phaseno IN ('0010','1000','8000'); -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','0010','1010','资管业务岗',NULL,NULL,'!基础操作.合同基本信息从正式到临时(#ObjectNo)+!基础操作.租赁物表从正式到临时(#ObjectNo)+!基础操作.商务条件起租到临时表(#ObjectNo)+!基础操作.租金计划表从正式到历史(#ObjectNo)+!审批流程.微信提交信息变更发起流程修改状态(#ObjectNo)','{#UserID}',NULL,'commroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000019,资管业务员\"}]','#PhaseOpinion1','closePage,doSubmit,signOpinion',NULL,'all_except','ContractTerminate',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'483','134','100','50','1',NULL,'TASK',NULL,'N','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.updateNodeSetReadOnly(\"变更信息\",null);\r\nTreeView.updateNodeSetReadOnly(\"提前终止变更\",null);\r\nTreeView.updateNodeSetReadOnly(\"一般租赁物\",null);\r\nTreeView.updateNodeSetReadOnly(\"汽车\",null);\r\nTreeView.addLastNodeByCode(\"11350\");\r\nTreeView.updateNodeName(\"变更说明\",\"提前结清说明\");\r\nTreeView.addBeforeNodeByCode(\"提前终止变更\", \"11390\");\r\nTreeView.addBeforeNodeByCode(\"提前网银核销\", \"11610\");',NULL,'backnextstep',NULL,NULL,'TreeView.addDeleteCallBackSql(\"jbo.com.tenwa.lease.comm.LC_OCCUPY_RENT_LIST\",\"delete from o where o.flowunid=:FlowUnid\");\r\nTreeView.addDeleteCallBackSql(\"jbo.app.tenwa.calc.LC_EBANK_PROCESS\",\"delete from O where flowunid=:FlowUnid\");+!审批流程.扣款卡信息流程发起后取消(#ObjectNo)',NULL,'N','资管负责人(0020)',NULL,NULL,NULL,NULL,NULL); -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','1000','1040','结束',NULL,NULL,'!基础操作.变更信息表从临时到正式(#ObjectNo)+!基础操作.提前结清租金存储过程(#ObjectNo)+!基础操作.商务条件临时表到起租层(#ObjectNo)+!基础操作.租金变更信息临时表到正式表(#ObjectNo)+!基础操作.调息删除互斥(#ObjectNo)+!审批流程.凭证输出--提前结清(#ObjectNo)+!通用流程操作.保存项目进度状态(#ObjectNo,52)+!基础操作.流程结束后删除对应租金计划的占用(#ObjectNo)+!基础操作.提前结清网银信息临时表到正式表(#ObjectNo)+!基础操作.更新合同状态(#ObjectNo,100)+!审批流程.微信提交信息变更发起流程通过(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,'closePage',NULL,'all_except','ContractApproval',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'437','528','50','50','1',NULL,'END',NULL,'N','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.addLastNodeByCode(\"11350\");',NULL,NULL,NULL,NULL,NULL,NULL,'N',NULL,NULL,NULL,NULL,NULL,NULL); -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','8000','1050','否决',NULL,NULL,'!审批流程.微信提交信息变更发起流程否决(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'581','523','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); - --- 添加消息提醒数据字典 -Insert Into 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 ('message_catalog','Advance_Settle_Apply','微信提交提前结清申请',null,'0130','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/11/04 11:19:11','SYS_Designer','2019/11/04 11:20:11',null,null); - -Insert Into 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 ('message_catalog','bank_info_change','微信提交扣款卡信息变更',null,'0120','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/10/30 19:50:11','SYS_Designer','2019/10/30 19:52:11',null,null); -Insert Into 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 ('message_catalog','basic_info_change','微信提交基本信息变更',null,'0110','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/10/30 19:41:11','SYS_Designer','2019/10/30 19:42:11',null,null); - --- 添加消息提醒配置 -insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('230f12df57324ad7b4f959b9ef52596a','0120','basic_info_change','微信提交基本信息变更','[{usertype:\"指定人员\",userinfo:\"administrator,超级管理员\"}]','kong','/Tenwa/wechat/WechatBasicChange.jsp','','PAUSED','','','','','','','','','valid','Y'); -insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('7457fee6a7654054b0a214bf05d8c68e','0130','Advance_Settle_Apply','微信提交提前结清申请','[{usertype:\"指定人员\",userinfo:\"8009U00000002,定时任务管理员\"}]','null','/Tenwa/wechat/WechatAdvanceSettleInfo.jsp','','PAUSED','','','','','','','','','valid','Y'); -insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('b407c6f005f54319b8f3b3396efae620','0130','bank_info_change','微信提交银行卡信息修改提醒','[{usertype:\"指定人员\",userinfo:\"8009U00000002,定时任务管理员\"}]','null','/Tenwa/wechat/WechatBanknumberChangeInfo.jsp','','PAUSED','','','','','','','','','valid','Y'); - --- 添加附件资料显示 -Insert Into 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 ('WechatBankNumberDocList','微信提交银行正反面附件',null,'30270',null,'1','1','default','jbo.app.tenwa.doc.LB_DOCLIBRARY','O,jbo.app.tenwa.doc.LB_DOCRELATIVE rela','rela.id=O.relative_Id and rela.template_id=:bankInfoId','','DOC_CLASS_ITEMNO,Serial_Num','',null,'SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','','1',''); -Insert Into 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 ('WechatBankNumberDocList','1010','1121','1','O','Serial_Num','Serial_Num','String','','序号','','1','Text','1','1','','','style={width:30px;}','32','0','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1020','1020','1','O','Doc_Name','Doc_Name','String','','资料名称','','1','Text','1','1','','','style={width:300px;}','200','1','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1030','1030','1','O','Doc_Nature','Doc_Nature','String','','资料性质','','1','Select','1','1','Code','DocNature','style={width:70px;}','64','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:50','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1040','1040','1','O','Remark','Remark','String','','备注','','1','Text','1','1','','','style={width:200px;}','200','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:57','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1045','1045','1','O','OPERATE_CHECK','OPERATE_CHECK','String','','运营确认','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1050','1050','1','O','Doc_Type','Doc_Type','String','','资料类型','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1060','1001','1','O','One_Classify','One_Classify','String','','一级分类','','1','Text','1','1','Code','DocList','','150','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:37','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1070','1002','1','O','Two_Classify','Two_Classify','String','','二级分类','','1','Text','1','1','','','style="white-space: pre-wrap;"','150','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1080','1080','1','O','Id','Id','String','','id主键','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1090','1042','1','','''''','operation','String','','操作','','1','Text','1','2','','','style={width:50px;}',null,'0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:50:14','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1100','1100','1','','com.tenwa.doc.cache.DocListCache.getFile(Id)','filelist','String','','附件清单','','1','Text','1','1','','','style={width:600px;word-break:break-all;}',null,'1','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1120','1120','1','O','DOC_CLASS_ITEMNO','DOC_CLASS_ITEMNO','String','','资料分类编号','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1122','1122','1','rela','OBJECTTYPE','OBJECTTYPE','String','','对象类别','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','',''); -Insert Into 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 ('WechatBankNumberDocList','1140','1041','1','O','BUSINESS_CHECK','BUSINESS_CHECK','String','','业务检查','','1','Select','1','1','Code','DocCheck','style={width:60px}','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:50:03','0','','1','','','',''); - --- 添加定时任务 -Insert Into 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 ('MissionName','com.tenwa.lease.app.quartzmession.DeleteWechatRentPay','删除微信付款失败占用表','','0490','1','','','','','','','','','','','','SYS_Designer',null,'2019/11/30 16:48:08','SYS_Designer','2019/11/30 16:48:08','',''); - - --- ---------------------------------- --- -------------三期-------------------- --- 添加方法 -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','付款申请退回在提交标记','Bizlet','付款申请退回在提交标记','String','String ObjectNo','com.tenwa.flow.fund.flowpayment.SubmitAgainLabel','','','','','',''); --- 付款申请退回再次提交 将方法添加到流程中 -delete from FLOW_MODEL where FlowNo='FundPaymentCarFlow' AND PhaseNo='0020'; -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('FundPaymentCarFlow','0020','1020','运营部初审',NULL,NULL,'!审批流程.付款申请提交时自动删除GPS状态(#ObjectNo)+!审批流程.付款申请退回在提交标记(#ObjectNo)','toStringArray(\"#PhaseAction\",\",\",\" \",1)',NULL,'commroute',NULL,'[{usertype:\"选择指定任务池角色\",userinfo:\"800R00000016,业务二部运营专员初审\"}]','#PhaseOpinion1','closePage,doSubmit,backStep,signOpinion',NULL,'all_except',NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'368','250','100','50','1',NULL,'TASK',NULL,'N','N','FundPaymentCarFlow010','Map paramMap=new HashMap();\r\nparamMap.put(\"TempletNo\", \"FlowPayDocList\");\r\nparamMap.put(\"isReview\", \"true\");\r\nTreeView.AddNodeUrlParam(\"投放资料清单\", paramMap);\r\nTreeView.updateNodeSetReadOnly(\"商务条件\",\"ReadOnly\");\r\nTreeView.addLastNodeByCode(\"11268\");\r\nTreeView.addBeforeNodeByCode(\"合同列表\",\"11532\");\r\nTreeView.deleteNode(\"扣款卡信息详情\");','','backnextperson',NULL,NULL,NULL,NULL,'N','运营复审(0030)',NULL,NULL,NULL,NULL,NULL); - --- 提前结清都按一年外计算 -delete from awe_do_library where dono='LCContractTerminate' and colindex='1064'; -Insert Into 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 ('LCContractTerminate','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','SYS_Designer','2019/11/27 10:53:26','0','','1','','','',''); - -delete from awe_do_library where dono='LCContractTerminate' and colindex='1065'; -Insert Into 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 ('LCContractTerminate','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','SYS_Designer','2019/11/27 10:53:26','0','','1','','','',''); - - --- 创建推送日志表表 -DROP TABLE lb_PaymentReturn_log; -CREATE TABLE `lb_PaymentReturn_log` ( - `id` VARCHAR(32) NOT NULL COMMENT '主键', - `contract_no` VARCHAR(50) DEFAULT NULL COMMENT '合同编号', - `distributor_name` VARCHAR(100) DEFAULT NULL COMMENT '渠道', - `product_name` VARCHAR(100) DEFAULT NULL COMMENT '产品名称', - `person_name` VARCHAR(100) DEFAULT NULL COMMENT '客户名称', - `pay_object` VARCHAR(100) DEFAULT NULL COMMENT '付款对象', - `pay_number` VARCHAR(32) DEFAULT NULL COMMENT '付款金额', - `distributor_bank_name` VARCHAR(100) DEFAULT NULL COMMENT '经销商SP银行', - `distributor_Account_name` VARCHAR(100) DEFAULT NULL COMMENT '经销商SP银行账户', - `distributor_bank_number` VARCHAR(32) DEFAULT NULL COMMENT '经销商SP银行账号', - `loan_type` VARCHAR(32) DEFAULT NULL COMMENT '放款方式', - `INPUTUSERNAME` VARCHAR(32) DEFAULT NULL COMMENT '登录名', - `INPUTUSERID` VARCHAR(32) DEFAULT NULL COMMENT '登记人', - `INPUTORGID` VARCHAR(32) DEFAULT NULL COMMENT '登记部门', - `INPUTTIME` VARCHAR(32) DEFAULT NULL COMMENT '登记时间', - `UPDATEUSERID` VARCHAR(32) DEFAULT NULL COMMENT '更新人', - `UPDATEORGID` VARCHAR(32) DEFAULT NULL COMMENT '更新部门', - `UPDATETIME` VARCHAR(32) DEFAULT NULL COMMENT '更新时间', - PRIMARY KEY (`id`) -) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='汽车付款申请退回日志表'; - --- 手续费率维护 -delete from AWE_DO_CATALOG where dono='LPoundageMaintenanceInfo'; -Insert Into 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 ('LPoundageMaintenanceInfo','扣款渠道手续费率维护',null,'30020',null,'1','2','default','jbo.app.tenwa.customer.LPOUNDAGE_MAINTENANCE','O','ID=:ID','','','com.amarsoft.awe.dw.handler.impl.CommonHandler',null,'SYS_Designer','2019/11/13 20:20:25','SYS_Designer','2019/11/16 14:26:11','','1',''); -delete from awe_do_library where dono='LPoundageMaintenanceInfo'; -Insert Into 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 ('LPoundageMaintenanceInfo','0010','0010','1','O','id','id','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0015','0015','1','O','start_date','start_date','String','','开始日期','','1','Date','3','1','','','','32','1','0','1','1','0',0,'','','','SYS_Designer','2019/11/25 17:52:30','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0016','0016','1','O','expiry_date','expiry_date','String','','终止日期','','1','Date','3','1','','','','32','1','0','1','1','0',0,'','','','SYS_Designer','2019/11/25 17:52:30','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0020','0020','1','O','validity_date','validity_date','String','','有效期','','1','Text','1','1','','','','50','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0030','0030','1','O','subject','subject','String','','主体','','1','Text','1','1','','','','50','0','1','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0040','0040','1','O','charge_channel','charge_channel','String','','扣款渠道','','1','Select','1','1','Code','charge_channel','','50','1','0','1','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0050','0050','1','O','charge_way','charge_way','String','','扣款方式','','1','Select','1','1','Code','charge_way','','50','1','0','1','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0060','0060','1','O','rate','rate','Number','','费率','%','1','Text','2','1','','','','50','1','0','1','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','SYS_Designer','2019/12/06 20:16:08','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0100','0100','1','O','updateuserid','updateuserid','String','','更新人','','1','Text','1','1','','','','32','0','1','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0110','0110','1','O','updateorgid','updateorgid','String','','更新部门','','1','Text','1','1','','','','32','0','1','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0120','0120','1','O','updatetime','updatetime','String','','更新时间','','1','Text','3','1','','','','32','0','1','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:20:25','administrator','2019/12/06 18:11:49','0','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0130','0130','1','O','inputuserid','inputuserid','String','','登记人','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/16 14:41:47','administrator','2019/12/06 18:11:49','','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0140','0140','1','O','inputorgid','inputorgid','String','','登记部门','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/16 14:41:47','administrator','2019/12/06 18:11:49','','','1','','','',''); -Insert Into 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 ('LPoundageMaintenanceInfo','0150','0150','1','O','inputtime','inputtime','String','','登记时间','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/16 14:41:47','administrator','2019/12/06 18:11:49','','','1','','','',''); - - - --- 传统添加手续费类型 -Insert Into 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 ('LoanSimulationBasicInfoBusiness','01510','01510','1','O','HANDLING_CHARGE_MONEY_TYPE','HANDLING_CHARGE_MONEY_TYPE','String','','手续费类型','','1','Select','1','1','','0010,一次性确认收入,0020,按月分摊收入','','32','0','0','0','1','0',0,'','credit_conditon','','SYS_Designer','2019/12/08 17:00:26','SYS_Designer','2019/12/08 17:04:33','0','','1','','','',''); - --- 手续费的扣款数据字典 -delete from CODE_CATALOG where codeno='charge_way'; -Insert Into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('charge_way','0012','费率维护','参数定义','扣款方式','','','SYS_Designer',null,'2019/12/06 10:45:39','SYS_Designer','2019/12/06 10:45:39',''); - -delete from Code_Library where codeno='charge_way'; -Insert Into 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 ('charge_way','AutoBuckle','自动卡扣','','0040','1','','','','gzyl','','','','','','','','SYS_Designer',null,'2019/12/06 10:52:30','SYS_Designer','2019/12/12 19:06:36','',''); -Insert Into 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 ('charge_way','Collection','网银回款','','0050','1','','','','wysk','','','','','','','','SYS_Designer',null,'2019/12/16 10:02:11','SYS_Designer','2019/12/16 11:56:51','',''); -Insert Into 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 ('charge_way','WXPay','微信支付','','0010','1','','','','wx','','','','','','','','SYS_Designer',null,'2019/12/06 10:45:39','SYS_Designer','2019/12/06 10:54:03','',''); -Insert Into 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 ('charge_way','WXUnionPay','主动支付','','0020','1','','','','gzyl','','','','','','','','SYS_Designer',null,'2019/12/06 10:45:39','SYS_Designer','2019/12/12 19:12:48','',''); - -delete from CODE_CATALOG where codeno='charge_channel'; -Insert Into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('charge_channel','0011','费率维护','参数定义','扣款渠道','','','SYS_Designer',null,'2019/12/06 10:41:42','SYS_Designer','2019/12/06 10:41:42',''); -delete from Code_Library where codeno='charge_channel'; -Insert Into 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 ('charge_channel','gzyl','广州银联','','0010','1','','','','','','','','','','','','SYS_Designer',null,'2019/12/06 10:41:42','SYS_Designer','2019/12/12 19:04:25','',''); -Insert Into 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 ('charge_channel','wx','微信','','0020','1','','','','','','','','','','','','SYS_Designer',null,'2019/12/06 10:41:42','SYS_Designer','2019/12/12 19:04:25','',''); -Insert Into 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 ('charge_channel','wysk','网银回款','','0030','1','','','','','','','','','','','','SYS_Designer',null,'2019/12/16 10:00:51','SYS_Designer','2019/12/16 11:56:51','',''); - --- 取招商银行的实际付日期 -ALTER TABLE lc_fund_income_callback_detail_temp ADD COLUMN isPaymentDate VARCHAR(5) NULL COMMENT '是否查询交易日(01已查询)' AFTER contract_id, ADD COLUMN PaymentDate VARCHAR(32) NULL COMMENT '支付时间' AFTER isPaymentDate; --- 将历史数据改为已查询 -update lc_fund_income_callback_detail_temp set isPaymentDate='01'; - -Insert Into 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 ('实际付款流程(汽车)','0030','0030','付款日期','','20','','','1','10',null,'付款日期已填写','付款日期未填写','SELECT CASE WHEN COUNT(id)>0 THEN ''false'' ELSE ''true'' END AS ''date'' FROM LC_FUND_INCOME_TEMP WHERE FlowUnid=''#{ObjectNo}'' AND (FACT_DATE IS NULL OR FACT_DATE='''')','',null,null,null,null,null,null,null,null); -Insert Into SCENARIO_RELATIVE (scenarioid,groupid,modelid) Values ('实际付款流程(汽车)','0030','0030'); - -Insert Into 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 ('MissionName','com.tenwa.lease.app.quartzmession.SelectActualPaymentDate','自动获取实际支付日期','','0550','1','自动获取实际支付日期','','','','','','','','','','','SYS_Designer',null,'2019/12/18 15:50:19','SYS_Designer','2019/12/18 15:50:19','',''); - --- 合同新查询优化 -Insert Into 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 ('ViBusinessAffinfo','项目总表--合同基本信息总表',null,'30',null,'1','2','default','jbo.com.tenwa.lease.comm.VI_BUSINESS_AFFINFO','O','O.businesstype=''1''','','','',null,'SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','','1',''); -Insert Into 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 ('ViBusinessAffinfo','1000','1000','1','O','id','id','String','','标识符','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1001','1002','1','O','project_id','project_id','String','','项目编号id','','1','Text','1','1','','','',null,'0','1','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','0','','0','','','',''); -Insert Into 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 ('ViBusinessAffinfo','10010','10010','1','O','CUSTOMER_NAME','CUSTOMER_NAME','String','','客户名称','','1','Text','1','1','','','','200','1','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:29:35','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','10015','10015','1','O','PROJECT_NO','PROJECT_NO','String','','申请编号','','1','Text','1','1','','','','32','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Equals,Like'); -Insert Into 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 ('ViBusinessAffinfo','1002','1001','1','O','contract_stat','contract_stat','String','','合同状态','','1','Text','1','1','','','','20','1','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 15:09:29','SYS_Designer','2019/12/17 15:35:55','','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1010','1010','1','O','contract_no','contract_no','String','','合同号','','1','Text','1','1','','','','50','1','1','0','1','1',1,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','1020','1020','1','O','contract_number','contract_number','String','','业务合同编号','','1','Text','1','1','','','','50','0','0','0','1','0',1,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','1040','1040','1','O','project_name','project_name','String','','业务名称','','1','Text','1','1','','','style={width:802;} onBlur=\"javascript:setProjectName()\"','200','1','1','0','1','0',2,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','1190','1190','1','O','project_type','project_type','String','','项目类型','','1','Select','1','1','Code','related','','32','0','0','0','1','0',1,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1210','1210','1','O','project_source','project_source','String','','项目来源','','1','Select','1','1','Code','cust_source','','32','0','0','0','1','0',2,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1220','1220','1','O','project_industry','project_industry','String','','内部行业','','1','Select','1','1','Code','cust_kind','','32','0','0','0','1','0',1,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1240','1240','1','O','leas_form','leas_form','String','','租赁形式','','1','Select','1','1','Code','leas_form','','32','1','0','0','1','0',1,'0','0010','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1260','1260','1','O','project_dept','project_dept','String','','项目出单部门id','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1261','1261','1','O','project_dept_detail','project_dept_detail','String','','项目出单部门','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','0010','proj_dept','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','0','','','selectOrg()','Equals,Like'); -Insert Into 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 ('ViBusinessAffinfo','1270','1270','1','O','project_registrar','project_registrar','String','','经办人id','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1271','1271','1','','NameManager.getUserName(project_registrar)','project_registrarname','String','','经办人','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','0010','proj_registrar','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','selectRegisterUser()',''); -Insert Into 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 ('ViBusinessAffinfo','1281','1281','1','','NameManager.getUserName(project_manage)','project_managename','String','','项目经理','','1','Text','1','1','','','','32','1','1','0','1','0',1,'0','0010','proj_manage','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','0','','','selectManageUser()',''); -Insert Into 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 ('ViBusinessAffinfo','1290','1290','1','O','project_assist','project_assist','String','','项目协办id','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1291','1291','1','','NameManager.getUserName(project_assist)','project_assistname','String','','项目协办','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','0010','proj_assist','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','0','','','selectAssistUser()',''); -Insert Into 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 ('ViBusinessAffinfo','1310','1310','1','O','InputUserID','InputUserID','String','','登记人','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1320','1320','1','O','UpdateUserID','UpdateUserID','String','','更新人','','1','Text','1','1','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1321','1321','1','O','InputTime','InputTime','String','','登记时间','','1','Text','1','2','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1322','1322','1','O','UpdateTime','UpdateTime','String','','更新时间','','1','Text','1','2','','','','32','0','0','0','1','0',1,'0','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1323','1323','1','O','flowunid','flowunid','String','','流程标识','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1325','1325','1','O','project_manage','project_manage','String','','项目经理id','','1','Text','1','1','','','','32','0','0','0','1','0',1,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','1326','1003','1','','com.tenwa.flow.util.FlowInfoUtil.getProjectNo(project_id)','proj_idno','String','','业务编号','','1','Text','1','1','','','',null,'0','1','0','1','0',1,'','0010','proj_id','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','0','','0','','','','Equals,Like'); -Insert Into 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 ('ViBusinessAffinfo','1328','1004','1','O','project_date','project_date','String','','申请日期','','1','Text','1','1','','','','32','1','1','0','1','0',1,'','0010','','SYS_Designer','2019/12/17 11:18:14','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','14020','14020','1','O','CONTRACT_STATUS','CONTRACT_STATUS','String','','合同状态','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14025','14025','1','O','PROJECT_NO','PROJECT_NO','String','','申请号','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14030','14030','1','O','CONTRACT_NUMBER','CONTRACT_NUMBER','String','','合同号','','1','Text','1','1','','','','20','0','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','14035','14035','1','O','CUSTOMER_NAME','CUSTOMER_NAME','String','','承租人','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:29:48','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14040','14040','1','O','FRAME_NUMBER','FRAME_NUMBER','String','','车架号','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14045','14045','1','O','mobile','mobile','String','','手机号','','1','Text','1','1','','','','20','1','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14050','14050','1','O','name','name','String','','共同承租人','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14055','14055','1','O','VNDR_NAME','VNDR_NAME','String','','经销商/SP','','1','Text','1','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14060','14060','1','O','APPLYPAY_DATE','APPLYPAY_DATE','String','','放款申请时间','','1','Text','1','1','','','','20','1','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Like'); -Insert Into 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 ('ViBusinessAffinfo','14065','14065','1','O','START_DATE','START_DATE','String','','起租日','','1','Date','3','1','','','','20','1','0','0','1','1',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','0','','1','','','','Area'); -Insert Into 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 ('ViBusinessAffinfo','14070','14070','1','O','ITEMNAME','ITEMNAME','String','','所属渠道','','1','Text','1','1','','','','32','1','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','','','1','','','',''); -Insert Into 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 ('ViBusinessAffinfo','14075','14075','1','O','PRODUCT_ID','PRODUCT_ID','String','','PRODUCT_ID','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/12/17 11:18:15','SYS_Designer','2019/12/17 11:28:51','','','1','','','',''); - --- 扣款复核页面 -delete from awe_do_catalog where dono='ViLcReviewAuditRentPlanList'; -insert into `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('ViLcReviewAuditRentPlanList','代收复审列表',NULL,'30030',NULL,'1','1','default','jbo.com.tenwa.lease.comm.VI_LC_AUDIT_RENT_PLAN','O','v.date_format(O.PLAN_DATE,\'%Y/%m/%d\') <= v.date_format(v.sysdate(),\'%Y/%m/%d\') AND O.COLLECT_STATUS IN (\'未收款\',\'部分收款\',\'代偿\') AND NOT EXISTS (SELECT 1 FROM jbo.app.tenwa.customer.DEDUCTIONS_WAY dw WHERE dw.Whether_to_enable=\'Y\' AND O.distributor_id=dw.distributor_id) AND NOT EXISTS (SELECT 1 FROM jbo.com.tenwa.lease.comm.LC_OCCUPY_RENT_LIST lorl WHERE LEFT(lorl.payment_number,20)=O.contract_number AND lorl.flow_name IN (\'微信银联收款\',\'微信支付收款\'))','','plan_date','',NULL,'SYS_Designer','2018/06/08 16:19:46','SYS_Designer','2019/08/09 15:31:10','','1',''); - --- 提前结清结清添加方法 -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','提前结清费用改变','Bizlet','提前结清费用改变','String','String ObjectNo','com.tenwa.lease.flow.project.businessapply.CostChangeToTree','','','','','',''); -insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','提前结清费用未改变','Bizlet','提前结清费用未改变','String','String ObjectNo','com.tenwa.lease.flow.project.businessapply.CostChangeNotToTree','','','','','',''); --- 提前结清流程添加节点 -delete from FLOW_MODEL where flowno='ContractTerminateFlow' and phaseno='0030'; -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','0030','1020','汽车业务部总监',NULL,NULL,NULL,'toStringArray(\"#PhaseAction\",\",\",\" \",1)',NULL,'commroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000031,风险经办\"}]','#PhaseOpinion1','closePage,doSubmit,backStep,signOpinion,circulate',NULL,'all_except','ContractTerminate',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'483','436','100','50','1',NULL,'TASK',NULL,'Y','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.addLastNodeByCode(\"11350\");\r\nTreeView.updateNodeName(\"变更说明\",\"提前结清说明\");\r\nTreeView.addBeforeNodeByCode(\"提前终止变更\", \"11390\");\r\nTreeView.addBeforeNodeByCode(\"提前网银核销\", \"11610\");',NULL,'backnextstep','资管负责人(0020)',NULL,NULL,NULL,'N','财务部复核(0040)',NULL,NULL,NULL,NULL,NULL); -delete from FLOW_MODEL where flowno='ContractTerminateFlow' and phaseno='0040'; -insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','0040','1020','财务部复核',NULL,NULL,NULL,'toStringArray(\"#PhaseAction\",\",\",\" \",1)',NULL,'selectroute',NULL,'[{usertype:\"选择指定任务池角色\",userinfo:\"800R00000021,财务经办\"}]','#PhaseOpinion1','closePage,doSubmit,backStep,signOpinion',NULL,'all_except','ContractTerminate',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'482','589','100','50','1',NULL,'TASK',NULL,'Y','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.addLastNodeByCode(\"11350\");\r\nTreeView.updateNodeName(\"变更说明\",\"提前结清说明\");\r\nTreeView.addBeforeNodeByCode(\"提前终止变更\", \"11390\");\r\nTreeView.addBeforeNodeByCode(\"提前网银核销\", \"11610\");',NULL,'backnextstep',NULL,NULL,NULL,NULL,'N','[{stepno:\"结束(1000)\",stepcondition:\"提交给结束\"},{stepno:\"否决(8000)\",stepcondition:\"提交给否决\"}]',NULL,NULL,NULL,NULL,NULL); - - - +-- 添加字段 +ALTER TABLE prd_specific_library ADD COLUMN ManySubject VARCHAR(32) NULL COMMENT '主体' AFTER GPS_VENDOR; +ALTER TABLE lb_project_info ADD COLUMN SUBJECTNAME VARCHAR(100) NULL COMMENT '主体名称' AFTER SUBJECTID; +ALTER TABLE lb_project_info_temp ADD COLUMN SUBJECTNAME VARCHAR(100) NULL COMMENT '主体名称' AFTER SUBJECTID; +ALTER TABLE lb_contract_info ADD COLUMN SUBJECTNAME VARCHAR(100) NULL COMMENT '主体名称' AFTER SUBJECTID; +ALTER TABLE lb_contract_info_temp ADD COLUMN SUBJECTNAME VARCHAR(100) NULL COMMENT '主体名称' AFTER SUBJECTID; +ALTER TABLE lb_contract_info_his ADD COLUMN SUBJECTNAME VARCHAR(100) NULL COMMENT '主体名称' AFTER SUBJECTID; + +-- 产品中添加主体维护 +delete from awe_do_library where dono='PRD_ProductSpecificInfo01' and colindex='12460'; +Insert Into 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 ('PRD_ProductSpecificInfo01','12460','2029','1','O','ManySubject','ManySubject','String','','主体','','1','Select','1','1','Code','ManySubject','','32','1','0','0','1','0',0,'','','','SYS_Designer','2019/11/28 17:41:11','SYS_Designer','2019/11/28 19:42:54','0','','1','','','',''); + +-- 添加选择主体的选择对话框 +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('selectManySubject','Sql','选择多主体','app_conf_functional_file','','Grid','','itemno,bankno','SELECT itemno,itemname,bankno FROM CODE_LIBRARY WHERE codeno=''ManySubject''','主体ID,主体名称,主体编码','itemname@style={width:300px;}','itemno@itemname@bankno','','1','Single','','','','','','SYS_Designer','','2019/11/28 20:31:45','SYS_Designer','2019/12/12 16:58:03',''); + +-- 汽车业务申请选择产品返回主体信息 +delete from SELECT_CATALOG where selname='selectProductVersionInfo'; +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('selectProductVersionInfo','Sql','查询产品名称及版本','business_type','typeno','Grid','String carAttributes,String leasehold,String modelid,String CurOrgID,String YesNo','typeno,sortno,PRODUCTID,VERSIONID,id,distributor_name,modelid,modelname,equip_type,LeasForm,operationType,ManySubject','SELECT t.typeno,t.sortno,t.typename,t.PRODUCTID,t.VERSIONID,t.id,t.distributor_name,t.modelid,t.modelname,t.equip_type,t.LeasForm,t.operationType,t.ManySubject FROM ( + SELECT * FROM vi_product v1 + WHERE v1.IS_ALL_DEALER = ''Y'' AND v1.IS_ALL_CAR = ''Y'' + AND v1.attribute2 = ''#attribute2'' + UNION ALL + SELECT * FROM vi_product v1 + WHERE v1.IS_ALL_DEALER = ''Y'' AND v1.IS_ALL_CAR = ''N'' + AND v1.attribute2 = ''#attribute2'' + AND v1.modelid = ''#modelid'' + UNION ALL + SELECT * FROM vi_product v1 + WHERE v1.IS_ALL_DEALER = ''N'' AND v1.IS_ALL_CAR = ''Y'' + AND v1.attribute2 = ''#attribute2'' + AND v1.orgid = ''#CurOrgID'' + UNION ALL + SELECT * FROM vi_product v1 + WHERE v1.IS_ALL_DEALER = ''N'' AND v1.IS_ALL_CAR = ''N'' + AND v1.attribute2 = ''#attribute2'' + AND v1.orgid = ''#CurOrgID'' AND v1.modelid = ''#modelid'' + + ) t GROUP BY t.productid','产品编号,产品排序号,产品名称,产品ID,版本ID,经销商ID,经销商名称,车型ID,车型名称,车辆属性,租赁方式,业务模式,主体编码','typename@style={width:350px}','typeno@sortno@typename@PRODUCTID@VERSIONID@id@distributor_name@modelid@modelname@equip_type@LeasForm@operationType@ManySubject','typename','1','Single','','','','','','SYS_Designer','','2018/06/16 17:17:43','SYS_Designer','2019/11/28 19:29:45',''); + + -- 业务申请页面添加主题名称字段 +Insert Into 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 ('VI_PROJECTINFO_APPROVAL','1280','1280','1','O','subjectname','subjectname','String','','主体名称','','1','Text','1','1','','','style={width:78%}','20','1','1','0','1','0',0,'','0009','','SYS_Designer','2019/12/06 15:23:39','SYS_Designer','2019/12/06 15:26:41','0','','1','','','',''); + +-- 业务申请变更添加主题 +delete from SELECT_CATALOG where selname='selectBusinessRecreditProject'; +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('selectBusinessRecreditProject','Sql','查询汽车业务复议项目','','','Grid','String userid','id,product_id,project_name,customertype,car_type,leas_form,operationType,certtype,custkind,subjectid,subjectname','SELECT lpi.id,lpi.product_id,lpi.project_no,lpi.project_name,ci.customername,getItemName(''CertType'',ci.certtype) certtype,ci.certid,getItemName(''cust_kind'',lpi.project_industry) as custkind,getUserName(project_manage) as project_manage_name,getOrgName(lpi.project_dept) project_dept,lcs.status_name,ci.customertype,lpi.car_type,lpi.leas_form,psl.operationType,ci.certtype,lpi.subjectid,lpi.subjectname FROM LB_PROJECT_INFO lpi left join lb_contract_status lcs on lpi.project_status=lcs.status_code LEFT JOIN LB_UNION_LESSEE lult on lpi.id=lult.project_id and lult.is_main=''y'' and( lult.contract_id is null or lult.contract_id='''') LEFT JOIN CUSTOMER_INFO ci on lult.customer_id=ci.customerid left join PRD_SPECIFIC_LIBRARY psl on psl.productid=lpi.product_id where lpi.project_status=''13'' and (SELECT COUNT(id) FROM lb_contract_info_temp WHERE project_id=lpi.ID)=0 and lpi.businesstype=''1'' {lpi,proj} and lpi.project_manage=''#userid'' order by lpi.project_no desc','id,产品编号,申请编号,项目名称,客户名称,证件类别,证件号码,内部行业,项目经理,出单部门,项目状态,客户类型,车辆车型,租赁方式,主体id,主体名称','','id@product_id@project_no@project_name@customertype@car_type@leas_form@operationType@certtype@subjectid@subjectname','project_no,customername,project_name,certid','1','Single','','','','','','SYS_Designer','','2018/01/31 16:24:16','SYS_Designer','2019/12/06 16:24:46',''); + +-- 修改合同制作选择对话框 +DELETE FROM SELECT_CATALOG WHERE selname='SelectProjectForContract_Car'; +INSERT INTO SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) VALUES ('SelectProjectForContract_Car','Sql','合同制作时项目查询-汽车业务','','','Grid','String userid,String businessType','id,product_id,customertype,leas_form,CAR_TYPE,IS_NETCAR,operationType,signType,sealType,subjectid,subjectname','SELECT lpi.id, lpi.product_id, lpi.project_no, lpi.project_name, ci.customername, getItemName (''CertType'', ci.certtype) certtype, ci.certid, getUserName (lpi.project_manage) AS project_manage, getOrgLevelName (lpi.project_dept) project_dept, ci.customertype,lpi.leas_form,lpi.CAR_TYPE,lpi.IS_NETCAR,psl.operationType,psl.signType,psl.sealType,lpi.subjectid,lpi.subjectname FROM LB_PROJECT_INFO lpi LEFT JOIN LC_PROJ_CONDITION lpc ON lpi.id=lpc.project_id LEFT JOIN LB_CONTRACT_INFO lci ON lpi.id=lci.project_id LEFT JOIN LC_CONTRACT_CONDITION lcc ON lci.id=lcc.contract_id LEFT JOIN LB_UNION_LESSEE lult ON lpi.id = lult.project_id AND (lult.contract_id = '''' OR lult.contract_id IS NULL) LEFT JOIN CUSTOMER_INFO ci ON lult.customer_id = ci.customerid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpi.product_id WHERE lult.is_main = ''y'' AND lpi.project_status = ''13'' AND((lci.contract_status = ''21'' AND lpc.equip_amt>lcc.equip_amt) OR ((lult.CONTRACT_ID="" OR lult.CONTRACT_ID IS NULL)AND (SELECT COUNT(*) FROM lb_contract_info WHERE project_id=lpi.id)=0)) and lpi.PROJECT_MANAGE=''#userid'' and lpi.businesstype=''#businessType'' ORDER BY lpi.END_DATE desc','id,产品编号,申请编号,业务名称,客户名称,证件类别,证件号码,业务经理,经销商渠道/名称,业务类型,租赁方式,汽车类型,是否网约车,所属渠道,签约方式,盖章方式,主体ID,主体名称','project_name@style={width:350px;}','id@product_id@project_no@project_name@customertype@leas_form@CAR_TYPE@IS_NETCAR@operationType@signType@sealType@subjectid@subjectname','project_no,project_name,customername,certid','1','Single','','','','','project_no@ @ @EqualsString,Contains@customername@ @ @EqualsString,Contains@project_name@ @ @EqualsString,Contains@certid@ @ @EqualsString,Contains','SYS_Designer','','2018/03/08 14:37:12','SYS_Designer','2019/12/02 14:12:24',''); + +DELETE FROM SELECT_CATALOG WHERE selname='SelectProjectForContract_Car_KE'; +INSERT INTO SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) VALUES ('SelectProjectForContract_Car_KE','Sql','合同制作时项目查询-汽车业务-卡尔','','','Grid','String orgid,String businessType','id,product_id,customertype,leas_form,CAR_TYPE,IS_NETCAR,operationType,signType,sealType,subjectid,subjectname','SELECT lpi.id, lpi.product_id, lpi.project_no, lpi.project_name, ci.customername, getItemName (''CertType'', ci.certtype) certtype, ci.certid, getUserName (lpi.project_manage) AS project_manage, getOrgLevelName (lpi.project_dept) project_dept, ci.customertype,lpi.leas_form,lpi.CAR_TYPE,lpi.IS_NETCAR,psl.operationType,psl.signType,psl.sealType,lpi.subjectid,lpi.subjectname FROM LB_PROJECT_INFO lpi LEFT JOIN LC_PROJ_CONDITION lpc ON lpi.id=lpc.project_id LEFT JOIN LB_CONTRACT_INFO lci ON lpi.id=lci.project_id LEFT JOIN LC_CONTRACT_CONDITION lcc ON lci.id=lcc.contract_id LEFT JOIN LB_UNION_LESSEE lult ON lpi.id = lult.project_id AND (lult.contract_id = '''' OR lult.contract_id IS NULL) LEFT JOIN CUSTOMER_INFO ci ON lult.customer_id = ci.customerid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpi.product_id WHERE lult.is_main = ''y'' AND lpi.project_status = ''13'' AND((lci.contract_status = ''21'' AND lpc.equip_amt>lcc.equip_amt) OR ((lult.CONTRACT_ID="" OR lult.CONTRACT_ID IS NULL)AND (SELECT COUNT(*) FROM lb_contract_info WHERE project_id=lpi.id)=0)) AND lpi.INPUTORGID=''#orgid'' and lpi.businesstype=''#businessType'' ORDER BY lpi.END_DATE desc','id,产品编号,申请编号,业务名称,客户名称,证件类别,证件号码,业务经理,经销商渠道/名称,业务类型,租赁方式,汽车类型,是否网约车,所属渠道,签约方式,盖章方式,主体id,主体名称','project_name@style={width:350px;}','id@product_id@project_no@project_name@customertype@leas_form@CAR_TYPE@IS_NETCAR@operationType@signType@sealType@subjectid@subjectname','project_no,project_name,customername,certid','1','Single','','','','','project_no@ @ @EqualsString,Contains@customername@ @ @EqualsString,Contains@project_name@ @ @EqualsString,Contains@certid@ @ @EqualsString,Contains','SYS_Designer','','2019/05/16 14:25:34','SYS_Designer','2019/12/02 14:14:49',''); + +-- 合同变更流程发起添加主体信息 +delete from SELECT_CATALOG where selname='SelectContractCar'; +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('SelectContractCar','Sql','合同查询(汽车业务)','','','Grid','','id,project_id,product_id,contract_no,custkind,customertype,leas_form,CAR_TYPE,IS_NETCAR,operationType,sealType,signType,subjectid,subjectname','SELECT lci.id,lult.project_id ,lci.product_id,lci.contract_no,lci.contract_number,lci.project_name,ci.customername,getItemName(''CertType'',ci.certtype) certtype,ci.certid,getItemName(''cust_kind'',lci.project_industry) as custkind,getUserName(lci.project_manage) as project_manage,getOrgLevelName(lci.project_dept) project_dept,ci.customertype,lci.leas_form,lpi.CAR_TYPE,lpi.IS_NETCAR,psl.operationType,psl.sealType,psl.signType,lci.subjectid,lci.subjectname FROM LB_CONTRACT_INFO lci LEFT JOIN LB_PROJECT_INFO lpi ON lpi.id = lci.project_id LEFT JOIN LB_UNION_LESSEE lult on lci.id=lult.contract_id LEFT JOIN CUSTOMER_INFO ci on lult.customer_id=ci.customerid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid = lpi.product_id where lult.is_main=''y'' and lci.businesstype=''1'' and not EXISTS (select 1 from LC_CALC_CONDITION_STATUS ccs where ccs.contract_id=lci.id) and contract_status=''21'' and lci.inputuserid=''#userid'' {lci,contract} order by lci.contract_number desc','合同id,项目id,产品编号,合同编号,业务合同编号,项目名称,客户名称,证件类别,证件号码,内部行业,业务经理,经销商渠道/名称,客户类型,租赁方式,新车二手车,是否是网约车,产品类型,盖章模式,签约模式,主体id,主体名称','project_name@style={width:350px;}','id@project_id@product_id@contract_number@project_name@customername@customertype@leas_form@CAR_TYPE@IS_NETCAR@operationType@sealType@signType@subjectid@subjectname','project_name,customername,contract_number,certid','1','Single','','','','','','SYS_Designer','','2018/02/01 16:04:28','SYS_Designer','2019/12/06 16:41:56',''); + +delete from SELECT_CATALOG where selname='SelectContractCar_KE'; +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('SelectContractCar_KE','Sql','合同查询(汽车业务)--卡尔','','','Grid','String orgid','id,project_id,product_id,contract_no,custkind,customertype,leas_form,CAR_TYPE,IS_NETCAR,operationType,sealType,signType,subjectid,subjectname','SELECT lci.id,lult.project_id ,lci.product_id,lci.contract_no,lci.contract_number,lci.project_name,ci.customername,getItemName(''CertType'',ci.certtype) certtype,ci.certid,getItemName(''cust_kind'',lci.project_industry) as custkind,getUserName(lci.project_manage) as project_manage,getOrgLevelName(lci.project_dept) project_dept,ci.customertype,lci.leas_form,lpi.CAR_TYPE,lpi.IS_NETCAR,psl.operationType,psl.sealType,psl.signType,lci.subjectid,lci.subjectname FROM LB_CONTRACT_INFO lci LEFT JOIN LB_PROJECT_INFO lpi ON lpi.id = lci.project_id LEFT JOIN LB_UNION_LESSEE lult on lci.id=lult.contract_id LEFT JOIN CUSTOMER_INFO ci on lult.customer_id=ci.customerid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid = lpi.product_id where lult.is_main=''y'' and lci.businesstype=''1'' and not EXISTS (select 1 from LC_CALC_CONDITION_STATUS ccs where ccs.contract_id=lci.id) and contract_status=''21'' and lci.inputorgid=''#orgid'' order by lci.contract_number desc','合同id,项目id,产品编号,合同编号,业务合同编号,项目名称,客户名称,证件类别,证件号码,内部行业,业务经理,经销商渠道/名称,客户类型,租赁方式,新车二手车,是否是网约车,产品类型,盖章模式,签约模式,主体id,主体名称','project_name@style={width:350px;}','id@project_id@product_id@contract_number@project_name@customername@customertype@leas_form@CAR_TYPE@IS_NETCAR@operationType@sealType@signType@subjectid@subjectname','project_name,customername','1','Single','','','','','','SYS_Designer','','2019/05/16 14:31:20','SYS_Designer','2019/12/06 16:51:13',''); + + + -- 传统和汽车类传统业务申请选择产品返回主体信息 +DELETE FROM SELECT_CATALOG WHERE selname='SelectProjectForContract'; +insert into `SELECT_CATALOG` (`selname`, `seltype`, `seldescribe`, `seltablename`, `selprimarykey`, `selbrowsemode`, `selargs`, `selhidefield`, `selcode`, `selfieldname`, `selfielddisp`, `selreturnvalue`, `selfilterfield`, `isinuse`, `mutilorsingle`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('SelectProjectForContract','Sql','合同审批时项目查询-一般设备','','','Grid','String userid,String businessType','id,product_id,customertype,ManySubject','SELECT lpi.id, lpi.product_id, lpi.project_no, lpi.project_name, ci.customername, getItemName (\'CertType\', ci.certtype) certtype, ci.certid, getUserName (lpi.project_manage) AS project_manage, getOrgLevelName (lpi.project_dept) project_dept, ci.customertype,psl.ManySubject FROM LB_PROJECT_INFO lpi LEFT JOIN LC_PROJ_CONDITION lpc ON lpi.id=lpc.project_id LEFT JOIN (SELECT SUM(equip_price) AS equip_price, PROJECT_ID FROM LB_EQUIPMENT GROUP BY PROJECT_ID) le ON le.PROJECT_ID = lpi.id LEFT JOIN LB_CONTRACT_INFO lci ON lpi.id=lci.project_id LEFT JOIN LC_CONTRACT_CONDITION lcc ON lci.id=lcc.contract_id LEFT JOIN LB_UNION_LESSEE lult ON lpi.id = lult.project_id AND (lult.contract_id = \'\' OR lult.contract_id IS NULL) LEFT JOIN CUSTOMER_INFO ci ON lult.customer_id = ci.customerid LEFT JOIN PRD_SPECIFIC_LIBRARY psl ON psl.productid=lpi.product_id WHERE lpi.businesstype=\'#businessType\' AND lpi.project_manage=\'#userid\' AND lult.is_main = \'y\' AND LEFT(lpi.project_no,1) IN (\'T\') AND lpi.project_status = \'13\' AND((lci.contract_status = \'21\' AND le.equip_price>lcc.equip_amt) OR ((lult.CONTRACT_ID=\"\" OR lult.CONTRACT_ID IS NULL)AND (SELECT COUNT(*) FROM lb_contract_info WHERE project_id=lpi.id)=0)) GROUP BY lpi.project_no ORDER BY lpi.project_no DESC','id,产品编号,项目编号,项目名称,客户名称,证件类别,证件号码,项目经理,出单部门,主体ID','project_name@style={width:350px;}','id@product_id@project_no@project_name@customertype@ManySubject','project_no,project_name,customername,certid','1','Single','','','','','project_no@ @ @EqualsString,Contains@customername@ @ @EqualsString,Contains@project_name@ @ @EqualsString,Contains@certid@ @ @EqualsString,Contains','SYS_Designer','','2017/06/15 11:15:23','SYS_Designer','2019/11/29 19:50:35',''); + + +-- 传统和汽车类传统页面添加主体字段 +delete from awe_do_library where dono='LBContractInfoTemp' and colindex='1560'; +Insert Into 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 ('LBContractInfoTemp','1560','1560','1','O','SUBJECTID','SUBJECTID','String','','主体id','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/10/31 19:10:42','SYS_Designer','2019/11/29 19:20:50','0','','1','','','',''); +delete from awe_do_library where dono='LBContractInfoTemp' and colindex='1580'; +Insert Into 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 ('LBContractInfoTemp','1580','1580','1','O','SUBJECTNAME','SUBJECTNAME','String','','主体名称','','1','Text','1','1','','','style={width:780px;}','100','1','1','0','1','0',0,'','0010','','SYS_Designer','2019/11/29 19:17:52','SYS_Designer','2019/11/29 19:18:51','0','','1','','','selectManySubject()',''); + +-- 合同审批流程 传统添加添加多主体风险预警 +Insert Into 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 ('合同审批流程','09007','09007','是否选择主体','','20','','','1','10',null,'主体已选择','请选择主体','select case when length(subjectid)=32 then ''true'' else ''false'' end from LB_CONTRACT_INFO_TEMP where flowunid=''#{ObjectNo}''','',null,null,null,null,null,null,null,null); +Insert Into SCENARIO_RELATIVE (scenarioid,groupid,modelid) Values ('合同审批流程','0010','09007'); + +-- 合同变更流程(传统) +Insert Into 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 ('合同变更流程(传统)','8017','8017','是否选择主体','','20','','','1','10',null,'主体已选择','请选择主体','SELECT CASE WHEN LENGTH(subjectid)=32 THEN ''true'' ELSE ''false'' END FROM LB_CONTRACT_INFO_TEMP WHERE flowunid=''#{ObjectNo}''','',null,null,null,null,null,null,null,null); +Insert Into SCENARIO_RELATIVE (scenarioid,groupid,modelid) Values ('合同变更流程(传统)','0010','8017'); + +-- C段付款申请添加主体名称 +Insert Into 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 ('LB_CONTRACT_INFO_PAY','2400','2400','1','O','SUBJECTNAME','SUBJECTNAME','String','','主体名称','','1','Text','1','1','','','style={width:300px}','100','1','1','0','1','0',0,'','0010','','SYS_Designer','2019/12/16 14:36:47','SYS_Designer','2019/12/16 14:38:38','0','','1','','','',''); diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java index e59c1a4d7..ab5283d3b 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java @@ -44,6 +44,7 @@ public class CustomerInfoCheck { private String id; private String projectNo; private String FULLNAME; + private String SubjectId; public String getFULLNAME() { return FULLNAME; @@ -77,6 +78,13 @@ public class CustomerInfoCheck { this.custname = custname; } + public String getSubjectId() { + return SubjectId; + } + + public void setSubjectId(String subjectId) { + SubjectId = subjectId; + } public String checkName(JBOTransaction tx) throws JBOException{//校验姓名是否存在 if(customerType.equals("03")){//自然人 @@ -487,5 +495,16 @@ public class CustomerInfoCheck { } return "false"; } + //根据主体id获取主体名称 + public String selectTitleName(JBOTransaction tx){ + try { + BizObjectManager ciManage = JBOFactory.getBizObjectManager(CODE_LIBRARY.CLASS_NAME, tx); + BizObject ci = ciManage.createQuery(" codeno='ManySubject' and itemno=:SubjectId ").setParameter("SubjectId", SubjectId).getSingleResult(false); + return ci == null ? "error@没有查询符合要求的多主体!":"success@"+ci.getAttribute("itemname").toString(); + } catch (JBOException e) { + e.printStackTrace(); + return "error@系统异常!"; + } + } } diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java index 1e2d2c131..c096542c6 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -325,6 +325,8 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { bo.setAttributeValue("source_type",this.getAttribute("sourcetype"));//申请类型 bo.setAttributeValue("HaveCommission",haveCommission); bo.setAttributeValue("is_netcar",isNetCar == null ? "" : isNetCar); + bo.setAttributeValue("subjectid",this.getAttribute("SubjectId")); + bo.setAttributeValue("subjectname",this.getAttribute("SubjectName")); bomLPI.saveObject(bo); }catch (Exception e){ tx.rollback(); diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempToContractBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempToContractBusiness.java index d9948cc97..4c3238198 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempToContractBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempToContractBusiness.java @@ -25,6 +25,8 @@ public class LBProjectIntoTempToContractBusiness extends BaseBussiness { // otherProperty.put("CONTRACT_NUMBER",this.getAttribute("ContractNo").toString()); otherProperty.put("Project_Id", this.getAttribute("ProjectId").toString()); + otherProperty.put("subjectid", this.getAttribute("SubjectId").toString()); + otherProperty.put("subjectname", this.getAttribute("SubjectName").toString()); service.copyOrLoadProjectInfoToContract(Sqlca, fromCondtion, null,otherProperty, ServiceOperatorEnum.FormalToTemp); String sMessage="true";