2018-06-03 22:26:41 +08:00

24 lines
938 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@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"%>