check2.jsp

来自「财务说明的管理」· JSP 代码 · 共 30 行

JSP
30
字号

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBeginMD.jsp"%>
<%
	//定义变量
	String sBol = "";

	ASResultSet rs = null;
	boolean isInvoiceEmpty = true;
    boolean isShipmentEmpty=true;
    //获得组件参数

	//获得页面参数
	sBol = DataConvert.toRealString(iPostChange,(String)request.getParameter("Bol"));

	rs = Sqlca.getASResultSet("select  * from invoice where blno = '"+sBol+"' ");
	if(rs.next()) {
		isInvoiceEmpty = false;
	}
    rs = Sqlca.getASResultSet("select  * from shipment where blno = '"+sBol+"' ");
	if(rs.next()) {
		isShipmentEmpty = false;
	}
%>
<script language=javascript>
	self.returnValue = "<%=isInvoiceEmpty%>&<%=isShipmentEmpty%>";

    self.close();
</script>
<%@ include file="/IncludeEnd.jsp"%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?