WebRoot/yikatong_list.jsp
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<html>
<head>
<title>一卡通</title>
<LINK href="css.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
</head>
<!--hxsglxiangdxongjxs-->
<body >
<p>已有一卡通列表:</p>
<form name="form1" id="form1" method="post" action="">
搜索: 学号:<input name="xuehao" type="text" id="xuehao" style='border:solid 1px #000000; color:#666666' size="12" /> 学生姓名:<input name="xueshengxingming" type="text" id="xueshengxingming" style='border:solid 1px #000000; color:#666666' size="12" /> 卡号:<input name="kahao" type="text" id="kahao" style='border:solid 1px #000000; color:#666666' size="12" /> 类别:<select name='leibie' id='leibie' style='border:solid 1px #000000; color:#666666;'><option value="">所有</option><option value="IC卡">IC卡</option><option value="ID卡">ID卡</option></select> 使用期限:<input name="shiyongqixian1" type="text" id="shiyongqixian1" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' />-<input name="shiyongqixian2" type="text" id="shiyongqixian2" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' /> 状态:<select name='zhuangtai' id='zhuangtai' style='border:solid 1px #000000; color:#666666;'><option value="">所有</option><option value="正常">正常</option><option value="挂失">挂失</option></select> 身份证:<input name="shenfenzheng" type="text" id="shenfenzheng" style='border:solid 1px #000000; color:#666666' size="12" />
<input type="submit" name="Submit" value="查找" style='border:solid 1px #000000; color:#666666' /> <input type="button" name="Submit2" value="导出EXCEL" style='border:solid 1px #000000; color:#666666' onClick="javascript:location.href='yikatong_listxls.jsp';" />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF" style="border-collapse:collapse">
<tr>
<td width="30" align="center" bgcolor="CCFFFF">序号</td>
<td bgcolor='#CCFFFF'>学号</td>
<td bgcolor='#CCFFFF'>密码</td>
<td bgcolor='#CCFFFF'>学生姓名</td>
<td bgcolor='#CCFFFF' width='40' align='center'>性别</td>
<td bgcolor='#CCFFFF'>卡号</td>
<td bgcolor='#CCFFFF'>类别</td>
<td bgcolor='#CCFFFF'>余额</td>
<td bgcolor='#CCFFFF' width='65' align='center'>使用期限</td>
<td bgcolor='#CCFFFF'>状态</td>
<td bgcolor='#CCFFFF'>手机</td>
<td bgcolor='#CCFFFF'>身份证</td>
<td bgcolor='#CCFFFF' width='90' align='center'>照片</td>
<!--dpinglun1-->
<td width="138" align="center" bgcolor="CCFFFF">开卡时间</td>
<td width="60" align="center" bgcolor="CCFFFF">操作</td>
</tr>
<%
//difengysfiqfgieuheze
//youzuiping1
//txixixngdy
new CommDAO().delete(request,"yikatong");
String url = "yikatong_list.jsp?1=1";
String sql = "select * from yikatong where 1=1";
if(request.getParameter("xuehao")=="" ||request.getParameter("xuehao")==null ){}else{sql=sql+" and xuehao like '%"+request.getParameter("xuehao")+"%'";}
if(request.getParameter("xueshengxingming")=="" ||request.getParameter("xueshengxingming")==null ){}else{sql=sql+" and xueshengxingming like '%"+request.getParameter("xueshengxingming")+"%'";}
if(request.getParameter("kahao")=="" ||request.getParameter("kahao")==null ){}else{sql=sql+" and kahao like '%"+request.getParameter("kahao")+"%'";}
if(request.getParameter("leibie")=="" ||request.getParameter("leibie")==null ){}else{sql=sql+" and leibie like '%"+request.getParameter("leibie")+"%'";}
if (request.getParameter("shiyongqixian1")=="" ||request.getParameter("shiyongqixian1")==null ) {}else{sql=sql+" and shiyongqixian >= '"+request.getParameter("shiyongqixian1")+"'";}
if (request.getParameter("shiyongqixian2")=="" ||request.getParameter("shiyongqixian2")==null ) {}else {sql=sql+" and shiyongqixian <= '"+request.getParameter("shiyongqixian2")+"'";}
if(request.getParameter("zhuangtai")=="" ||request.getParameter("zhuangtai")==null ){}else{sql=sql+" and zhuangtai like '%"+request.getParameter("zhuangtai")+"%'";}
if(request.getParameter("shenfenzheng")=="" ||request.getParameter("shenfenzheng")==null ){}else{sql=sql+" and shenfenzheng like '%"+request.getParameter("shenfenzheng")+"%'";}
sql+=" order by id desc";
ArrayList<HashMap> list = PageManager.getPages(url,15,sql, request);
int i=0;
后面还有 44 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
