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

📄 check.jsp

📁 财务说明的管理
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<%
    String sblno = DataConvert.toRealString(iPostChange, (String) request.getParameter("blno"));
    String sql = "";
    //错误类型返回值
    String errorType = "";
    ASResultSet invRs;
    ASResultSet shipRs;

    sql = "select * from invoice where blno='" + sblno + "'";
    invRs = Sqlca.getASResultSet(sql);
    if (invRs == null || invRs.getRowCount() == 0) {
        errorType = "error1";
    } else {
        invRs.first();
        if(invRs.getString("paydate")!=null&&invRs.getString("paydate").length() >=10) {
            errorType="confirm";
        }
        sql = "select * from shipment where blno='" + sblno + "'";
        shipRs = Sqlca.getASResultSet(sql);
        if (shipRs == null || shipRs.getRowCount() == 0) {
            errorType = "error2";

        }
    }

%>
<script language=javascript>
    self.returnValue = "<%=errorType%>";
    self.close();
</script>

<%@ include file="/IncludeEnd.jsp" %>

⌨️ 快捷键说明

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