<%--
Created by IntelliJ IDEA.
User: Lenovo
Date: 2022/10/14
Time: 17:17
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<input type="button" value="新增" id="add"><br>
<hr>
<table border="1" cellspacing="0" width="100%">
<tr>
<th>序号</th>
<th>姓名</th>
<th>学号</th>
<th>类别</th>
<th>院系</th>
<th>电话</th>
<th>健康码</th>
<th>统计</th>
<th>其他</th>
</tr>
<c:forEach items="${users}" var="us" varStatus="status">
<%
%>
<tr align="center">
<td>${status.count}</td>
<td>${us.name}</td>
<td>${us.xuehao}</td>
<td>${us.leibie}</td>
<td>${us.yuanxi}</td>
<td>${us.dianhua}</td>
<td>${us.jiankangma}</td>
<td>
<c:if test="${fn:contains(us.tongji,'1')}">
10月30日去过人民医院。<br>
</c:if>
<c:if test="${fn:contains(us.tongji,'2')}">
10月25日以来去过深泽县人民医院。<br>
</c:if>
<c:if test="${fn:contains(us.tongji,'3')}">
10月16日以来去过深泽县庄泽村。<br>
</c:if>
<c:if test="${fn:contains(us.tongji,'4')}">
10月29日以来去过黑龙江哈尔滨市或者黑河市。<br>
</c:if>
<c:if test="${fn:contains(us.tongji,'5')}">
10月18日以来途径贵州遵义市;北京丰台、昌平。<br>
</c:if>
<c:if test="${fn:contains(us.tongji,'6')}">
10月17日以来到过湖南长沙;青海海东市。<br>
</c:if>
</td>
<%-- <td>${us.tongji}</td>--%>
<td>${us.qita}</td>
<td><a href="/Java_test/SelectByXuehaoServlet?id=${us.id}">修改</a> <a href="/Java_test/DeleteServlet?id=${us.id}">删除</a></td>
</tr>
</c:forEach>
</table>
<script>
document.getElementById("add").onclick=function (){
location.href="/Java_test/addUser.jsp";
}
</script>
</body>
</html>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!