⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check.jsp

📁 运输模块代码
💻 JSP
字号:
<%
    /* Copyright 2006-2009 Hexiesoft, Inc. All Rights Reserved.
    * This software is the proprietary information of Hexiesoft, Inc.
    * Use is subject to license terms.
    * Author:sz 2006-5-20
    * Tester:
    *
    * Content:
    * Input Param:
    *
    *
    *
    * Output param:
    *
    */
%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<%
    String isEmpty = "";
    String sCode = DataConvert.toRealString(iPostChange, (String) request.getParameter("Code"));
    ASResultSet shipmentRs = Sqlca.getASResultSet("select Blno from Shipment where Blno = '" + sCode + "'");
    ASResultSet packnoteRs = Sqlca.getASResultSet("select Blno from packnote where Blno = '" + sCode + "'");
    ASResultSet invoiceRs = Sqlca.getASResultSet("select * from invoice where blno='" + sCode + "'");
    if (!shipmentRs.next()) {
        isEmpty = "sh";
    } else if (!packnoteRs.next()) {
        isEmpty = "pa";
    } else if (invoiceRs.next()) {
        if (!(invoiceRs.getString("verifyby").equals("PROFORMA"))) {
            isEmpty = "in";
        }

    }
%>
<script language=javascript>
    self.returnValue = "<%=isEmpty%>";
    self.close();
</script>
<%@ include file="/IncludeEnd.jsp" %>
</html>

⌨️ 快捷键说明

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