1.修改附件一览图片显示问题。

This commit is contained in:
zhangbb 2018-08-29 14:58:51 +08:00
parent f29aedd3e9
commit 718b58888c

View File

@ -36,10 +36,10 @@ border-bottom:1px solid #BCBCBC;}
otherWhere=" and (rela.contract_id='"+CurPage.getParameter("contract_id")+"' OR rela.proj_id='"+CurPage.getParameter("proj_id")+"')";
}
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";
sql+=" where O.content_type LIKE '%image%' "+otherWhere+" order by lib.doc_name,O.filename";
System.out.println(sql);
List<BizObject> list=JBOFactory.createBizObjectQuery("jbo.app.tenwa.doc.LB_DOCATTRIBUTE", sql).getResultList(false);
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";
sql+=" where O.content_type LIKE '%image%' "+otherWhere+"and rela.flow_unid='"+flowunid+"'order by lib.doc_name,O.filename";
System.out.println(sql);
List<BizObject> list=JBOFactory.createBizObjectQuery("jbo.app.tenwa.doc.LB_DOCATTRIBUTE", sql).getResultList(false);
%>