WebRoot/xueshengxinxi_list.jsp
(开头部分) 7KB这里只显示每个文件的开头 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>
<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="xingming" type="text" id="xingming" style='border:solid 1px #000000; color:#666666' size="12" /> 性别:<select name='xingbie' id='xingbie' style='border:solid 1px #000000; color:#666666;'><option value="">所有</option><option value="男">男</option><option value="女">女</option></select> 年龄:<input name="nianling1" type="text" id="nianling1" value='' style='border:solid 1px #000000; color:#666666;width:30px' />-<input name="nianling2" type="text" id="nianling2" value='' style='border:solid 1px #000000; color:#666666;width:30px' /> 身份证号:<input name="shenfenzhenghao" type="text" id="shenfenzhenghao" style='border:solid 1px #000000; color:#666666' size="12" /> 档案号:<input name="danganhao" type="text" id="danganhao" style='border:solid 1px #000000; color:#666666' size="12" /> 流水号:<input name="liushuihao" type="text" id="liushuihao" style='border:solid 1px #000000; color:#666666' size="12" /> 检查医生:<input name="jianchayisheng" type="text" id="jianchayisheng" style='border:solid 1px #000000; color:#666666' size="12" /> 接诊医生:<input name="jiezhenyisheng" type="text" id="jiezhenyisheng" style='border:solid 1px #000000; color:#666666' size="12" /> 学校:<input name="xuexiao" type="text" id="xuexiao" style='border:solid 1px #000000; color:#666666' size="12" /> 体检日期:<input name="tijianriqi1" type="text" id="tijianriqi1" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' />-<input name="tijianriqi2" type="text" id="tijianriqi2" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' />
<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='xueshengxinxi_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'>档案号</td>
<td bgcolor='#CCFFFF'>流水号</td>
<td bgcolor='#CCFFFF'>检查医生</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 width="138" align="center" bgcolor="CCFFFF">添加时间</td>
<td width="60" align="center" bgcolor="CCFFFF">体检录入</td>
<td width="60" align="center" bgcolor="CCFFFF">操作</td>
</tr>
<%
new CommDAO().delete(request,"xueshengxinxi");
String url = "xueshengxinxi_list.jsp?1=1";
String sql = "select * from xueshengxinxi where 1=1";
if(request.getParameter("xuehao")=="" ||request.getParameter("xuehao")==null ){}else{sql=sql+" and xuehao like '%"+request.getParameter("xuehao")+"%'";}
if(request.getParameter("xingming")=="" ||request.getParameter("xingming")==null ){}else{sql=sql+" and xingming like '%"+request.getParameter("xingming")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if (request.getParameter("nianling1")=="" ||request.getParameter("nianling1")==null ) {}else{sql=sql+" and nianling >= '"+request.getParameter("nianling1")+"'";}
if (request.getParameter("nianling2")=="" ||request.getParameter("nianling2")==null ) {}else {sql=sql+" and nianling <= '"+request.getParameter("nianling2")+"'";}
if(request.getParameter("shenfenzhenghao")=="" ||request.getParameter("shenfenzhenghao")==null ){}else{sql=sql+" and shenfenzhenghao like '%"+request.getParameter("shenfenzhenghao")+"%'";}
if(request.getParameter("danganhao")=="" ||request.getParameter("danganhao")==null ){}else{sql=sql+" and danganhao like '%"+request.getParameter("danganhao")+"%'";}
if(request.getParameter("liushuihao")=="" ||request.getParameter("liushuihao")==null ){}else{sql=sql+" and liushuihao like '%"+request.getParameter("liushuihao")+"%'";}
后面还有 51 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
