📄 checkcode.jsp
字号:
<%-- Created by IntelliJ IDEA. User: RuiLei Date: 2006-5-21 Time: 20:35:20 To change this template use File | Settings | File Templates.--%><%@ page contentType="text/html;charset=GBK" %><%@ include file="/IncludeBeginMD.jsp" %><%@ page import="com.hexiesoft.utils.Consts" %><% String checkType = DataConvert.toRealString(iPostChange, request.getParameter("CheckType")); String code = DataConvert.toRealString(iPostChange, request.getParameter("Code")); boolean isEmpty = true; String queryStr = ""; if (checkType != null && checkType.equals(Consts.WAREHOUSE_CODE_EMPTY)) { // Check the warehouse is exist queryStr = "select top 1 wcode from whouse where wcode = '" + code + "'"; ASResultSet rs = Sqlca.getASResultSet(queryStr); isEmpty = !rs.next(); } else if (checkType != null && checkType.equals(Consts.BLNO_EMPTY)) { // Check the bill of lading is exist queryStr = "select top 1 blno from shipment where blno = '" + code + "'"; ASResultSet rs = Sqlca.getASResultSet(queryStr); isEmpty = !rs.next(); }%><script language=javascript> self.returnValue = "<%=isEmpty%>"; self.close();</script><%@ include file="/IncludeEnd.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -