📄 check2.jsp
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -