diff --git a/WebContent/Tenwa/Lease/Flow/CollectionAudit/CompanyLoan.jsp b/WebContent/Tenwa/Lease/Flow/CollectionAudit/CompanyLoan.jsp index 9a3cbb67e..0d31cd494 100644 --- a/WebContent/Tenwa/Lease/Flow/CollectionAudit/CompanyLoan.jsp +++ b/WebContent/Tenwa/Lease/Flow/CollectionAudit/CompanyLoan.jsp @@ -55,13 +55,13 @@ if(j==0){ type = "car_money"; }else if (j==1){ - type = "handling_charge_money"; + type = "handling_charge_money_temp"; }else if (j==2){ - type = "purchase_tax"; + type = "purchase_tax_temp"; }else if (j==3){ - type = "insurance_premium"; + type = "insurance_premium_temp"; }else if (j==4){ - type = "incidental"; + type = "incidental_temp"; } for(var i=0;i list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid and (DELETEED<>'Y' or DELETEED is null)").setParameter("libraryid", libraryid).getResultList(false); - - StringBuffer sb=new StringBuffer(); - sb.append("{"); - for(int i=0;i=0){ - sb.append("\"image\":\""+true+"\","); - }else{ - sb.append("\"image\":\""+false+"\","); - } - if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ - sb.append("\"word\":\""+true+"\","); - }else{ - sb.append("\"word\":\""+false+"\","); - } - if(type.indexOf("application/pdf")>=0){ - sb.append("\"pdf\":\""+true+"\","); - }else{ - sb.append("\"pdf\":\""+false+"\","); - } - sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); - sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); - sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); - sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); - sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); - sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); - sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); - sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); - - sb.append("},"); - } - if(sb.length()>1){ - sb.deleteCharAt(sb.length() - 1); - } - sb.append("}"); - - return sb.toString(); - } -public static String getFileForDestroy(String id) throws Exception{ - - @SuppressWarnings("unchecked") - List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid order by inputtime desc").setParameter("libraryid", id).getResultList(false); - - StringBuffer sb=new StringBuffer(); - sb.append("{"); - for(int i=0;i=0){ - sb.append("\"image\":\""+true+"\","); - }else{ - sb.append("\"image\":\""+false+"\","); - } - if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ - sb.append("\"word\":\""+true+"\","); - }else{ - sb.append("\"word\":\""+false+"\","); - } - if(type.indexOf("application/pdf")>=0){ - sb.append("\"pdf\":\""+true+"\","); - }else{ - sb.append("\"pdf\":\""+false+"\","); - } - sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); - sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); - sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); - sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); - sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); - sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); - sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); - sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); - - sb.append("},"); - } - if(sb.length()>1){ - sb.deleteCharAt(sb.length() - 1); - } - sb.append("}"); - - return sb.toString(); - } - -public static String getSupplyFile(String libraryid,String applyid) throws Exception{ - - @SuppressWarnings("unchecked") - List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid is null order by inputtime desc ").setParameter("libraryid", libraryid).setParameter("approvestatus","nostatus").getResultList(false); - - StringBuffer sb=new StringBuffer(); - sb.append("{"); - for(int i=0;i=0){ - sb.append("\"image\":\""+true+"\","); - }else{ - sb.append("\"image\":\""+false+"\","); - } - if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ - sb.append("\"word\":\""+true+"\","); - }else{ - sb.append("\"word\":\""+false+"\","); - } - if(type.indexOf("application/pdf")>=0){ - sb.append("\"pdf\":\""+true+"\","); - }else{ - sb.append("\"pdf\":\""+false+"\","); - } - sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); - sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); - sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); - sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); - sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); - sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); - sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); - sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); - - sb.append("},"); - } - if(sb.length()>1){ - sb.deleteCharAt(sb.length() - 1); - } - sb.append("}"); - - return sb.toString(); - } -public static String getSignFile(String id) throws Exception{ - - @SuppressWarnings("unchecked") - List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("id=:id").setParameter("id", id).getResultList(false); - System.out.println(list); - StringBuffer sb=new StringBuffer(); - sb.append("{"); - for(int i=0;i=0){ - sb.append("\"image\":\""+true+"\","); - }else{ - sb.append("\"image\":\""+false+"\","); - } - if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ - sb.append("\"word\":\""+true+"\","); - }else{ - sb.append("\"word\":\""+false+"\","); - } - if(type.indexOf("application/pdf")>=0){ - sb.append("\"pdf\":\""+true+"\","); - }else{ - sb.append("\"pdf\":\""+false+"\","); - } - sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); - sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); - sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); - sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); - sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); - sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); - sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); - sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); - - sb.append("},"); - } - if(sb.length()>1){ - sb.deleteCharAt(sb.length() - 1); - } - sb.append("}"); - - return sb.toString(); -} - public static String getfundday(String startdate){ - SimpleDateFormat format = new java.text.SimpleDateFormat("yyyy/MM/dd"); - Date startDate = null; - Date endDate = null; - try { - startDate = format.parse(StringFunction.getTodayNow()); - endDate = format.parse(startdate); - } catch (ParseException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - return "null"; - } - long day=(startDate.getTime()-endDate.getTime())/(24*60*60*1000); - return day+""; - } - //获取车款支付凭证附件 - public static String getCarMoney(String libraryid) throws Exception{ - return getLoanFile(libraryid, "car_money"); - } - //获取手续费支付凭证附件 - public static String getHandlingChargeMoney(String libraryid) throws Exception{ - return getLoanFile(libraryid, "handling_charge_money"); - } - //获取购置税支付凭附件 - public static String getPurchaseTax(String libraryid) throws Exception{ - return getLoanFile(libraryid, "purchase_tax"); - } - //获取保险费支付凭证附件 - public static String getInsurancePremium(String libraryid) throws Exception{ - return getLoanFile(libraryid, "insurance_premium"); - } - //获取杂费支付凭证附件 - public static String getIncidental(String libraryid) throws Exception{ - return getLoanFile(libraryid, "incidental"); - } - //关联公司资料清单获取 - public static String getLoanFile(String libraryid,String objectType) throws Exception{ - - @SuppressWarnings("unchecked") - List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid and objecttype=:objecttype and (DELETEED<>'Y' or DELETEED is null)").setParameter("libraryid", libraryid).setParameter("objecttype", objectType).getResultList(false); - - StringBuffer sb=new StringBuffer(); - sb.append("{"); - for(int i=0;i=0){ - sb.append("\"image\":\""+true+"\","); - }else{ - sb.append("\"image\":\""+false+"\","); - } - if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ - sb.append("\"word\":\""+true+"\","); - }else{ - sb.append("\"word\":\""+false+"\","); - } - if(type.indexOf("application/pdf")>=0){ - sb.append("\"pdf\":\""+true+"\","); - }else{ - sb.append("\"pdf\":\""+false+"\","); - } - sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); - sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); - sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); - sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); - sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); - sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); - sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); - sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); - - sb.append("},"); - } - if(sb.length()>1){ - sb.deleteCharAt(sb.length() - 1); - } - sb.append("}"); - - return sb.toString(); - } -} +package com.tenwa.doc.cache; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.List; + +import com.amarsoft.are.jbo.BizObject; +import com.amarsoft.are.jbo.JBOException; +import com.amarsoft.are.jbo.JBOFactory; +import com.amarsoft.are.util.StringFunction; +import com.amarsoft.dict.als.manage.NameManager; + +public class DocListCache { + + public static String getFile(String libraryid) throws Exception{ + + @SuppressWarnings("unchecked") + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid and (DELETEED<>'Y' or DELETEED is null)").setParameter("libraryid", libraryid).getResultList(false); + + StringBuffer sb=new StringBuffer(); + sb.append("{"); + for(int i=0;i=0){ + sb.append("\"image\":\""+true+"\","); + }else{ + sb.append("\"image\":\""+false+"\","); + } + if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ + sb.append("\"word\":\""+true+"\","); + }else{ + sb.append("\"word\":\""+false+"\","); + } + if(type.indexOf("application/pdf")>=0){ + sb.append("\"pdf\":\""+true+"\","); + }else{ + sb.append("\"pdf\":\""+false+"\","); + } + sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); + sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); + sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); + sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); + sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); + sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); + sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); + sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); + + sb.append("},"); + } + if(sb.length()>1){ + sb.deleteCharAt(sb.length() - 1); + } + sb.append("}"); + + return sb.toString(); + } +public static String getFileForDestroy(String id) throws Exception{ + + @SuppressWarnings("unchecked") + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid order by inputtime desc").setParameter("libraryid", id).getResultList(false); + + StringBuffer sb=new StringBuffer(); + sb.append("{"); + for(int i=0;i=0){ + sb.append("\"image\":\""+true+"\","); + }else{ + sb.append("\"image\":\""+false+"\","); + } + if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ + sb.append("\"word\":\""+true+"\","); + }else{ + sb.append("\"word\":\""+false+"\","); + } + if(type.indexOf("application/pdf")>=0){ + sb.append("\"pdf\":\""+true+"\","); + }else{ + sb.append("\"pdf\":\""+false+"\","); + } + sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); + sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); + sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); + sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); + sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); + sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); + sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); + sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); + + sb.append("},"); + } + if(sb.length()>1){ + sb.deleteCharAt(sb.length() - 1); + } + sb.append("}"); + + return sb.toString(); + } + +public static String getSupplyFile(String libraryid,String applyid) throws Exception{ + + @SuppressWarnings("unchecked") + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid is null order by inputtime desc ").setParameter("libraryid", libraryid).setParameter("approvestatus","nostatus").getResultList(false); + + StringBuffer sb=new StringBuffer(); + sb.append("{"); + for(int i=0;i=0){ + sb.append("\"image\":\""+true+"\","); + }else{ + sb.append("\"image\":\""+false+"\","); + } + if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ + sb.append("\"word\":\""+true+"\","); + }else{ + sb.append("\"word\":\""+false+"\","); + } + if(type.indexOf("application/pdf")>=0){ + sb.append("\"pdf\":\""+true+"\","); + }else{ + sb.append("\"pdf\":\""+false+"\","); + } + sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); + sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); + sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); + sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); + sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); + sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); + sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); + sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); + + sb.append("},"); + } + if(sb.length()>1){ + sb.deleteCharAt(sb.length() - 1); + } + sb.append("}"); + + return sb.toString(); + } +public static String getSignFile(String id) throws Exception{ + + @SuppressWarnings("unchecked") + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("id=:id").setParameter("id", id).getResultList(false); + System.out.println(list); + StringBuffer sb=new StringBuffer(); + sb.append("{"); + for(int i=0;i=0){ + sb.append("\"image\":\""+true+"\","); + }else{ + sb.append("\"image\":\""+false+"\","); + } + if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ + sb.append("\"word\":\""+true+"\","); + }else{ + sb.append("\"word\":\""+false+"\","); + } + if(type.indexOf("application/pdf")>=0){ + sb.append("\"pdf\":\""+true+"\","); + }else{ + sb.append("\"pdf\":\""+false+"\","); + } + sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); + sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); + sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); + sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); + sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); + sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); + sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); + sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); + + sb.append("},"); + } + if(sb.length()>1){ + sb.deleteCharAt(sb.length() - 1); + } + sb.append("}"); + + return sb.toString(); +} + public static String getfundday(String startdate){ + SimpleDateFormat format = new java.text.SimpleDateFormat("yyyy/MM/dd"); + Date startDate = null; + Date endDate = null; + try { + startDate = format.parse(StringFunction.getTodayNow()); + endDate = format.parse(startdate); + } catch (ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + return "null"; + } + long day=(startDate.getTime()-endDate.getTime())/(24*60*60*1000); + return day+""; + } + //获取车款支付凭证附件 + public static String getCarMoney(String libraryid) throws Exception{ + return getLoanFile(libraryid, "car_money"); + } + //获取手续费支付凭证附件 + public static String getHandlingChargeMoney(String libraryid) throws Exception{ + return getLoanFile(libraryid, "handling_charge_money_temp"); + } + //获取购置税支付凭附件 + public static String getPurchaseTax(String libraryid) throws Exception{ + return getLoanFile(libraryid, "purchase_tax_temp"); + } + //获取保险费支付凭证附件 + public static String getInsurancePremium(String libraryid) throws Exception{ + return getLoanFile(libraryid, "insurance_premium_temp"); + } + //获取杂费支付凭证附件 + public static String getIncidental(String libraryid) throws Exception{ + return getLoanFile(libraryid, "incidental_temp"); + } + //关联公司资料清单获取 + public static String getLoanFile(String libraryid,String objectType) throws Exception{ + + @SuppressWarnings("unchecked") + List list=JBOFactory.getBizObjectManager("jbo.app.tenwa.doc.LB_DOCATTRIBUTE").createQuery("Library_Id=:libraryid and objecttype=:objecttype and (DELETEED<>'Y' or DELETEED is null)").setParameter("libraryid", libraryid).setParameter("objecttype", objectType).getResultList(false); + + StringBuffer sb=new StringBuffer(); + sb.append("{"); + for(int i=0;i=0){ + sb.append("\"image\":\""+true+"\","); + }else{ + sb.append("\"image\":\""+false+"\","); + } + if(type.indexOf("application/msword")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.wordprocessingml.document")>=0||type.indexOf("application/vnd.ms-excel")>=0||type.indexOf("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")>=0){ + sb.append("\"word\":\""+true+"\","); + }else{ + sb.append("\"word\":\""+false+"\","); + } + if(type.indexOf("application/pdf")>=0){ + sb.append("\"pdf\":\""+true+"\","); + }else{ + sb.append("\"pdf\":\""+false+"\","); + } + sb.append("\"id\":\""+bo.getAttribute("id").getString()+"\","); + sb.append("\"objecttype\":\""+bo.getAttribute("objecttype").getString()+"\","); + sb.append("\"filename\":\""+bo.getAttribute("FileName").getString()+"\","); + sb.append("\"inputtime\":\""+bo.getAttribute("inputtime").getString()+"\","); + sb.append("\"inputuser\":\""+NameManager.getUserName(bo.getAttribute("InputUserId").getString())+"\","); + sb.append("\"content_type\":\""+bo.getAttribute("content_type").getString()+"\","); + sb.append("\"filepath\":\""+bo.getAttribute("filepath").getString()+"\","); + sb.append("\"FileSize\":\""+bo.getAttribute("FileSize").getString()+"\""); + + sb.append("},"); + } + if(sb.length()>1){ + sb.deleteCharAt(sb.length() - 1); + } + sb.append("}"); + + return sb.toString(); + } +} diff --git a/src_sql/鎶曚骇SQL/v20200915/zhangbb0915.sql b/src_sql/鎶曚骇SQL/v20200915/zhangbb0915.sql index b90018572..42943a49a 100644 --- a/src_sql/鎶曚骇SQL/v20200915/zhangbb0915.sql +++ b/src_sql/鎶曚骇SQL/v20200915/zhangbb0915.sql @@ -90,27 +90,50 @@ create table lc_company_loan_info ( -- 关联公司 模板 -- CompanyLoanList模板 -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 ('CompanyLoanList','关联公司放款信息',null,'30',null,'1','1','default','jbo.app.tenwa.calc.LC_COMPANY_LOAN_INFO','O left join jbo.app.tenwa.calc.LC_FUND_INCOME lfi on lfi.id=O.f_income_id left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on lci.id=O.contract_id left join jbo.app.tenwa.customer.DISTRIBUTOR_INFO di on lci.distributor_id=di.distributor_no','','','','',null,'SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:16: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 ('CompanyLoanList','0010','0010','1','lfi','fact_object','fact_object','String','','关联公司','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:16: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 ('CompanyLoanList','0020','0020','1','lfi','fact_date','fact_date','String','','放款日期','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:33:08','','','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 ('CompanyLoanList','0030','0030','1','di','distributor_name','distributor_name','String','','渠道商','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:33:08','','','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 ('CompanyLoanList','0040','0040','1','lci','contract_no','contract_no','String','','合同号码','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:33:08','','','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 ('CompanyLoanList','0050','0050','1','O','car_money_had','car_money_had','String','','车款是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:38:12','','','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 ('CompanyLoanList','0060','0060','1','','''''','car_money','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/16 14:11:01','','','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 ('CompanyLoanList','0065','0065','1','','com.tenwa.doc.cache.DocListCache.getCarMoney(ID)','car_money_file','String','','车款支付凭证','','1','Text','1','1','','','style={width:300px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/14 17:42:19','SYS_Designer','2020/08/16 15:48:45','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 ('CompanyLoanList','0070','0070','1','O','handling_charge_money_had','handling_charge_money_had','String','','手续费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:38:12','','','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 ('CompanyLoanList','0080','0080','1','','''''','handling_charge_money','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/16 14:11:01','','','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 ('CompanyLoanList','0085','0085','1','','com.tenwa.doc.cache.DocListCache.getHandlingChargeMoney(ID)','handling_charge_money_file','String','','手续费支付凭证','','1','Text','1','1','','','style={width:300px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:44:29','SYS_Designer','2020/08/16 15:49:13','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 ('CompanyLoanList','0090','0090','1','O','purchase_tax_had','purchase_tax_had','String','','购置税是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:38:12','','','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 ('CompanyLoanList','0100','0100','1','','''''','purchase_tax','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/16 14:11:01','','','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 ('CompanyLoanList','0105','0105','1','','com.tenwa.doc.cache.DocListCache.getPurchaseTax(ID)','purchase_tax_file','String','','购置税支付凭','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:48:12','SYS_Designer','2020/08/16 14:11:21','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 ('CompanyLoanList','0110','0110','1','O','insurance_premium_had','insurance_premium_had','String','','保险费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:38:12','','','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 ('CompanyLoanList','0120','0001','1','O','ID','ID','String','','ID','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/13 14:16: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 ('CompanyLoanList','0130','0130','1','','''''','insurance_premium','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/16 14:11:01','','','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 ('CompanyLoanList','0135','0135','1','','com.tenwa.doc.cache.DocListCache.getInsurancePremium(ID)','insurance_premium_file','String','','保险费支付凭证','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:51:09','SYS_Designer','2020/08/16 14:11:21','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 ('CompanyLoanList','0140','0140','1','O','incidental_had','incidental_had','String','','杂费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/13 14:38:12','','','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 ('CompanyLoanList','0150','0150','1','','''''','incidental','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/16 14:11:01','','','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 ('CompanyLoanList','0160','0160','1','','com.tenwa.doc.cache.DocListCache.getIncidental(ID)','incidental_file','String','','杂费支付凭证','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:52:59','SYS_Designer','2020/08/16 14:11:21','0','','1','','','',''); +delete from AWE_DO_CATALOG where dono='CompanyLoanList'; +delete from awe_do_library where dono='CompanyLoanList'; +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 ('CompanyLoanList','关联公司放款信息',null,'30',null,'1','1','default','jbo.app.tenwa.calc.LC_COMPANY_LOAN_INFO','O left join jbo.app.tenwa.calc.LC_FUND_INCOME lfi on lfi.id=O.f_income_id left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on lci.id=O.contract_id left join jbo.app.tenwa.customer.DISTRIBUTOR_INFO di on lci.distributor_id=di.distributor_no left join jbo.app.tenwa.calc.LC_CALC_CONDITION lcc ON lcc.CONTRACT_ID=lci.id','','','','',null,'SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','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 ('CompanyLoanList','0010','0010','1','lfi','fact_object','fact_object','String','','关联公司','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0020','0020','1','lfi','fact_date','fact_date','String','','放款日期','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0030','0030','1','di','distributor_name','distributor_name','String','','渠道商','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0040','0040','1','lci','contract_no','contract_no','String','','合同号码','','1','Text','1','1','','','',null,'1','1','0','1','1',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0050','0050','1','O','car_money_had','car_money_had','String','','车款是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0060','0060','1','','''''','car_money','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0065','0065','1','','com.tenwa.doc.cache.DocListCache.getCarMoney(ID)','car_money_file','String','','车款支付凭证','','1','Text','1','1','','','style={width:300px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/14 17:42:19','SYS_Designer','2020/08/24 19:15:07','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 ('CompanyLoanList','0070','0070','1','O','handling_charge_money_had','handling_charge_money_had','String','','手续费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0080','0080','1','','''''','handling_charge_money_temp','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:37:26','','','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 ('CompanyLoanList','0085','0085','1','','com.tenwa.doc.cache.DocListCache.getHandlingChargeMoney(ID)','handling_charge_money_temp_file','String','','手续费支付凭证','','1','Text','1','1','','','style={width:300px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:44:29','SYS_Designer','2020/08/24 19:56:37','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 ('CompanyLoanList','0090','0090','1','O','purchase_tax_had','purchase_tax_had','String','','购置税是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0100','0100','1','','''''','purchase_tax_temp','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:37:26','','','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 ('CompanyLoanList','0105','0105','1','','com.tenwa.doc.cache.DocListCache.getPurchaseTax(ID)','purchase_tax_temp_file','String','','购置税支付凭','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:48:12','SYS_Designer','2020/08/24 19:57:48','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 ('CompanyLoanList','0110','0110','1','O','insurance_premium_had','insurance_premium_had','String','','保险费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0120','0001','1','O','ID','ID','String','','ID','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:08','SYS_Designer','2020/08/24 19:15:07','','','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 ('CompanyLoanList','0130','0130','1','','''''','insurance_premium_temp','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/24 19:37:26','','','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 ('CompanyLoanList','0135','0135','1','','com.tenwa.doc.cache.DocListCache.getInsurancePremium(ID)','insurance_premium_temp_file','String','','保险费支付凭证','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:51:09','SYS_Designer','2020/08/24 19:57:48','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 ('CompanyLoanList','0140','0140','1','O','incidental_had','incidental_had','String','','杂费是否已付','','1','Select','1','1','Code','YesOrNo','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/24 19:15:08','','','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 ('CompanyLoanList','0150','0150','1','','''''','incidental_temp','String','','操作','','1','Text','1','1','','','',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/13 11:54:09','SYS_Designer','2020/08/24 19:37:26','','','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 ('CompanyLoanList','0160','0160','1','','com.tenwa.doc.cache.DocListCache.getIncidental(ID)','incidental_temp_file','String','','杂费支付凭证','','1','Text','1','1','','','style={width:200px}',null,'1','1','0','1','0',0,'','','','SYS_Designer','2020/08/16 13:52:59','SYS_Designer','2020/08/24 19:57:48','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 ('CompanyLoanList','0170','0045','1','lcc','EQUIP_AMT','EQUIP_AMT','Number','','车款','','1','Text','2','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/24 19:12:56','SYS_Designer','2020/08/24 19:35:15','','','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 ('CompanyLoanList','0180','0068','1','lcc','HANDLING_CHARGE_MONEY','HANDLING_CHARGE_MONEY','Number','','手续费','','1','Text','2','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/24 19:12:56','SYS_Designer','2020/08/24 19:35:15','','','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 ('CompanyLoanList','0190','0088','1','lcc','PURCHASE_TAX','PURCHASE_TAX','Number','','购置税','','1','Text','2','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/24 19:12:56','SYS_Designer','2020/08/24 19:35:15','','','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 ('CompanyLoanList','0200','0108','1','lcc','INSURANCE_PREMIUM','INSURANCE_PREMIUM','Number','','保险费','','1','Text','2','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/24 19:12:56','SYS_Designer','2020/08/24 19:35:15','','','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 ('CompanyLoanList','0210','0138','1','lcc','INCIDENTAL','INCIDENTAL','Number','','杂费','','1','Text','2','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/24 19:12:56','SYS_Designer','2020/08/24 19:35:15','','','1','','','',''); + +-- LoanLBDocumentInfo模板 +delete from AWE_DO_CATALOG where dono='LoanLBDocumentInfo'; +delete from awe_do_library where dono='LoanLBDocumentInfo'; +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 ('LoanLBDocumentInfo','关联公司信上传附件',null,'30060',null,'1','1','default','jbo.app.tenwa.doc.LB_DOCATTRIBUTE','O,jbo.app.tenwa.doc.LB_DOCLIBRARY lib','O.Library_id=lib.id and O.Library_id=:libraryId','','','',null,'SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','','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 ('LoanLBDocumentInfo','1000','1000','1','O','Id','Id','String','','主键','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1010','1010','1','lib','Doc_Type','Doc_Type','String','004','资料类型','','1','Select','1','1','CodeTable','car_money,车款支付凭证,handling_charge_money_temp,手续费支付凭证,purchase_tax_temp,购置税支付凭证,insurance_premium_temp,保险费支付凭证,incidental_temp,杂费支付凭证','','32','1','0','1','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/24 19:42:10','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 ('LoanLBDocumentInfo','1040','1040','1','','''''','file2','String','','附件','','1','Text','1','1','','','',null,'1','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1050','1050','1','lib','Remark','Remark','String','','备注','','1','Textarea','1','1','','','','200','1','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1060','1060','1','','''''','InputUserName','String','','登记人','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1070','1070','1','','''''','InputOrg','String','','登记机构','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1080','1080','1','O','InputTime','InputTime','String','','登记日期','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1090','1090','1','O','Library_Id','Library_Id','String','','附件编号','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1100','1100','1','O','FileName','FileName','String','','文件名','','1','Text','1','1','','','','250','0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:46:46','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 ('LoanLBDocumentInfo','1120','1030','1','lib','DOC_NAME','DOC_NAME','String','','资料名称','','1','Select','1','1','JBO','jbo.app.tenwa.doc.LB_DOCCONFIG,ID,DOC_NAME,doc_class_itemno=''004001''','','200','0','0','0','1','0',0,'','','','SYS_Designer','2020/08/16 10:46:46','SYS_Designer','2020/08/16 10:48:45','0','','1','','','',''); + -- CompanyLoanBatchInfo模板 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 ('CompanyLoanBatchInfo','关联公司放款信息批量修改',null,'30',null,'1','1','default','jbo.app.tenwa.calc.LC_COMPANY_LOAN_INFO','O left join jbo.app.tenwa.calc.LC_FUND_INCOME lfi on lfi.id=O.f_income_id left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on lci.id=O.contract_id left join jbo.app.tenwa.customer.DISTRIBUTOR_INFO di on lci.distributor_id=di.distributor_no','','','','',null,'SYS_Designer','2020/08/17 09:19:19','SYS_Designer','2020/08/17 09:19:19','','1',''); @@ -173,7 +196,7 @@ Insert Into AWE_Role_Menu (roleid,menuid) Values ('399','3000100181'); Insert Into AWE_Role_Menu (roleid,menuid) Values ('401','3000100181'); -- 关联公司选择产品 -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 ('selectProductCompany','Sql','选择公司关联产品','business_type','typeno','Grid','String product_id','','select typeno,typename from business_type where attribute2=''car_product'' and (typeno not in (select product_id from lb_productToCompany_info) or typeno=''#product_id'')','产品编号,产品名称','typename@style={width:200px;}@typeno@style={width:200px;}','typeno@typename','typeno,typename','1','Single','','','','','','SYS_Designer','','2020/08/07 17:09:40','SYS_Designer','2020/08/07 17:42:51',''); +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 ('selectProductCompany','Sql','选择公司关联产品','business_type','typeno','Grid','String product_id','','select bt.typeno,bt.typename from business_type bt LEFT JOIN prd_specific_library psl ON psl.productid=bt.typeno where bt.attribute2=''car_product'' and psl.LeasForm=''01'' and (bt.typeno not in (select product_id from lb_productToCompany_info) or bt.typeno=''#product_id'')','产品编号,产品名称','typename@style={width:200px;}@typeno@style={width:200px;}','typeno@typename','typeno,typename','1','Single','','','','','','SYS_Designer','','2020/08/07 17:09:40','SYS_Designer','2020/08/24 18:34:13','');