From d8425d92ddf229d6d1718bb4cfbb401fe998fa45 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Mon, 20 Jan 2020 17:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=8F=98=E6=9B=B4=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E9=99=84=E4=BB=B6=E4=B8=80=E8=A7=88=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=E7=9A=84=E8=B5=84?= =?UTF-8?q?=E6=96=99=E6=B8=85=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Comm/Document/DocImageShow.jsp | 15 +++++++++--- .../Comm/Document/LBDocumentListInfo.jsp | 10 ++++++-- src_sql/投产SQL/V20200206/tft_20200206.sql | 23 +++++++++++++++++++ src_sql/预产SQL/v20200206/tft_20200206.sql | 3 --- 4 files changed, 43 insertions(+), 8 deletions(-) create mode 100644 src_sql/投产SQL/V20200206/tft_20200206.sql delete mode 100644 src_sql/预产SQL/v20200206/tft_20200206.sql diff --git a/WebContent/Tenwa/Comm/Document/DocImageShow.jsp b/WebContent/Tenwa/Comm/Document/DocImageShow.jsp index 33d956a36..53846a16d 100644 --- a/WebContent/Tenwa/Comm/Document/DocImageShow.jsp +++ b/WebContent/Tenwa/Comm/Document/DocImageShow.jsp @@ -29,8 +29,15 @@ border-bottom:1px solid #BCBCBC;} String otherWhere=""; if(type==""){ - BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//Á÷³Ì¶ÔÏó - otherWhere=DocListInitAction.getFlowWhere(flow,"","rela"); + if("BusinessChangeFlow".equals(sObjectType)){ + String ProjectId = Sqlca.getString("SELECT proj_id FROM flow_bussiness_object WHERE flow_unid='"+flowunid+"'"); + otherWhere = " and rela.proj_id='"+ProjectId+"' and (O.objecttype='"+sObjectType+"' or O.objecttype='BusinessApplyFlow')"; + }else{ + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//Á÷³Ì¶ÔÏó + otherWhere=DocListInitAction.getFlowWhere(flow,"","rela"); + } + //BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//Á÷³Ì¶ÔÏó + //otherWhere=DocListInitAction.getFlowWhere(flow,"","rela"); }else if("proj".equals(type)){ otherWhere=" and rela.proj_id='"+CurPage.getParameter("proj_id")+"'"; }else if("contract".equals(type)){ @@ -39,7 +46,9 @@ border-bottom:1px solid #BCBCBC;} if("query".equals(query)){ otherWhere = otherWhere+" and rela.objecttype in ('BusinessApplyFlow','FundPaymentCarFlow','MortgageFileFlow') "; }else{ - otherWhere = otherWhere+" and rela.objecttype='"+sObjectType+"' "; + if(!"BusinessChangeFlow".equals(sObjectType)){ + otherWhere = otherWhere+" and rela.objecttype='"+sObjectType+"' "; + } } String compClientID = request.getParameter("CompClientID"); String sql="select O.id,lib.doc_name,filename from O left join jbo.app.tenwa.doc.LB_DOCLIBRARY lib on o.library_id=lib.id left join jbo.app.tenwa.doc.LB_DOCRELATIVE rela on lib.relative_id=rela.id"; diff --git a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp index c822cf633..9e155ffbc 100644 --- a/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp +++ b/WebContent/Tenwa/Comm/Document/LBDocumentListInfo.jsp @@ -34,8 +34,14 @@ otherWhere = " and O.OBJECTTYPE in ('BusinessApplyFlow','FundPaymentCarFlow','MortgageFileFlow') "; } if(type==""){ - BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//Á÷³Ì¶ÔÏó - otherWhere= otherWhere+DocListInitAction.getFlowWhere(flow,"","O"); + if("BusinessChangeFlow".equals(sObjectType)){ + sTempletNo="ChangeFlowLBDocumentList"; + String ProjectId = Sqlca.getString("SELECT proj_id FROM flow_bussiness_object WHERE flow_unid='"+flowunid+"'"); + otherWhere = " and O.proj_id='"+ProjectId+"' and (O.objecttype='"+sObjectType+"' or O.objecttype='BusinessApplyFlow')"; + }else{ + BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);//Á÷³Ì¶ÔÏó + otherWhere= otherWhere+DocListInitAction.getFlowWhere(flow,"","O"); + } //otherWhere=" and O.proj_id='"+proj_id+"' order by O.INPUTTIME DESC"; }else if("proj".equals(type)){ otherWhere= otherWhere+" and O.proj_id='"+proj_id+"' order by O.INPUTTIME DESC"; diff --git a/src_sql/投产SQL/V20200206/tft_20200206.sql b/src_sql/投产SQL/V20200206/tft_20200206.sql new file mode 100644 index 000000000..c6a14a2cd --- /dev/null +++ b/src_sql/投产SQL/V20200206/tft_20200206.sql @@ -0,0 +1,23 @@ +-- ¿Û¿î¿¨ÐÅÏ¢Á÷³Ì£¬Éú³ÉÖ±½Ó¿Û¿îίÍÐÊéÌí¼ÓÖ÷ÌåIDºÍÖ÷ÌåÃû³Æ£¬ÒѸüÐÂÉú³É»·¾³ +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 ('ChangeDebitCardList','1500','1500','1','lci','SUBJECTID','SUBJECTID','String','','Ö÷Ìåid','','1','Text','1','1','','','','20','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/19 16:47:07','SYS_Designer','2020/01/19 16:47:07','0','','1','','','',''); +Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('ChangeDebitCardList','1570','1570','1','lci','SUBJECTNAME','SUBJECTNAME','String','','Ö÷ÌåÃû³Æ','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/19 16:47:07','SYS_Designer','2020/01/19 16:47:07','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 ('ChangeFlowLBDocumentList','¸½¼þÁбí',NULL,'30060',NULL,'1','1','default','jbo.app.tenwa.doc.LB_DOCRELATIVE','O,jbo.app.tenwa.doc.LB_DOCLIBRARY lib','O.id=lib.relative_Id and lib.id in (select attr.library_id from jbo.app.tenwa.doc.LB_DOCATTRIBUTE attr ) ','','O.INPUTTIME','',NULL,'SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','','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 ('ChangeFlowLBDocumentList','1000','1000','1','lib','Id','Id','String','','Ö÷¼ü','','1','Text','1','1','','','','32','0','0','0','0','0',1,'0','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1010','1010','1','lib','Doc_Type','Doc_Type','String','','Ò»¼¶·ÖÀà','','1','Select','1','1','Code','DocList','','32','1','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1020','1020','1','lib','One_Classify','One_Classify','String','','¶þ¼¶·ÖÀà','','1','Text','1','1','','','','150','0','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1030','1030','1','lib','DOC_NAME','DOC_NAME','String','','Ãû³Æ','','1','Text','1','1','','','','100','1','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1040','1040','1','lib','REMARK','REMARK','String','','±¸×¢','','1','Text','1','1','','','','200','1','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','','','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 ('ChangeFlowLBDocumentList','1050','1050','1','','com.tenwa.doc.cache.DocListCache.getFile(Id)','filelist','String','','¸½¼þÇåµ¥','','1','Text','1','1','','','style={width:600px;}',NULL,'1','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1060','1060','1','O','Flow_Unid','Flow_Unid','String','','Á÷³ÌºÅ','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1070','1011','0','','NameManager.getItemName(''DocList'',Doc_Type)','docTypeNmae','String','','Ò»¼¶·ÖÀà','','1','Select','1','1','Code','getannex','','32','0','0','0','1','1',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1071','1070','1','lib','IS_FILE_LIST','IS_FILE_LIST','String','','ÊÇ·ñÎļþÇåµ¥','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1080','1021','1','','NameManager.getItemName(''DocList'',One_Classify)','OneClassifyName','String','','¶þ¼¶·ÖÀà','','1','Text','1','1','','','','32','1','0','0','0','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','','','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 ('ChangeFlowLBDocumentList','1090','1090','1','O','INPUTORGID','INPUTORGID','String','','´´½¨ÈËËùÊô²¿ÃÅ','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1100','1100','1','O','INPUTTIME','INPUTTIME','String','','´´½¨Ê±¼ä','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','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 ('ChangeFlowLBDocumentList','1110','1110','1','O','INPUTUSERID','INPUTUSERID','String','','´´½¨ÈË','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/20 09:39:49','SYS_Designer','2020/01/20 09:42:38','0','','1','','','',''); + + + + diff --git a/src_sql/预产SQL/v20200206/tft_20200206.sql b/src_sql/预产SQL/v20200206/tft_20200206.sql deleted file mode 100644 index f06a88c06..000000000 --- a/src_sql/预产SQL/v20200206/tft_20200206.sql +++ /dev/null @@ -1,3 +0,0 @@ --- ¿Û¿î¿¨ÐÅÏ¢Á÷³Ì£¬Éú³ÉÖ±½Ó¿Û¿îίÍÐÊéÌí¼ÓÖ÷ÌåIDºÍÖ÷ÌåÃû³Æ£¬ÒѸüÐÂÉú³É»·¾³ -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 ('ChangeDebitCardList','1500','1500','1','lci','SUBJECTID','SUBJECTID','String','','Ö÷Ìåid','','1','Text','1','1','','','','20','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/19 16:47:07','SYS_Designer','2020/01/19 16:47:07','0','','1','','','',''); -Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('ChangeDebitCardList','1570','1570','1','lci','SUBJECTNAME','SUBJECTNAME','String','','Ö÷ÌåÃû³Æ','','1','Text','1','1','','','','100','0','0','0','1','0',0,'','','','SYS_Designer','2020/01/19 16:47:07','SYS_Designer','2020/01/19 16:47:07','0','','1','','','','');