<%@page import="com.amarsoft.are.jbo.*"%> <%@page import="jbo.app.FORMATDOC_PARA"%> <%@ page import="com.amarsoft.biz.formatdoc.model.FormatDocHelp"%><%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBeginMDAJAX.jsp"%><% /* Author: xdhou 2005.02.18 Content: 选择需要调用的JSP Input Param: SerialNo: 报告流水号 ObjectNo: 业务流水号 */ //获得参数 String sDocID = CurPage.getParameter("DocID"); String sOrgID = FormatDocHelp.getBranchOrgID(CurOrg.getOrgID()); String sAttribute = ""; String sSql = "select DefaultValue from O where orgid = :OrgID and docid = :DocID"; BizObject boPara = JBOFactory.createBizObjectQuery(FORMATDOC_PARA.CLASS_NAME, sSql) .setParameter("OrgID", sOrgID).setParameter("DocID", sDocID).getSingleResult(false); if(boPara != null) sAttribute = boPara.getAttribute("DefaultValue").getString(); out.print(sAttribute); %><%@ include file="/IncludeEndAJAX.jsp"%>