├── WebContent
├── META-INF
│ └── MANIFEST.MF
├── 01.jpg
├── 02.jpg
├── 03.jpg
├── 04.jpg
├── static
│ ├── js
│ │ ├── reader.js
│ │ ├── exportBook.js
│ │ ├── exportReader.js
│ │ ├── npm.js
│ │ ├── getBookTypes.js
│ │ ├── getAllBookTypes.js
│ │ ├── getAllReaderTypes.js
│ │ ├── getReader.js
│ │ ├── deleteAdmin.js
│ │ ├── deleteBookType.js
│ │ ├── deleteBook.js
│ │ ├── deleteReader.js
│ │ ├── pay.js
│ │ ├── backBook.js
│ │ ├── renewBook.js
│ │ ├── ajax_upload.js
│ │ ├── getReaderBookInfo.js
│ │ ├── getBookInfo.js
│ │ ├── borrowBook.js
│ │ ├── getForfeitInfo.js
│ │ ├── getReaderForfeitInfo.js
│ │ ├── bootstrap-dropdown.min.js
│ │ ├── getBorrowInfo.js
│ │ ├── getBackInfo.js
│ │ ├── getReaderBackInfo.js
│ │ ├── addBookNum.js
│ │ ├── addBookType.js
│ │ ├── batchAddBook.js
│ │ ├── batchAddReader.js
│ │ ├── updateAuthorization.js
│ │ ├── updateBookType.js
│ │ ├── login.js
│ │ ├── adminLogin.js
│ │ ├── adminUpdateInfo.js
│ │ ├── readerUpdateInfo.js
│ │ ├── addAdmin.js
│ │ ├── readerUpdatePwd.js
│ │ ├── adminUpdatePwd.js
│ │ ├── updateAdmin.js
│ │ ├── addReaderType.js
│ │ ├── addReader.js
│ │ ├── updateReaderType.js
│ │ ├── addBook.js
│ │ ├── dataTables.bootstrap.js
│ │ ├── updateBook.js
│ │ └── updateReader.js
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ ├── assets
│ │ ├── js
│ │ │ └── theme.js
│ │ └── css
│ │ │ ├── fullcalendar.print.css
│ │ │ └── admin.css
│ └── css
│ │ └── dataTables.bootstrap.css
├── WEB-INF
│ ├── lib
│ │ └── mysql-connector-java-8.0.18.jar
│ └── web.xml
├── result.jsp
├── admin_login.jsp
├── register.jsp
└── login.jsp
├── screenshot
├── 1.png
├── 2.png
├── 3.png
├── 4.png
├── 5.png
├── 6.png
├── 7.png
├── 8.png
└── 9.png
├── src
└── com
│ └── rain
│ ├── bean
│ ├── TypeBean.java
│ ├── ProblemBean.java
│ ├── BookBean.java
│ ├── AdminBean.java
│ └── HistoryBean.java
│ ├── util
│ └── DBUtil.java
│ ├── servlet
│ ├── deleteAdminServlet.java
│ ├── deleteServlet.java
│ ├── deleteProblemServlet.java
│ ├── deleteUserServlet.java
│ ├── deleteTypeServlet.java
│ ├── AddBookTypeServlet.java
│ ├── AddTimeServlet.java
│ ├── updateProblemServlet.java
│ ├── updateBookTypeServlet.java
│ ├── AddAdminServlet.java
│ ├── selectProblemServlet.java
│ ├── AddBookServlet.java
│ ├── updateAdminServlet.java
│ ├── AdminLoginServlet.java
│ ├── RegisterServlet.java
│ ├── updateBookServlet.java
│ ├── AddUserServlet.java
│ ├── bdtimesServlet.java
│ ├── brtimesServlet.java
│ ├── selectServlet.java
│ ├── updateUserServlet.java
│ ├── AddProblemServlet.java
│ ├── LoginServlet.java
│ ├── borrowServlet.java
│ ├── CodeServlet.java
│ └── AdminServlet.java
│ └── dao
│ ├── TypeDao.java
│ └── ProblemDao.java
├── .gitignore
└── README.md
/WebContent/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/screenshot/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/1.png
--------------------------------------------------------------------------------
/screenshot/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/2.png
--------------------------------------------------------------------------------
/screenshot/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/3.png
--------------------------------------------------------------------------------
/screenshot/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/4.png
--------------------------------------------------------------------------------
/screenshot/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/5.png
--------------------------------------------------------------------------------
/screenshot/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/6.png
--------------------------------------------------------------------------------
/screenshot/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/7.png
--------------------------------------------------------------------------------
/screenshot/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/8.png
--------------------------------------------------------------------------------
/screenshot/9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/screenshot/9.png
--------------------------------------------------------------------------------
/WebContent/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/01.jpg
--------------------------------------------------------------------------------
/WebContent/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/02.jpg
--------------------------------------------------------------------------------
/WebContent/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/03.jpg
--------------------------------------------------------------------------------
/WebContent/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/04.jpg
--------------------------------------------------------------------------------
/WebContent/static/js/reader.js:
--------------------------------------------------------------------------------
1 | $(function () {
2 |
3 | $('#btn_login').click(function () {
4 | window.location.href = "login.jsp";
5 | });
6 |
7 | });
8 |
9 |
--------------------------------------------------------------------------------
/WebContent/WEB-INF/lib/mysql-connector-java-8.0.18.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/WEB-INF/lib/mysql-connector-java-8.0.18.jar
--------------------------------------------------------------------------------
/WebContent/static/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/static/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/WebContent/static/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/static/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/WebContent/static/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/static/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/WebContent/static/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YuLin-Coder/No245LibraryManagementSystem/HEAD/WebContent/static/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/WebContent/result.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8"
2 | pageEncoding="UTF-8"%>
3 |
4 |
5 |
6 |
7 |
8 | 反馈结果
9 |
10 |
11 | 反馈成功,页面将于3s后自动跳转
12 | 点我跳转
13 |
14 |
--------------------------------------------------------------------------------
/src/com/rain/bean/TypeBean.java:
--------------------------------------------------------------------------------
1 | package com.rain.bean;
2 |
3 | public class TypeBean {
4 | /**
5 | * 图书分类的数据表的bean
6 | */
7 | private int tid;// 分类的id
8 | private String name;// 分类的名称
9 |
10 | public int getTid() {
11 | return tid;
12 | }
13 |
14 | public void setTid(int tid) {
15 | this.tid = tid;
16 | }
17 |
18 | public String getName() {
19 | return name;
20 | }
21 |
22 | public void setName(String name) {
23 | this.name = name;
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/WebContent/static/js/exportBook.js:
--------------------------------------------------------------------------------
1 | function exportBook(){
2 | //获得basePath
3 | basePath=$('#basePath').val();
4 | ajax(
5 | {
6 | method:'GET',
7 | url:'admin/bookManageAction_exportBook.action',
8 | callback:function(data) {
9 | showInfo("数据已导出:点击下载");
10 | }
11 | }
12 |
13 | );
14 |
15 | }
16 |
17 |
18 |
19 |
20 | function showInfo(msg) {
21 | $("#div_info").html(msg);
22 | $("#modal_info").modal('show');
23 | }
24 |
--------------------------------------------------------------------------------
/WebContent/static/js/exportReader.js:
--------------------------------------------------------------------------------
1 | function exportReader(){
2 | //获得basePath
3 | basePath=$('#basePath').val();
4 | ajax(
5 | {
6 | method:'GET',
7 | url:'admin/readerManageAction_exportReader.action',
8 | callback:function(data) {
9 | showInfo("数据已导出:点击下载");
10 | }
11 | }
12 |
13 | );
14 |
15 | }
16 |
17 |
18 |
19 |
20 | function showInfo(msg) {
21 | $("#div_info").html(msg);
22 | $("#modal_info").modal('show');
23 | }
24 |
--------------------------------------------------------------------------------
/WebContent/static/js/npm.js:
--------------------------------------------------------------------------------
1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
2 | require('../../js/transition.js')
3 | require('../../js/alert.js')
4 | require('../../js/button.js')
5 | require('../../js/carousel.js')
6 | require('../../js/collapse.js')
7 | require('../../js/dropdown.js')
8 | require('../../js/modal.js')
9 | require('../../js/tooltip.js')
10 | require('../../js/popover.js')
11 | require('../../js/scrollspy.js')
12 | require('../../js/tab.js')
13 | require('../../js/affix.js')
--------------------------------------------------------------------------------
/WebContent/static/js/getBookTypes.js:
--------------------------------------------------------------------------------
1 | window.onload = new function(){
2 | ajax(
3 | {
4 | url:"bookAction_getAllBookTypes.action",
5 | type:"json",
6 | callback:function(data) {
7 | // 循环遍历每个图书分类,每个名称生成一个option对象,添加到