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

📄 spqu.jsp

📁 用于商品进销存管理的BS系统
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" language="java"%><%@ page import="java.io.*,java.sql.*"%><%@ page import="com.mingri.info.Quest"%><jsp:useBean id="rst" scope="page" class="com.mingri.dbconn.DBResult"/><jsp:useBean id="qu" scope="page" class="com.mingri.info.QuestString"></jsp:useBean><html>  <title>商品查询</title><body><%   String pages=request.getParameter("pages");   String cif=request.getParameter("cif");   String ccif=request.getParameter("ccif");   String qvalue=request.getParameter("qvalue");   qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);   String strCount=qu.getCount("tb_brand");   if(pages==null||pages.equals("null")){     pages="0";   }   qu.setQuerySql("spqu.jsp",pages,strCount);   ResultSet rs=rst.getResult((String)qu.getString("tb_brand"));   int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();   while(rs.next()){     if(i>(Page-1)*pagesize-1){%><table width="590" border="1" cellpadding="-1" cellspacing="0" align="center">  <tr bgcolor="#DDDDDD">    <td width="202" bgcolor="#D9ECFF"><font color="#336699">商品编号:      <%=rs.getString("ID")%></font></td>    <td width="185" bgcolor="#D9ECFF"><font color="#336699">规格:      <%=rs.getString("gg")%></font></td>    <td width="195" bgcolor="#D9ECFF"><font color="#336699">简称:      <%=rs.getString("jc")%></font></td>  </tr>  <tr bgcolor="#DDDDDD">    <td width="202" bgcolor="#D9ECFF"><font color="#336699">商品名称:      <%=rs.getString("spname")%></font></td>    <td width="202" bgcolor="#D9ECFF"><font color="#336699">包装:      <%=rs.getString("bz")%></font></td>    <td width="202" bgcolor="#D9ECFF"><font color="#336699">产地:      <%=rs.getString("cd")%></font></td>  </tr>  <tr bgcolor="#DDDDDD">    <td width="202" bgcolor="#D9ECFF"><font color="#336699">批号:      <%=rs.getString("ph")%></font></td>    <td width="202" bgcolor="#D9ECFF"><font color="#336699">供应商全称:      <%=rs.getString("gysname")%></font></td>    <td width="202" bgcolor="#D9ECFF"><font color="#336699">计量单位:      <%=rs.getString("dw")%></font></td>  </tr>  <tr bgcolor="#DDDDDD">    <td bgcolor="#D9ECFF"><font color="#336699">批准文号:      <%=rs.getString("pzwh")%></font></td>    <td colspan="2" bgcolor="#D9ECFF"><font color="#336699">备注:      <%=rs.getString("memo")%></font></td>  </tr></table><br><%}i++;}rs.close();String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";qu.setStr_parameter(str_parameter);%><%=qu.pageFooter()%></body></html>

⌨️ 快捷键说明

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