Merge remote-tracking branch 'origin/release20200521' into release20200521
This commit is contained in:
commit
9852b94c91
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 435 B |
Binary file not shown.
|
After Width: | Height: | Size: 974 B |
Binary file not shown.
|
After Width: | Height: | Size: 858 B |
@ -84,6 +84,9 @@
|
||||
if(html.indexOf(".png") != -1 || html.indexOf(".jpg") != -1) {
|
||||
html = html.replaceAll("image/image_\\d+[.]", "Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/image/image.");
|
||||
}
|
||||
if(html.indexOf(".png") != -1 || html.indexOf(".jpg") != -1) {
|
||||
html = html.replaceAll("image/image_", "Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/image/image_");
|
||||
}
|
||||
if(html.indexOf("width=\"95%\"") != -1) {
|
||||
html = html.replaceAll("width=\"95%\"", "");
|
||||
}
|
||||
|
||||
@ -61,7 +61,8 @@ public class ApplyChangeServiceImpl implements ApplyChangeService{
|
||||
String listSql = "SELECT lci.contract_no contract_no,dis.distributorTime distime,cus.distributorTime custime FROM lb_contract_info lci LEFT JOIN lb_project_info lpi ON lci.project_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND (ft.phaseno='0010' OR ft.phaseno='0020')) OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno='0010'))GROUP BY fbo.proj_id ) dis ON dis.proj_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND ft.phaseno<>'0010' AND ft.phaseno<>'0020' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000') OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno<>'0010' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000'))GROUP BY fbo.proj_id) cus ON cus.proj_id=lpi.id WHERE lci.CONTRACT_STATUS>=31 AND lci.distributor_id='"+disList.get(0).get("distributor_no")+"' ORDER BY dis.distributorTime DESC ";
|
||||
List<Map<String, String>> dataList = DataOperatorUtil.getDataBySql(listSql);
|
||||
body.put("listdatas", dataList);
|
||||
String averageSql = "select * from ( SELECT LEFT(lpi.INPUTTIME,7) yearmonth,SUM(dis.distributorTime)/COUNT(lpi.INPUTTIME) averagedistim,SUM(cus.distributorTime)/COUNT(lpi.INPUTTIME) averagecustime FROM lb_contract_info lci LEFT JOIN lb_project_info lpi ON lci.project_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND (ft.phaseno='0010' OR ft.phaseno='0020')) OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno='0010'))GROUP BY fbo.proj_id ) dis ON dis.proj_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND ft.phaseno<>'0010' AND ft.phaseno<>'0020' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000') OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno<>'0010' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000'))GROUP BY fbo.proj_id) cus ON cus.proj_id=lpi.id WHERE lci.CONTRACT_STATUS>=31 AND LEFT(lpi.INPUTTIME,7)<='"+month+"' AND lci.distributor_id='"+disList.get(0).get("distributor_no")+"' GROUP BY LEFT(lpi.INPUTTIME,7) ORDER BY LEFT(lpi.INPUTTIME,7) DESC LIMIT 0,6 ) t ORDER BY yearmonth ASC";
|
||||
//String averageSql = "select * from ( SELECT LEFT(lpi.INPUTTIME,7) yearmonth,SUM(dis.distributorTime)/COUNT(lpi.INPUTTIME) averagedistim,SUM(cus.distributorTime)/COUNT(lpi.INPUTTIME) averagecustime FROM lb_contract_info lci LEFT JOIN lb_project_info lpi ON lci.project_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND (ft.phaseno='0010' OR ft.phaseno='0020')) OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno='0010'))GROUP BY fbo.proj_id ) dis ON dis.proj_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND ft.phaseno<>'0010' AND ft.phaseno<>'0020' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000') OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno<>'0010' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000'))GROUP BY fbo.proj_id) cus ON cus.proj_id=lpi.id WHERE lci.CONTRACT_STATUS>=31 AND LEFT(lpi.INPUTTIME,7)<='"+month+"' AND lci.distributor_id='"+disList.get(0).get("distributor_no")+"' GROUP BY LEFT(lpi.INPUTTIME,7) ORDER BY LEFT(lpi.INPUTTIME,7) DESC LIMIT 0,6 ) t ORDER BY yearmonth ASC";
|
||||
String averageSql ="SELECT VED.xtime AS yearmonth,IFNULL(t.averagedistim,0) AS averagedistim,IFNULL(t.averagecustime,0) AS averagecustime FROM (SELECT LEFT(EVERY_DAY,7) xtime FROM VI_EVERY_DAY WHERE LEFT(EVERY_DAY,7)<='"+month+"' GROUP BY LEFT(EVERY_DAY,7) ORDER BY LEFT(EVERY_DAY,7) DESC LIMIT 0,6) VED LEFT JOIN ( SELECT LEFT(lpi.INPUTTIME,7) yearmonth,SUM(dis.distributorTime)/COUNT(lpi.INPUTTIME) averagedistim,SUM(cus.distributorTime)/COUNT(lpi.INPUTTIME) averagecustime FROM lb_contract_info lci LEFT JOIN lb_project_info lpi ON lci.project_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND (ft.phaseno='0010' OR ft.phaseno='0020')) OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno='0010'))GROUP BY fbo.proj_id ) dis ON dis.proj_id=lpi.id LEFT JOIN (SELECT fbo.proj_id,SUM(TIMESTAMPDIFF(SECOND,ft.begintime,ft.endtime)) distributorTime FROM flow_bussiness_object fbo LEFT JOIN flow_task ft ON fbo.flow_unid=ft.objectno WHERE ((fbo.flow_name IN ('业务申请流程','业务变更流程') AND ft.phaseno<>'0010' AND ft.phaseno<>'0020' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000') OR (fbo.flow_name IN ('合同制作流程','合同变更流程','付款申请(汽车)') AND ft.phaseno<>'0010' AND ft.phaseno<>'1000' AND ft.phaseno<>'8000'))GROUP BY fbo.proj_id) cus ON cus.proj_id=lpi.id WHERE lci.CONTRACT_STATUS>=31 AND lci.distributor_id='"+disList.get(0).get("distributor_no")+"' GROUP BY LEFT(lpi.INPUTTIME,7) ORDER BY LEFT(lpi.INPUTTIME,7) ) t ON VED.xtime=LEFT(t.yearmonth,7) ORDER BY VED.xtime ";
|
||||
List<Map<String, String>> averageSqldataList = DataOperatorUtil.getDataBySql(averageSql);
|
||||
body.put("averagedatas", averageSqldataList);
|
||||
|
||||
|
||||
@ -268,13 +268,14 @@ Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualn
|
||||
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 ('APPLBContractTemplateList','1170','1170','1','','''''','operation','String','','合同文件操作','','1','Text','1','1','','','',null,'0','0','0','0','0',0,'','','','SYS_Designer','2020/06/13 10:50:17','SYS_Designer','2020/06/13 10:50:17','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 ('APPLBContractTemplateList','1180','1180','1','','com.tenwa.lease.flow.contract.contractapproval.ContractTemplateCache.getContractTemplateID(ID)','fileid','String','','合同文件ID','','1','Text','1','1','','','',null,'0','0','0','0','0',0,'','','','SYS_Designer','2020/06/13 10:50:17','SYS_Designer','2020/06/13 10:50:17','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 ('APPLBContractTemplateList','1190','1190','1','attr','LIBRARY_ID','LIBRARY_ID','String','','LIBRARY_ID','','1','Text','1','1','','','',null,'0','0','0','1','0',0,'','','','SYS_Designer','2020/06/13 10:50:17','SYS_Designer','2020/06/13 10:50:17','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 ('APPLBContractTemplateList','1200','1200','1','attr','FILESIZE','FILESIZE','String','','文件大小','','1','Text','1','1','','','','32','1','0','0','1','0',0,'','','','SYS_Designer','2020/07/02 19:35:39','SYS_Designer','2020/07/02 19:35:39','','','1','','','','');
|
||||
|
||||
insert into `APP_BUSINESS_GROUP` (`GROUP_CODE`, `GROUP_NAME`, `ISLIST`, `GROUP_POSITION`, `GROUP_ENABLE`) values('APPLBContractTemplateList','APP合同列表','Y','400000','Y');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1000','1000','ID','标识','ID','N','N','1000');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1010','1010','ONE_CLASSIFY','一级分类','ONE_CLASSIFY','N','N','1010');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1020','1020','TWO_CLASSIFY','二级分类','TWO_CLASSIFY','N','N','1020');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1030','1030','THREE_CLASSIFY','三级分类','THREE_CLASSIFY','N','N','1030');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1040','1040','DOC_NAME','资料名称','DOC_NAME','Y','Y','1040');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1030','1030','THREE_CLASSIFY','三级分类','THREE_CLASSIFY','N','Y','1030');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1040','1040','DOC_NAME','资料名称','DOC_NAME','N','N','1040');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1050','1050','CONTRACT_NUMBER','合同编号','CONTRACT_NUMBER','N','N','1050');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1060','1060','CONTRACT_SIGN','签约主体','CONTRACT_SIGN','N','N','1060');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1070','1070','CONTRACT_EQUIP','租赁物','CONTRACT_EQUIP','N','N','1070');
|
||||
@ -286,10 +287,11 @@ insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`,
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1130','1130','UPDATEUSERID','更新人','UPDATEUSERID','N','N','1130');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1140','1140','UPDATEORGID','更新部门','UPDATEORGID','N','N','1140');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1150','1150','UPDATETIME','更新时间','UPDATETIME','N','N','1150');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1160','1160','filename','合同文件','filename','N','N','1160');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1160','1160','filename','文件名称','filename','Y','Y','1160');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1170','1170','operation','合同文件操作','operation','N','N','1170');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1180','1180','fileid','合同文件ID','fileid','N','N','1180');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1180','1180','fileid','合同文件ID','fileid','Y','N','1180');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1190','1190','LIBRARY_ID','LIBRARY_ID','LIBRARY_ID','N','N','1190');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('APPLBContractTemplateList','APPLBContractTemplateList','1200','1200','FILESIZE','文件大小','FILESIZE','Y','N','1200');
|
||||
|
||||
insert into `PRD_NODEINFO_LIBRARY_APP` (`ID`, `APP_BUSINESS_GROUP_CODE`, `INITIAL_CONDITION`, `AUXILIARY_CONDITION`, `INTERFACE_DESC`, `ATTRIBUTE1`, `ATTRIBUTE2`, `ATTRIBUTE3`, `ATTRIBUTE4`, `ATTRIBUTE5`, `ATTRIBUTE6`, `ATTRIBUTE7`, `ATTRIBUTE8`, `ATTRIBUTE9`, `REBUILD_JBO_CLASS`, `FATHER_ID`, `DISPLAY_MANAGE_CLASS`, `SAVE_MANAGE_CLASS`, `DELETE_MANAGE_CLASS`, `ENABLE_CONDITION`, `OPEN_CONDITION`, `GROUP_NAME`) values('202006131101','APPLBContractTemplateList','FlowUnid','','DefaultDoManage','','','','','','','','','',NULL,'','','',NULL,'N','',NULL);
|
||||
|
||||
@ -309,9 +311,9 @@ INSERT INTO SCENARIO_MODEL (scenarioid,modelid,sortno,modelname,modeldescribe,mo
|
||||
-- 添加app方案测算模板
|
||||
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 ('APP_PROGRAMME','app方法测算',null,'30',null,'1','1','default','jbo.app.PRD_NODEINFO_MIDDLE_APP','O','1=2','','','',null,'SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/06/30 17:12:41','','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 ('APP_PROGRAMME','0010','0010','1','','v.''''','productid','String','','产品id','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/07/20 17:10:05','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 ('APP_PROGRAMME','0020','0020','1','','v.''''','productname','String','','产品名称','','1','Text','1','1','','','','100','1','0','0','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/06/30 17:14:50','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 ('APP_PROGRAMME','0030','0030','1','','v.''''','cleanleasemoney','Number','','融资金额','','1','Text','1','1','','','','100','1','0','0','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/06/30 17:18: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 ('APP_PROGRAMME','0040','0040','1','','v.''''','incomenumber','String','','期限','','1','Select','1','1','Code','INCOME_NUMBER','','1','1','0','0','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/06/30 17:18: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 ('APP_PROGRAMME','0020','0020','1','','v.''''','productname','String','','产品名称','','1','Text','1','1','','','','100','1','0','1','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/07/16 14:50:06','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 ('APP_PROGRAMME','0030','0030','1','','v.''''','cleanleasemoney','Number','','融资金额','','1','Text','1','1','','','','100','1','0','1','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/07/16 14:50:06','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 ('APP_PROGRAMME','0040','0040','1','','v.''''','incomenumber','String','','期限','','1','Select','1','1','Code','INCOME_NUMBER','','1','1','0','1','1','0',0,'','','','SYS_Designer','2020/06/30 16:33:20','SYS_Designer','2020/07/16 14:50:06','0','','1','','','','');
|
||||
|
||||
insert into `APP_BUSINESS_GROUP` (`GROUP_CODE`, `GROUP_NAME`, `ISLIST`, `GROUP_POSITION`, `GROUP_ENABLE`) values('APP_PROGRAMME','app方法测算','N','400000','Y');
|
||||
insert into `PRD_NODEINFO_LIBRARY_APP` (`ID`, `APP_BUSINESS_GROUP_CODE`, `INITIAL_CONDITION`, `AUXILIARY_CONDITION`, `INTERFACE_DESC`, `ATTRIBUTE1`, `ATTRIBUTE2`, `ATTRIBUTE3`, `ATTRIBUTE4`, `ATTRIBUTE5`, `ATTRIBUTE6`, `ATTRIBUTE7`, `ATTRIBUTE8`, `ATTRIBUTE9`, `REBUILD_JBO_CLASS`, `FATHER_ID`, `DISPLAY_MANAGE_CLASS`, `SAVE_MANAGE_CLASS`, `DELETE_MANAGE_CLASS`, `ENABLE_CONDITION`, `OPEN_CONDITION`, `GROUP_NAME`) values('202006300001','APP_PROGRAMME','flowunid','','DefaultDoManage','','','','','','','','','',NULL,'','','',NULL,'N','',NULL);
|
||||
@ -405,6 +407,7 @@ Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualn
|
||||
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 ('BeforeApplicationConfigList','0120','0120','1','O','updateuserid','updateuserid','String','','登记人','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/04 10:44:00','SYS_Designer','2020/07/04 10:44:14','','','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 ('BeforeApplicationConfigList','0130','0130','1','O','updateorgid','updateorgid','String','','登记部门','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/04 10:44:00','SYS_Designer','2020/07/04 10:44:14','','','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 ('BeforeApplicationConfigList','0140','0140','1','O','updatetime','updatetime','String','','登记时间','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/04 10:44:00','SYS_Designer','2020/07/04 10:44:14','','','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 ('BeforeApplicationConfigInfo','预审批规则配置详情',null,'30',null,'1','2','default','jbo.com.tenwa.entity.comm.serialutil.LB_BEFORE_APPLICATION_CONFIG','O','id=:id','','','com.amarsoft.awe.dw.handler.impl.CommonHandler',null,'SYS_Designer','2020/07/04 10:47:39','SYS_Designer','2020/07/04 11:14:25','','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 ('BeforeApplicationConfigInfo','0010','0010','1','O','id','id','String','','唯一标识','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/04 10:47:39','SYS_Designer','2020/07/04 11:14:25','','','1','','','','');
|
||||
@ -473,18 +476,19 @@ Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcou
|
||||
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 ('AppMenuInfoList','0010','0010','1','O','ROLENAME','ROLENAME','String','','角色名称','','1','Text','1','1','','','','80','1','0','0','1','0',0,'','','','SYS_Designer','2020/07/14 16:01:04','SYS_Designer','2020/07/14 17:02:23','','','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 ('AppMenuInfoList','0020','0020','1','','com.amarsoft.awe.dw.ui.list.AppMeunUtil.getAppMeun(ROLEID)','MEUN','String','','菜单名称','','1','Text','1','1','','','style={width:400px}','80','1','0','0','1','0',0,'','','','SYS_Designer','2020/07/14 16:01:04','SYS_Designer','2020/07/14 17:26:50','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 ('AppMenuInfoList','0030','0030','1','O','ROLEID','ROLEID','String','','角色编号','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/14 16:04:27','SYS_Designer','2020/07/14 17:02:23','0','','1','','','','');
|
||||
|
||||
-- 添加app配置菜单
|
||||
Insert Into AWE_MENU_INFO (menuid,menuname,displayname,sortno,url,urlparam,target,style,isinuse,remark,inputorgid,inputuserid,inputtime,updateorgid,updateuserid,updatetime,accesstype,icon,appicon) Values ('9900600060','app菜单配置','app菜单配置','9900600060','/AppConfig/MenuManage/AppMenuInfoList.jsp','','_self','','1','',null,'SYS_Designer','2020/07/14 14:11:20',null,'SYS_Designer','2020/07/14 14:11:20','10','','');
|
||||
Insert Into AWE_Role_Menu (roleid,menuid) Values ('099','9900600060');
|
||||
|
||||
-- 添加app预审批列表页面
|
||||
insert into `PRD_NODEINFO_LIBRARY_APP` (`ID`, `APP_BUSINESS_GROUP_CODE`, `INITIAL_CONDITION`, `AUXILIARY_CONDITION`, `INTERFACE_DESC`, `ATTRIBUTE1`, `ATTRIBUTE2`, `ATTRIBUTE3`, `ATTRIBUTE4`, `ATTRIBUTE5`, `ATTRIBUTE6`, `ATTRIBUTE7`, `ATTRIBUTE8`, `ATTRIBUTE9`, `REBUILD_JBO_CLASS`, `FATHER_ID`, `DISPLAY_MANAGE_CLASS`, `SAVE_MANAGE_CLASS`, `DELETE_MANAGE_CLASS`, `ENABLE_CONDITION`, `OPEN_CONDITION`, `GROUP_NAME`) values('202007180001','AppLbBeforeApplicationList','','','DefaultDoManage','','','','','','','','','',NULL,'','','',NULL,'N','',NULL);
|
||||
insert into `PRD_NODEINFO_LIBRARY_APP` (`ID`, `APP_BUSINESS_GROUP_CODE`, `INITIAL_CONDITION`, `AUXILIARY_CONDITION`, `INTERFACE_DESC`, `ATTRIBUTE1`, `ATTRIBUTE2`, `ATTRIBUTE3`, `ATTRIBUTE4`, `ATTRIBUTE5`, `ATTRIBUTE6`, `ATTRIBUTE7`, `ATTRIBUTE8`, `ATTRIBUTE9`, `REBUILD_JBO_CLASS`, `FATHER_ID`, `DISPLAY_MANAGE_CLASS`, `SAVE_MANAGE_CLASS`, `DELETE_MANAGE_CLASS`, `ENABLE_CONDITION`, `OPEN_CONDITION`, `GROUP_NAME`) values('202007180001','AppLbBeforeApplicationList','userid','','DefaultDoManage','','','','','','','','','',NULL,'','','',NULL,'N','',NULL);
|
||||
insert into `APP_BUSINESS_GROUP` (`GROUP_CODE`, `GROUP_NAME`, `ISLIST`, `GROUP_POSITION`, `GROUP_ENABLE`) values('AppLbBeforeApplicationList','App预审批表列表','Y','400000','Y');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1000','1000','id','唯一标识','id','Y','Y','1000');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1010','1010','fullname','承租人姓名','fullname','Y','Y','1010');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1020','1020','fullcertid','承租人身份证号','fullcertid','Y','Y','1020');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1030','1030','fullphone','承租人电话号','fullphone','Y','Y','1030');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1040','1040','fullsex','承租人性别:1标识男。2标识女','fullsex','Y','Y','1040');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1040','1040','fullsex','承租人性别','fullsex','Y','Y','1040');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1050','1050','brand','车品牌','brand','Y','Y','1050');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1060','1060','model','车型','model','Y','Y','1060');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1070','1070','modelId','车型ID','modelId','Y','Y','1070');
|
||||
@ -502,27 +506,27 @@ insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`,
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationList','AppLbBeforeApplicationList','1210','1210','carseriesid','车系id','carseriesid','Y','Y','1210');
|
||||
|
||||
-- 添加app预审批列表模板
|
||||
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 ('AppLbBeforeApplicationList','App预审批表列表',null,'30',null,'1','1','default','jbo.com.tenwa.entity.comm.serialutil.LB_BEFORE_APPLICATION','O','1=1','','','','','SYS_Designer','2020/07/18 15:25:20','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1000','1000','1','O','id','id','String','','唯一标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:20','SYS_Designer','2020/07/18 15:26:09','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 ('AppLbBeforeApplicationList','1010','1010','1','O','fullname','fullname','String','','承租人姓名','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:20','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1020','1020','1','O','fullcertid','fullcertid','String','','承租人身份证号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1030','1030','1','O','fullphone','fullphone','String','','承租人电话号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1040','1040','1','O','fullsex','fullsex','String','','承租人性别','','1','Select','1','1','Code','sex','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 16:25:16','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 ('AppLbBeforeApplicationList','1050','1050','1','O','brand','brand','String','','车品牌','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1060','1060','1','O','model','model','String','','车型','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1070','1070','1','O','modelId','modelId','String','','车型ID','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:26:19','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 ('AppLbBeforeApplicationList','1080','1080','1','O','carseries','carseries','String','','车系','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1090','1090','1','O','mile','mile','String','','公里数','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25: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 ('AppLbBeforeApplicationList','1100','1100','1','O','frame_number','frame_number','String','','车架号','','1','Text','1','1','','','','100','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/18 15:25:50','','','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 ('AppLbBeforeApplicationList','1110','1110','1','O','age_limit','age_limit','String','','年限','','1','Text','1','1','','','','8','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:25:50','','','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 ('AppLbBeforeApplicationList','1120','1120','1','O','price','price','String','','车辆指导价','','1','Text','1','1','','','','16','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:26:28','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 ('AppLbBeforeApplicationList','1085','1085','1','O','carattributes','carattributes','String','','租赁类型','','1','Select','1','1','Code','CarType','','10','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 16:26:01','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 ('AppLbBeforeApplicationList','1140','1140','1','O','liter','liter','String','','排量','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:26:42','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 ('AppLbBeforeApplicationList','1150','1150','1','O','geartype','geartype','String','','档位','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:27: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 ('AppLbBeforeApplicationList','1180','1180','1','O','result','result','String','','结果','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:25:50','','','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 ('AppLbBeforeApplicationList','1190','1190','1','O','reason','reason','String','','原因','','1','Text','1','1','','','','200','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/18 15:25:50','','','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 ('AppLbBeforeApplicationList','1200','1200','1','O','brandid','brandid','String','','车品牌id','','1','Text','1','1','','','','10','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/20 14:49:10','SYS_Designer','2020/07/20 14:49: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 ('AppLbBeforeApplicationList','1210','1210','1','O','carseriesid','carseriesid','String','','车系id','','1','Text','1','1','','','','10','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/20 14:49:10','SYS_Designer','2020/07/20 14:49:10','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 ('AppLbBeforeApplicationList','App预审批表列表',null,'30',null,'1','1','default','jbo.com.tenwa.entity.comm.serialutil.LB_BEFORE_APPLICATION','O','O.inputuserid=:userid','','inputtime DESC','','','SYS_Designer','2020/07/18 15:25:20','SYS_Designer','2020/07/31 10:23:05','','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 ('AppLbBeforeApplicationList','1000','1000','1','O','id','id','String','','唯一标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:20','SYS_Designer','2020/07/31 10:23:05','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 ('AppLbBeforeApplicationList','1010','1010','1','O','fullname','fullname','String','','承租人姓名','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:20','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1020','1020','1','O','fullcertid','fullcertid','String','','承租人身份证号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1030','1030','1','O','fullphone','fullphone','String','','承租人电话号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1040','1040','1','O','fullsex','fullsex','String','','承租人性别','','1','Select','1','1','Code','sex','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','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 ('AppLbBeforeApplicationList','1050','1050','1','O','brand','brand','String','','车品牌','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1060','1060','1','O','model','model','String','','车型','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1070','1070','1','O','modelId','modelId','String','','车型ID','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','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 ('AppLbBeforeApplicationList','1080','1080','1','O','carseries','carseries','String','','车系','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1090','1090','1','O','mile','mile','String','','公里数','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1100','1100','1','O','frame_number','frame_number','String','','车架号','','1','Text','1','1','','','','100','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:21','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1110','1110','1','O','age_limit','age_limit','String','','年限','','1','Text','1','1','','','','8','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:05','','','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 ('AppLbBeforeApplicationList','1120','1120','1','O','price','price','String','','车辆指导价','','1','Text','1','1','','','','16','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:05','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 ('AppLbBeforeApplicationList','1130','1130','1','O','carattributes','carattributes','String','','租赁类型','','1','Select','1','1','Code','CarType','','10','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:05','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 ('AppLbBeforeApplicationList','1140','1140','1','O','liter','liter','String','','排量','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:06','1','','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 ('AppLbBeforeApplicationList','1150','1150','1','O','geartype','geartype','String','','档位','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:06','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 ('AppLbBeforeApplicationList','1180','1180','1','O','result','result','String','','结果','','1','Select','1','1','CodeTable','Y,通过,N,否决','','32','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:06','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 ('AppLbBeforeApplicationList','1190','1190','1','O','reason','reason','String','','原因','','1','Text','1','1','','','','200','1','0','0','1','1',1,'0','','','SYS_DESIGNER','2020/07/18 15:25:23','SYS_Designer','2020/07/31 10:23:06','','','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 ('AppLbBeforeApplicationList','1200','1200','1','O','brandid','brandid','String','','车品牌id','','1','Text','1','1','','','','10','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/20 14:49:10','SYS_Designer','2020/07/31 10:23:06','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 ('AppLbBeforeApplicationList','1210','1210','1','O','carseriesid','carseriesid','String','','车系id','','1','Text','1','1','','','','10','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/20 14:49:10','SYS_Designer','2020/07/31 10:23:06','0','','1','','','','');
|
||||
|
||||
-- 添加app预审批详情页面模板
|
||||
insert into `PRD_NODEINFO_LIBRARY_APP` (`ID`, `APP_BUSINESS_GROUP_CODE`, `INITIAL_CONDITION`, `AUXILIARY_CONDITION`, `INTERFACE_DESC`, `ATTRIBUTE1`, `ATTRIBUTE2`, `ATTRIBUTE3`, `ATTRIBUTE4`, `ATTRIBUTE5`, `ATTRIBUTE6`, `ATTRIBUTE7`, `ATTRIBUTE8`, `ATTRIBUTE9`, `REBUILD_JBO_CLASS`, `FATHER_ID`, `DISPLAY_MANAGE_CLASS`, `SAVE_MANAGE_CLASS`, `DELETE_MANAGE_CLASS`, `ENABLE_CONDITION`, `OPEN_CONDITION`, `GROUP_NAME`) values('202007200001','AppLbBeforeApplicationInfo','flowunid','','DefaultDoManage','','','','','','','','','',NULL,'','','',NULL,'N','',NULL);
|
||||
@ -534,31 +538,32 @@ insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`,
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1050','1050','brand','车品牌','brand','N','Y','1050');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1060','1060','model','车型','model','N','Y','1060');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1070','1070','modelId','车型ID','modelId','N','Y','1070');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1080','1080','carseries','车系','carseries','N','Y','1080');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1055','1055','carseries','车系','carseries','N','Y','1055');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1090','1090','mile','公里数','mile','N','Y','1090');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1100','1100','frame_number','车架号','frame_number','N','Y','1100');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1110','1110','age_limit','年限','age_limit','N','Y','1110');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1120','1120','price','车辆指导价','price','N','Y','1120');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1130','1130','carattributes','租赁类型','carattributes','N','Y','1130');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1085','1085','carattributes','租赁类型','carattributes','N','Y','1085');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1140','1140','liter','排量','liter','N','Y','1140');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1150','1150','geartype','档位','geartype','N','Y','1150');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1200','1200','brandid','车品牌id','brandid','N','Y','1200');
|
||||
insert into `APP_BUSINESS_TEMPLATE` (`GROUP_CODE`, `DONO`, `COLINDEX`, `SORTNO`, `COLNAME`, `DATA_NAME`, `DATA_CODE`, `ISLIST`, `ISSHOW`, `DATA_POSITION`) values('AppLbBeforeApplicationInfo','AppLbBeforeApplicationInfo','1210','1210','carseriesid','车系id','carseriesid','N','Y','1210');
|
||||
|
||||
-- 添加对应的模板
|
||||
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 ('AppLbBeforeApplicationInfo','App预审批详情模板',null,'30',null,'1','1','default','jbo.com.tenwa.entity.comm.serialutil.LB_BEFORE_APPLICATION','O','1=2','','','',null,'SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1010','1010','1','O','fullname','fullname','String','','承租人姓名','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1020','1020','1','O','fullcertid','fullcertid','String','','承租人身份证号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1030','1030','1','O','fullphone','fullphone','String','','承租人电话号','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1040','1040','1','O','fullsex','fullsex','String','','承租人性别','','1','Select','1','1','Code','sex','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52:02','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 ('AppLbBeforeApplicationInfo','1050','1050','1','O','brand','brand','String','','车品牌','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1060','1060','1','O','model','model','String','','车型','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1010','1010','1','O','fullname','fullname','String','','承租人姓名','','1','Text','1','1','','','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1020','1020','1','O','fullcertid','fullcertid','String','','承租人身份证号','','1','Text','1','1','','','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1030','1030','1','O','fullphone','fullphone','Number','','承租人电话号','','1','Text','1','1','','','','11','1','0','1','0','0',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/22 14:59: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 ('AppLbBeforeApplicationInfo','1040','1040','1','O','fullsex','fullsex','String','','承租人性别','','1','Select','1','1','Code','sex','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1050','1050','1','O','brand','brand','String','','车品牌','','1','Text','1','1','','','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1055','1055','1','O','carseries','carseries','String','','车系','','1','Text','1','1','','','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/21 11:40:52','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 ('AppLbBeforeApplicationInfo','1060','1060','1','O','model','model','String','','车型','','1','Text','1','1','','','','32','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1070','1070','1','O','modelId','modelId','String','','车型ID','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:49','SYS_Designer','2020/07/20 14:52:03','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 ('AppLbBeforeApplicationInfo','1080','1080','1','O','carseries','carseries','String','','车系','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1085','1085','1','O','carattributes','carattributes','String','','租赁类型','','1','Select','1','1','Code','CarType','','10','1','0','1','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/21 11:32:42','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 ('AppLbBeforeApplicationInfo','1090','1090','1','O','mile','mile','String','','公里数','','1','Text','1','1','','','','32','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1100','1100','1','O','frame_number','frame_number','String','','车架号','','1','Text','1','1','','','','100','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1110','1110','1','O','age_limit','age_limit','String','','年限','','1','Text','1','1','','','','8','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52: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 ('AppLbBeforeApplicationInfo','1120','1120','1','O','price','price','String','','车辆指导价','','1','Text','1','1','','','','16','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52:03','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 ('AppLbBeforeApplicationInfo','1085','1085','1','O','carattributes','carattributes','String','','租赁类型','','1','Select','1','1','Code','CarType','','10','1','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52:03','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 ('AppLbBeforeApplicationInfo','1140','1140','1','O','liter','liter','String','','排量','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52:03','1','','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 ('AppLbBeforeApplicationInfo','1150','1150','1','O','geartype','geartype','String','','档位','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52:03','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 ('AppLbBeforeApplicationInfo','1200','1200','1','O','brandid','brandid','String','','车品牌id','','1','Text','1','1','','','','10','0','0','0','1','0',0,'','','','SYS_Designer','2020/07/20 14:51:50','SYS_Designer','2020/07/20 14:52:03','0','','1','','','','');
|
||||
@ -568,4 +573,3 @@ Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualn
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import java.util.Set;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import com.tenwa.httpclient.PyPafUtils;
|
||||
import com.tenwa.httpclient.pypafhtml.PyHtmlCreate;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.io.SAXReader;
|
||||
@ -106,11 +107,7 @@ public class BigDataController {
|
||||
htmlFile = Sqlca.getString(new SqlObject("select html_data from bigdata_" + table + " where id = '" + applyId + "'"));
|
||||
return htmlFile == null ? "" : htmlFile;
|
||||
}
|
||||
System.out.println("==================" + table + "@" + type + "获取数据====================");
|
||||
String result = this.getQueryReport(params, type,CurPage.getAttribute("SubjectId").toString());
|
||||
//System.err.println(result);
|
||||
System.out.println("==================" + table + "@" + type + "获取数据====================");
|
||||
|
||||
Connection conn = Sqlca.getConnection(Sqlca);
|
||||
@SuppressWarnings("deprecation")
|
||||
Configure configure = Configure.getInstance();
|
||||
String fileSavePath = configure.getParameter("FileSavePath") + "/" + "pengyuan" + "/";
|
||||
@ -118,53 +115,61 @@ public class BigDataController {
|
||||
String fullcardNo = CurPage.getParameter("fullcardNo");
|
||||
if(fullcardNo==null||"".equals(fullcardNo)){fullcardNo="default";}
|
||||
String queryCondition = HttpClientUtil.getQueryCondition(params);
|
||||
Connection conn = Sqlca.getConnection(Sqlca);
|
||||
try{
|
||||
htmlFile = HttpClientUtil.queryReport(result, type, fileSavePath, applyId);
|
||||
if(id != null) {
|
||||
id.put("applyId", applyId);
|
||||
}
|
||||
//在发起大数据请求前记录所有报文信息
|
||||
PreparedStatement ps = null;
|
||||
try {
|
||||
ps = conn.prepareStatement("insert into bigdata_" + table + "_log (id, apply_id, type, html_url, html_param, inputuserid, inputorgid, inputtime,fullName,fullcertId,fullphone,fullcardNo)"
|
||||
+ " values(REPLACE(UUID(),'-',''), ?, 'apply', ?, ?, ?, ?, ? ,?, ?, ?,? )");
|
||||
ps.setString(1, applyId);
|
||||
ps.setString(2, BigDataPropertiesUtil.get("pengyuanUrl"));
|
||||
ps.setString(3, queryCondition + "," + BigDataPropertiesUtil.get("user") + "," + BigDataPropertiesUtil.get("password") + "," + type);
|
||||
ps.setString(4, CurPage.getUser().getUserID());
|
||||
ps.setString(5, CurPage.getUser().getOrgID());
|
||||
ps.setString(6, StringFunction.getTodayNow());
|
||||
ps.setString(7, CurPage.getParameter("fullName"));
|
||||
ps.setString(8, CurPage.getParameter("fullcertId"));
|
||||
ps.setString(9, CurPage.getParameter("fullphone"));
|
||||
ps.setString(10, fullcardNo);
|
||||
ps.execute();
|
||||
if(!"pengyuan_af".equals(table)){
|
||||
System.out.println("==========非鹏元个人反欺诈接口=====================table=【pengyuan_af】or "+ table);
|
||||
System.out.println("==================" + table + "@" + type + "获取数据====================");
|
||||
String result = this.getQueryReport(params, type,CurPage.getAttribute("SubjectId").toString());
|
||||
System.err.println(result);
|
||||
System.out.println("==================" + table + "@" + type + "获取数据====================");
|
||||
try{
|
||||
htmlFile = HttpClientUtil.queryReport(result, type, fileSavePath, applyId);
|
||||
if(id != null) {
|
||||
id.put("applyId", applyId);
|
||||
}
|
||||
//在发起大数据请求前记录所有报文信息
|
||||
PreparedStatement ps = null;
|
||||
try {
|
||||
ps = conn.prepareStatement("insert into bigdata_" + table + "_log (id, apply_id, type, html_url, html_param, inputuserid, inputorgid, inputtime,fullName,fullcertId,fullphone,fullcardNo)"
|
||||
+ " values(REPLACE(UUID(),'-',''), ?, 'apply', ?, ?, ?, ?, ? ,?, ?, ?,? )");
|
||||
ps.setString(1, applyId);
|
||||
ps.setString(2, BigDataPropertiesUtil.get("pengyuanUrl"));
|
||||
ps.setString(3, queryCondition + "," + BigDataPropertiesUtil.get("user") + "," + BigDataPropertiesUtil.get("password") + "," + type);
|
||||
ps.setString(4, CurPage.getUser().getUserID());
|
||||
ps.setString(5, CurPage.getUser().getOrgID());
|
||||
ps.setString(6, StringFunction.getTodayNow());
|
||||
ps.setString(7, CurPage.getParameter("fullName"));
|
||||
ps.setString(8, CurPage.getParameter("fullcertId"));
|
||||
ps.setString(9, CurPage.getParameter("fullphone"));
|
||||
ps.setString(10, fullcardNo);
|
||||
ps.execute();
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new BusinessException("数据存储失败");
|
||||
} finally {
|
||||
if(ps != null) ps.close();
|
||||
}
|
||||
String html_data = Sqlca.getString(new SqlObject("select html_data from bigdata_" + table + " where id = '" + applyId + "'"));
|
||||
PreparedStatement ps1 = null;
|
||||
if("ExceedTimLlimitApply".equals(FlowNo)&&html_data != null){//如果超期案件再次调用鹏元大数据,并且是save状态
|
||||
ps1 = conn.prepareStatement("update bigdata_" + table + " set keyword3 = '"+FlowNo+"' where keyword1 = ? and keyword2 = ?");
|
||||
ps1.setString(1, CurPage.getParameter("ProjectId"));
|
||||
ps1.setString(2, CurPage.getParameter("CustId"));
|
||||
ps1.execute();
|
||||
htmlFile = html_data;
|
||||
if(ps != null) ps1.close();
|
||||
return htmlFile;
|
||||
}
|
||||
if(html_data != null) {
|
||||
htmlFile = html_data;
|
||||
return htmlFile;
|
||||
}
|
||||
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new BusinessException("数据存储失败");
|
||||
} finally {
|
||||
if(ps != null) ps.close();
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
String html_data = Sqlca.getString(new SqlObject("select html_data from bigdata_" + table + " where id = '" + applyId + "'"));
|
||||
PreparedStatement ps1 = null;
|
||||
if("ExceedTimLlimitApply".equals(FlowNo)&&html_data != null){//如果超期案件再次调用鹏元大数据,并且是save状态
|
||||
ps1 = conn.prepareStatement("update bigdata_" + table + " set keyword3 = '"+FlowNo+"' where keyword1 = ? and keyword2 = ?");
|
||||
ps1.setString(1, CurPage.getParameter("ProjectId"));
|
||||
ps1.setString(2, CurPage.getParameter("CustId"));
|
||||
ps1.execute();
|
||||
htmlFile = html_data;
|
||||
if(ps != null) ps1.close();
|
||||
return htmlFile;
|
||||
}
|
||||
if(html_data != null) {
|
||||
htmlFile = html_data;
|
||||
return htmlFile;
|
||||
}
|
||||
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new BusinessException(e.getMessage());
|
||||
}else {
|
||||
System.out.println("====================个人反欺诈【HTML】不调用鹏元接口获取数据====================");
|
||||
}
|
||||
type = "xml";
|
||||
PreparedStatement ps = null;
|
||||
@ -186,6 +191,9 @@ public class BigDataController {
|
||||
System.out.println("==================" + table + "@" + type + "获取数据====================");
|
||||
|
||||
String xmlPath = HttpClientUtil.queryReport(xmlResult, type, fileSavePath + "xml" + File.separator + applyId + File.separator);
|
||||
if("pengyuan_af".equals(table)){
|
||||
htmlFile = PyHtmlCreate.createHtmlFile(xmlPath, fileSavePath);
|
||||
}
|
||||
savePengyuanData(applyId, xmlPath, table, conn);
|
||||
StringBuffer keyword = new StringBuffer();
|
||||
StringBuffer keywordValue = new StringBuffer();
|
||||
@ -212,9 +220,12 @@ public class BigDataController {
|
||||
SqlObject sql_d = new SqlObject("delete from bigdata_ebank_af where fullcertId='"+CurPage.getParameter("fullcertId")+"'");
|
||||
Sqlca.executeSQL(sql_d);
|
||||
}
|
||||
if(!"pengyuan_af".equals(table)){
|
||||
htmlFile = htmlFile.split("@")[1];
|
||||
}
|
||||
SqlObject sql = new SqlObject(("insert into bigdata_" + table + " (id," + keyword.toString() + ",xml_data,html_data,"
|
||||
+ "inputuserid,inputorgid,inputtime,fullName,fullcertId,fullphone,fullcardNo) values('" + applyId + "'," + keywordValue.toString() + ",'"
|
||||
+ xmlResult + "','" + htmlFile.split("@")[1] + "','" + CurPage.getUserId() + "','" + CurPage.getUser().getOrgID() + "','" + StringFunction.getTodayNow() +"','"
|
||||
+ xmlResult + "','" + htmlFile + "','" + CurPage.getUserId() + "','" + CurPage.getUser().getOrgID() + "','" + StringFunction.getTodayNow() +"','"
|
||||
+CurPage.getParameter("fullName")+"','"+CurPage.getParameter("fullcertId")+"','"+CurPage.getParameter("fullphone")+"','"+fullcardNo+"')").replaceAll(":", "△"));
|
||||
sql.setDebugSql(sql.getDebugSql().replaceAll("△", ":"));
|
||||
sql.setOriginalSql(sql.getOriginalSql().replaceAll("△", ":"));
|
||||
@ -226,7 +237,7 @@ public class BigDataController {
|
||||
System.err.println(insertsql);
|
||||
System.err.println("****************************鹏元大数据************************");
|
||||
Sqlca.executeSQL(sql);
|
||||
return htmlFile.split("@")[1];
|
||||
return htmlFile;
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked"})
|
||||
@ -631,7 +642,7 @@ public class BigDataController {
|
||||
BigDataPropertiesUtil.get("methodType"),
|
||||
para);
|
||||
}
|
||||
//System.out.println(result);
|
||||
System.out.println(result);
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new BusinessException("获取大数据失败");
|
||||
|
||||
439
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlBase.java
Normal file
439
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlBase.java
Normal file
@ -0,0 +1,439 @@
|
||||
package com.tenwa.httpclient.pypafhtml;
|
||||
|
||||
public class PyHtmlBase {
|
||||
public static final String header = "<html>\n" +
|
||||
" <head> \n" +
|
||||
" <meta charset=\"UTF-8\" /> \n" +
|
||||
" <title>主机对主机_全国个人信息查询</title> \n" +
|
||||
" <style>\n" +
|
||||
"body { \n" +
|
||||
"\tfont-family: simsun; \n" +
|
||||
"\tfont-size: 14px; \n" +
|
||||
"\tcolor: #000; \n" +
|
||||
"\tbackground: #FFF; \n" +
|
||||
"\tmargin: 0; \n" +
|
||||
"\tpadding: 15px 0; \n" +
|
||||
"\tword-wrap: break-word; \n" +
|
||||
"}\n" +
|
||||
".report {\n" +
|
||||
"\twidth: 800px;\n" +
|
||||
"\tfont-size: 12px;\n" +
|
||||
"\tmargin: 0 auto;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report.pdf {\n" +
|
||||
"\twidth: 100%;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report table {\n" +
|
||||
"\tmargin-bottom: 16px;\n" +
|
||||
"\twidth: 100%;\n" +
|
||||
"\tborder-spacing: 0;\n" +
|
||||
"\tfont-family: simsun; \n" +
|
||||
"\tfont-size: 13px; \n" +
|
||||
"\tcolor: #000; \n" +
|
||||
"\tbackground: #FFF; \n" +
|
||||
"\tmargin: 0; \n" +
|
||||
"\tword-wrap: break-word; \n" +
|
||||
"\ttable-layout: fixed;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report table.report-title {\n" +
|
||||
"\theight: 65px;\n" +
|
||||
"\tfont-size: 27px;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"\ttext-align: center;\n" +
|
||||
"\tfont-family: simsun;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report table.list-title2 td {\n" +
|
||||
"\tcolor: purple;\n" +
|
||||
"\tfont-size: 12px;\n" +
|
||||
"}\n" +
|
||||
".more{\n" +
|
||||
"\ttext-align:right;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report table.section-title {\n" +
|
||||
"\tmargin-bottom: 4px;\n" +
|
||||
"\tcolor: purple;\n" +
|
||||
"\tfont-size: 14px;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"\n" +
|
||||
".report table.section-title-black {\n" +
|
||||
"\tmargin-bottom: 4px;\n" +
|
||||
"\tcolor: black;\n" +
|
||||
"\tfont-size: 14px;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
".section-title td {\n" +
|
||||
" padding-top: 5px;\n" +
|
||||
"\tpadding-bottom: 5px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".section-title.border td {\n" +
|
||||
"\tborder-bottom: 2px solid #660066;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".section-title td.pole {\n" +
|
||||
"\twidth: 13px;\n" +
|
||||
"\tpadding-bottom: 0;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".report table.list-title {\n" +
|
||||
"\tmargin-top: 10px;\n" +
|
||||
"\tmargin-bottom: 5px;\n" +
|
||||
"\tfont-size: 14px;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list {\n" +
|
||||
"\ttable-layout: fixed;\n" +
|
||||
"\tborder-collapse: collapse;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list.mb-0 {\n" +
|
||||
"\tmargin-bottom: 0;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list td, .list th {\n" +
|
||||
" border: 1px solid #000;\n" +
|
||||
"\tpadding: 5px;\n" +
|
||||
"\tvertical-align: middle;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".pdf .list .field {\n" +
|
||||
"\tbackground-color: #f0f0f0;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".pdf .list .field2 {\n" +
|
||||
"\tbackground-color: #f0f0f0;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list .field {\n" +
|
||||
"\tbackground-color: #ccc;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list .field2 {\n" +
|
||||
"\tbackground-color: #ccc;\n" +
|
||||
"}\n" +
|
||||
"/* 蓝底,用于显示一些合计总结性数据 */\n" +
|
||||
".list .field3 {\n" +
|
||||
"\tbackground-color: #9DC3E6;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list .td-style1 {\n" +
|
||||
" padding: 0px;\n" +
|
||||
" border:0px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".list .td-style2 {\n" +
|
||||
" border-right:0px;\n" +
|
||||
"}\n" +
|
||||
".text-center {\n" +
|
||||
"\ttext-align: center;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".text-right {\n" +
|
||||
"\ttext-align: right;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".bold {\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".red {\n" +
|
||||
"\tcolor: red;\n" +
|
||||
"}\n" +
|
||||
".green {\n" +
|
||||
"\tcolor: green;\n" +
|
||||
"}\n" +
|
||||
".blue {\n" +
|
||||
"\tcolor: blue;\n" +
|
||||
"}\n" +
|
||||
".darkblue {\n" +
|
||||
"\tcolor: #069;\n" +
|
||||
"}\n" +
|
||||
".normal {\n" +
|
||||
"\tcolor: #000;\n" +
|
||||
"\tfont-weight: normal;\n" +
|
||||
"}\n" +
|
||||
".error-msg {\n" +
|
||||
"\tcolor: #FF0000;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"\tbackground: #F2F2F2;\n" +
|
||||
"}\n" +
|
||||
".no-result-msg {\n" +
|
||||
"\tcolor: #000000;\n" +
|
||||
"\tfont-weight: bold;\n" +
|
||||
"\tbackground: #F2F2F2;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"table.tips-word-area {\n" +
|
||||
"\tmargin-top: 15px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"table.tips-word-area td {\n" +
|
||||
"\tbackground-color: #E1E1E1;\n" +
|
||||
"\theight: 20px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"table.tips-word-area td.tips-word {\n" +
|
||||
"\tpadding-left: 30px;\n" +
|
||||
"\tline-height: 20px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"a {text-decoration:none;color:blue; }\n" +
|
||||
" a:link { }\n" +
|
||||
" a:visited { }\n" +
|
||||
" a:hover { color: #c30; text-decoration: underline; }\n" +
|
||||
" a:active { }\n" +
|
||||
"\n" +
|
||||
"\t/* Table */\n" +
|
||||
".table-style { margin-bottom: 15px; border-collapse: collapse;}\n" +
|
||||
".table-style th, .table-style td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
|
||||
".table-style th { background: #ccc; font-weight: bold;}\n" +
|
||||
".table-style h3 { font-size: 14px; color:#e76800; }\n" +
|
||||
"\n" +
|
||||
"/* Table */\n" +
|
||||
".table-style1 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
|
||||
" .table-style1 th, .table-style1 td { padding: 5px; }\n" +
|
||||
" .table-style1 th { background: #d7d7d7; border:1px solid #666666; }\n" +
|
||||
" .table-style1 td { border:1px solid #666666;}\n" +
|
||||
" .table-style1 h3 { font-size: 14px; color:#e76800; }\n" +
|
||||
"/*无边界*/\n" +
|
||||
".table-style2 { border:0px;}\n" +
|
||||
" .table-style2 th, .table-style2 td { padding: 5px; }\n" +
|
||||
" .table-style2 th { background: #d7d7d7; border:0px }\n" +
|
||||
" .table-style2 td { border:0px}\n" +
|
||||
" .table-style2 h3 { font-size: 14px; color:#e76800; }\n" +
|
||||
"/*有边界,无margin-bottom*/\n" +
|
||||
".table-style3 { border-collapse: collapse;}\n" +
|
||||
".table-style3 th, .table-style3 td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
|
||||
".table-style3 th { background: #ccc;}\n" +
|
||||
".table-style3 h3 { font-size: 14px; color:#e76800; }\n" +
|
||||
"\n" +
|
||||
".table-style4 { border:1px solid #666666;}\n" +
|
||||
".table-style4 th, .table-style4 td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
|
||||
".table-style4 th { background: #ccc; font-weight: bold;}\n" +
|
||||
".table-style4 h3 { font-size: 14px; color:#e76800; }\n" +
|
||||
"<!-- risk info css -->\n" +
|
||||
"\n" +
|
||||
" /*提示信息样式,无边框,有背景色 */\n" +
|
||||
".table-tips { border:0px;}\n" +
|
||||
" .table-tips th, .table-tips td { padding: 5px;background-color: #ccc;}\n" +
|
||||
" .table-tips th { border:0px;font-weight: bold; }\n" +
|
||||
" .table-tips td { border:0px}\n" +
|
||||
" /*提示信息样式2,有边框,有背景色 */\n" +
|
||||
".table-tips2 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
|
||||
" .table-tips2 th, .table-tips2 td { padding: 5px;background-color: #ccc;}\n" +
|
||||
" .table-tips2 th { border:0px;font-weight: bold; }\n" +
|
||||
" .table-tips2 td { border:0px}\t\n" +
|
||||
" /*提示信息样式3,有边框,无背景色 */\n" +
|
||||
".table-tips3 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
|
||||
" .table-tips3 th, .table-tips3 td { padding: 5px;}\n" +
|
||||
" .table-tips3 th { border:0px;font-weight: bold; }\n" +
|
||||
" .table-tips3 td { border:0px}\t\n" +
|
||||
" /*提示信息样式4,无边框,无背景色 */\n" +
|
||||
".table-tips4 { border:0px;}\n" +
|
||||
" .table-tips4 th, .table-tips4 td { padding: 5px;}\n" +
|
||||
" .table-tips4 th { border:0px;font-weight: bold; }\n" +
|
||||
" .table-tips4 td { border:0px}\n" +
|
||||
".td-head {\n" +
|
||||
" background: none repeat scroll 0 0 #D7D7D7;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".td-head-pdf {\n" +
|
||||
" background: none repeat scroll 0 0 #E6E6E6;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".text-center {\n" +
|
||||
" text-align: center;\n" +
|
||||
"}\n" +
|
||||
".text-left{\n" +
|
||||
"\ttext-align: left;\n" +
|
||||
"}\n" +
|
||||
".text-normal {\n" +
|
||||
" color: #000;\n" +
|
||||
"}\n" +
|
||||
".num_link {\n" +
|
||||
"\n" +
|
||||
" text-decoration: underline;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".title_link {\n" +
|
||||
"\n" +
|
||||
" text-decoration: underline;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".file_pdf_link {\n" +
|
||||
"\n" +
|
||||
" text-decoration: underline;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".file_src_link {\n" +
|
||||
"\n" +
|
||||
" text-decoration: underline;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".num_link_disabled {\n" +
|
||||
" text-decoration: none;\n" +
|
||||
" color: #000;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"\n" +
|
||||
".clear {\n" +
|
||||
" clear: both;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".summaryInfo {\n" +
|
||||
" margin: 15px 0px;\n" +
|
||||
" /* border: 1px solid #cdcdcd;\n" +
|
||||
" border-radius: 4px; */\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".summaryTitle {\n" +
|
||||
" /* background-color: #EAEAEA; */\n" +
|
||||
" padding: 5px 2px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".detailInfo {\n" +
|
||||
" margin: 15px 0px;\n" +
|
||||
" clear: both;\n" +
|
||||
" /* border: 1px solid #cdcdcd;\n" +
|
||||
" border-radius: 4px; */\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".detailTitle {\n" +
|
||||
" padding: 5px 2px;\n" +
|
||||
" margin: 5px 0px;\n" +
|
||||
" background-color: #EAEAEA;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".btn {\n" +
|
||||
" padding: 3px 5px;\n" +
|
||||
" margin: 3px 5px;\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
".thw{ width: 18% }\n" +
|
||||
".risk-cate-title {\n" +
|
||||
" font-size: 14px;\n" +
|
||||
" margin-bottom: 5px;\n" +
|
||||
"}\n" +
|
||||
".risk-cate-subtitle {\n" +
|
||||
" background: none repeat scroll 0 0 #E6E6E6;\n" +
|
||||
" border-top: 1px solid #666666;\n" +
|
||||
" border-right: 1px solid #666666;\n" +
|
||||
" border-left: 1px solid #666666;\n" +
|
||||
" font-size: 12px;\n" +
|
||||
" padding: 5px;\n" +
|
||||
" margin-bottom: 0px;\n" +
|
||||
"}\n" +
|
||||
".subNormalTitle{padding: 5px 0 5px 0;font-weight:bold;font-size: 12px}\n" +
|
||||
".subNormalInfo{padding: 5px 0 5px 0;font-weight:normal;font-size: 12px}\n" +
|
||||
".subMaxTitle{padding: 5px 0 5px 0;font-weight:bold;font-size: 14px}\n" +
|
||||
".subMaxInfo{padding: 5px 0 5px 0;font-weight:normal;font-size: 14px}\n" +
|
||||
".more-dropdown { font-size:12px; }\n" +
|
||||
".static-brief,.static-brief2 {\n" +
|
||||
" border: 1px solid #CCCCCC;\n" +
|
||||
" cursor: pointer;\n" +
|
||||
" margin-bottom: 2px;\n" +
|
||||
" overflow: hidden;\n" +
|
||||
" padding: 5px;\n" +
|
||||
"}\n" +
|
||||
".report-brief { border:1px solid #ccc; padding:5px; margin-bottom: 2px; overflow:hidden; zoom:1; cursor:pointer;}\n" +
|
||||
".report-brief:hover { background: #D6E7F3;}\n" +
|
||||
".brief-title { display:inline-block; width:12em; font-weight:bold; padding: 2px 0px;}\n" +
|
||||
".brief-fun { float:right; margin: 0 5px; +margin: -12px 5px 0 0;}\n" +
|
||||
".noborder { border: 1px solid #fff;}\n" +
|
||||
".brief-content { display:none;}\n" +
|
||||
".td-bottom {padding-bottom:10px}\n" +
|
||||
".report-ip-brief { border:1px solid #ccc; padding:5px; margin-bottom: 2px; overflow:hidden; zoom:1; cursor:pointer;}\n" +
|
||||
".brief-ip-fun { float:right; margin: 0 5px; +margin: -12px 5px 0 0;display: none}\n" +
|
||||
"<!-- risk info css end -->\n" +
|
||||
"\n" +
|
||||
"\n" +
|
||||
" </style> \n" +
|
||||
" </head> <body> \n" +
|
||||
" <!--查询条件begin-->\n" +
|
||||
" <!-- 卡核查及交易查询附加条件 -->\n" +
|
||||
" <!-- 卡多笔交易查询附加条件 -->\n" +
|
||||
" <!--查询条件end-->\n" +
|
||||
" <!-- 被冻结及被屏蔽直接返回系统错误,不在展示子报告模块 -->\n" +
|
||||
" <!--反欺诈分析综述begin-->\n" +
|
||||
" <!--反欺诈分析综述end-->\n" +
|
||||
" <!--欺诈风险指数begin-->\n" +
|
||||
" <!--欺诈风险指数end-->\n" +
|
||||
" <!--证件号码校验信息begin-->\n" +
|
||||
" <!--证件号码校验信息end-->\n" +
|
||||
" <!--身份认证begin-->\n" +
|
||||
" <!--身份认证end-->\n" +
|
||||
" <!--手机认证begin-->\n" +
|
||||
" <!--手机认证end-->\n" +
|
||||
" <!--手机号码状态时长begin-->\n" +
|
||||
" <!--手机号码状态时长end-->\n" +
|
||||
" <!--风险名单begin-->\n" +
|
||||
" <!--风险名单end-->\n" +
|
||||
" <!--司法风险汇总begin-->\n" +
|
||||
" <!--司法风险汇总end-->\n" +
|
||||
" <table class=\"report\" align=\"center\"> \n" +
|
||||
" <tbody>\n" +
|
||||
" <tr> \n" +
|
||||
" <td> \n" +
|
||||
" <table class=\"report-title\"> \n" +
|
||||
" <tbody>\n" +
|
||||
" <tr> \n" +
|
||||
" <td>个人信息报告</td> \n" +
|
||||
" </tr> \n" +
|
||||
" </tbody>\n" +
|
||||
" </table> </td> \n" +
|
||||
" </tr> \n" +
|
||||
" <!--查询条件begin--> \n" +
|
||||
" <tr> \n" +
|
||||
" <td> \n" +
|
||||
" <table class=\"section-title border\"> \n" +
|
||||
" <tbody>\n" +
|
||||
" <tr> \n" +
|
||||
" <td class=\"pole\"><img src=\"image/image_list.png\" /></td> \n" +
|
||||
" <td>查询条件</td> \n" +
|
||||
" <td class=\"text-right normal\">报告编号:";
|
||||
|
||||
|
||||
public static final String tail = " <tr> \n" +
|
||||
" <td> \n" +
|
||||
" <table style=\"margin-top: 40px;\"> \n" +
|
||||
" <tbody>\n" +
|
||||
" <tr> \n" +
|
||||
" <td class=\"bold\">报告使用说明:</td> \n" +
|
||||
" </tr> \n" +
|
||||
" </tbody>\n" +
|
||||
" </table> </td> \n" +
|
||||
" </tr> \n" +
|
||||
" <tr> \n" +
|
||||
" <td> \n" +
|
||||
" <table style=\"margin-top: 20px;\"> \n" +
|
||||
" <tbody>\n" +
|
||||
" <tr> \n" +
|
||||
" <td>1. 本报告著作权属于鹏元征信有限公司,未经书面许可,不得复制、摘录、转载和发表。</td> \n" +
|
||||
" </tr> \n" +
|
||||
" <tr> \n" +
|
||||
" <td>2. 本报告仅供使用者参考,鹏元征信有限公司不承担据此报告产生的任何法律责任。</td> \n" +
|
||||
" </tr> \n" +
|
||||
" <tr> \n" +
|
||||
" <td>3. 鹏元征信有限公司客服热线:0755-82873169,电子邮箱:credit@pycredit.cn 。</td> \n" +
|
||||
" </tr> \n" +
|
||||
" <tr> \n" +
|
||||
" <td>4. 公司地址:深圳市深南大道7008号阳光高尔夫大厦四楼。</td> \n" +
|
||||
" </tr> \n" +
|
||||
" </tbody>\n" +
|
||||
" </table> </td> \n" +
|
||||
" </tr> \n" +
|
||||
" </tbody>\n" +
|
||||
" </table> \n" +
|
||||
" </body>\n" +
|
||||
"</html>" ;
|
||||
}
|
||||
1203
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlContent.java
Normal file
1203
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlContent.java
Normal file
File diff suppressed because it is too large
Load Diff
141
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlCreate.java
Normal file
141
src_tenwa/com/tenwa/httpclient/pypafhtml/PyHtmlCreate.java
Normal file
@ -0,0 +1,141 @@
|
||||
package com.tenwa.httpclient.pypafhtml;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.Element;
|
||||
import org.dom4j.io.SAXReader;
|
||||
import org.dom4j.tree.DefaultAttribute;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.PrintStream;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class PyHtmlCreate {
|
||||
|
||||
/**
|
||||
* xml文件读取并生成html文件
|
||||
* @param xmlFilePath
|
||||
* @return
|
||||
*/
|
||||
public static String createHtmlFile(String xmlFilePath, String htmlFilePath) throws Exception {
|
||||
SAXReader reader = new SAXReader();
|
||||
File xmlFile = new File(xmlFilePath);
|
||||
Document document = reader.read(xmlFile);
|
||||
Element root = document.getRootElement();
|
||||
JSONObject obj = createObjJson(root);
|
||||
System.out.println("PyHtmlCreate===========JSON=" + obj.toJSONString());
|
||||
String reportId = obj.getString("reportID");
|
||||
// TODO: 2020/7/30 文件地址修改
|
||||
htmlFilePath = htmlFilePath + "xmlHtml/"+ reportId +".html";
|
||||
File htmlFile = new File(htmlFilePath);
|
||||
htmlFile.createNewFile();
|
||||
String htmlContent = createHtml(obj);
|
||||
PrintStream printStream = new PrintStream(new FileOutputStream(htmlFile));
|
||||
printStream.println(htmlContent);//将字符串写入文件
|
||||
return htmlFilePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* xml转换json
|
||||
* @param root
|
||||
* @return
|
||||
*/
|
||||
private static JSONObject createObjJson(Element root){
|
||||
JSONObject obj = new JSONObject();
|
||||
List<DefaultAttribute> rootAttribute = root.attributes();
|
||||
for(DefaultAttribute roAttribute : rootAttribute) {
|
||||
obj.put(roAttribute.getName(), roAttribute.getStringValue());
|
||||
}
|
||||
List<Element> cisReports = root.elements();
|
||||
String reportID = null;
|
||||
|
||||
for(Element cisReport : cisReports) {
|
||||
List<DefaultAttribute> crAttributes = cisReport.attributes();
|
||||
for(DefaultAttribute crAttribute : crAttributes) {
|
||||
obj.put(crAttribute.getName(), crAttribute.getStringValue());
|
||||
}
|
||||
JSONObject queryConditionsObj = new JSONObject();
|
||||
obj.put("queryConditionsObj", queryConditionsObj);
|
||||
Element queryCondition = cisReport.element("queryConditions");
|
||||
List<Element> items = queryCondition.elements("item");
|
||||
for(Element item : items) {
|
||||
List<Element> subItem = item.elements();
|
||||
queryConditionsObj.put(subItem.get(0).getTextTrim(), subItem.get(2).getTextTrim());
|
||||
}
|
||||
JSONObject personAntiFraudDescInfo = createJson(cisReport, "personAntiFraudDescInfo");
|
||||
obj.put("personAntiFraudDescInfo", personAntiFraudDescInfo);
|
||||
JSONObject personAntiFraudScoreInfo = createJson(cisReport, "personAntiFraudScoreInfo");
|
||||
obj.put("personAntiFraudScoreInfo", personAntiFraudScoreInfo);
|
||||
JSONObject personBaseInfo = createJson(cisReport, "personBaseInfo");
|
||||
obj.put("personBaseInfo", personBaseInfo);
|
||||
JSONObject personRiskRosterInfo = createJson(cisReport, "personRiskRosterInfo");
|
||||
obj.put("personRiskRosterInfo", personRiskRosterInfo);
|
||||
|
||||
JSONObject policeCheckInfo = createJson(cisReport, "policeCheckInfo");
|
||||
obj.put("policeCheckInfo", policeCheckInfo);
|
||||
|
||||
JSONObject mobileCheckInfo = createJson(cisReport, "mobileCheckInfo");
|
||||
obj.put("mobileCheckInfo", mobileCheckInfo);
|
||||
|
||||
JSONObject mobileStatusInfo = createJson(cisReport, "mobileStatusInfo");
|
||||
obj.put("mobileStatusInfo", mobileStatusInfo);
|
||||
|
||||
JSONObject personJudicialRiskInfo = createJson(cisReport, "personJudicialRiskInfo");
|
||||
obj.put("personJudicialRiskInfo", personJudicialRiskInfo);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* json 组装
|
||||
* @param cisReport
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
private static JSONObject createJson(Element cisReport, String key){
|
||||
JSONObject obj = new JSONObject();
|
||||
Element subElement = cisReport.element(key);
|
||||
List<DefaultAttribute> subAttributes = subElement.attributes();
|
||||
for(DefaultAttribute sub : subAttributes) {
|
||||
obj.put(sub.getName(), sub.getStringValue());
|
||||
}
|
||||
//返回结果值不为3即尝试解析内容是否有值
|
||||
if(!"3".equals(obj.getString("treatResult"))){
|
||||
List<Element> grandsonElements = subElement.elements();
|
||||
JSONArray item = new JSONArray();
|
||||
for(Element element : grandsonElements) {
|
||||
if(!"item".equals(element.getName())){
|
||||
obj.put(element.getName(), element.getStringValue().trim());
|
||||
}else {
|
||||
JSONObject itemObj = new JSONObject();
|
||||
List<Element> subGrandsonElements = element.elements();
|
||||
for(Element e : subGrandsonElements){
|
||||
itemObj.put(e.getName(), e.getStringValue().trim());
|
||||
}
|
||||
item.add(itemObj);
|
||||
}
|
||||
}
|
||||
if(null != item && item.size() > 0){
|
||||
obj.put("item", item);
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* html组装
|
||||
* @param obj
|
||||
* @return
|
||||
*/
|
||||
private static String createHtml(JSONObject obj) throws Exception {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(PyHtmlBase.header);
|
||||
sb.append(PyHtmlContent.createBodyHead(obj));
|
||||
sb.append(PyHtmlContent.createBodyContent(obj));
|
||||
sb.append(PyHtmlBase.tail);
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user