登录用户 | +用户类型 | +登录ip | +登录时间 | +
---|---|---|---|
${records.logname} | +${records.usergroup} | +${records.logip} | +${records.logtime} | + +
From 5ea1a65e0cf43fa645f6e107e3fe4474e12e99fc Mon Sep 17 00:00:00 2001
From: sobear <410731299@qq.com>
Date: Mon, 13 May 2024 23:14:27 +0800
Subject: [PATCH] add history login and not divide pages
---
.../cn/edu/cqwu/repair/dao/RecordDao.java | 4 ++
.../cn/edu/cqwu/repair/dao/WorkerDao.java | 3 +
.../cqwu/repair/dao/impl/RecordDaoImpl.java | 10 +++
.../cqwu/repair/dao/impl/WorkerDaoImpl.java | 2 +
src/main/webapp/includes/menu.jsp | 2 +-
src/main/webapp/worker/worker_fixList.jsp | 33 ----------
.../webapp/worker/worker_history_fixList.jsp | 35 -----------
.../worker/worker_history_loginList.jsp | 61 ++++++++++++++++++-
src/main/webapp/worker/worker_modify.jsp | 57 ++++++++++++++++-
9 files changed, 132 insertions(+), 75 deletions(-)
diff --git a/src/main/java/cn/edu/cqwu/repair/dao/RecordDao.java b/src/main/java/cn/edu/cqwu/repair/dao/RecordDao.java
index 5d74563..e881d11 100644
--- a/src/main/java/cn/edu/cqwu/repair/dao/RecordDao.java
+++ b/src/main/java/cn/edu/cqwu/repair/dao/RecordDao.java
@@ -3,8 +3,12 @@ package cn.edu.cqwu.repair.dao;
import cn.edu.cqwu.repair.entity.Record;
import cn.edu.cqwu.repair.util.PageModel;
+import java.util.ArrayList;
+
public interface RecordDao {
int add(Record record);
PageModel pageByLogname(String logname, String group, int pageSize, int pageNo);
+
+ public ArrayList
历史登录记录
+登录用户 | +用户类型 | +登录ip | +登录时间 | +
---|---|---|---|
${records.logname} | +${records.usergroup} | +${records.logip} | +${records.logtime} | + +
diff --git a/src/main/webapp/worker/worker_history_fixList.jsp b/src/main/webapp/worker/worker_history_fixList.jsp
index 37c7553..fb60a4b 100644
--- a/src/main/webapp/worker/worker_history_fixList.jsp
+++ b/src/main/webapp/worker/worker_history_fixList.jsp
@@ -112,41 +112,6 @@
-
-
-<%----%>
-<%----%>
-
-
diff --git a/src/main/webapp/worker/worker_history_loginList.jsp b/src/main/webapp/worker/worker_history_loginList.jsp
index 14ef283..5cfd238 100644
--- a/src/main/webapp/worker/worker_history_loginList.jsp
+++ b/src/main/webapp/worker/worker_history_loginList.jsp
@@ -2,15 +2,70 @@
Created by IntelliJ IDEA.
User: sobear
Date: 2024/5/12
- Time: 21:44
+ Time: 21:41
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@ page isELIgnored="false" %>
+
-
+ +
+ + + +
+ +