Book lending management system based on B/S+MySQL+JDBC (attachment: thesis source code courseware database)

1. Summary

This design takes the book management business as the object, the foreground development tool used for system realization is eclipse, and the background database is MySQL. The key and difficult points in the design process are the requirement analysis of the whole system and the detailed design of the database.

The system saves, modifies, deletes and manages data. It provides users with a friendly, simple and fast operation platform. The system saves, modifies, deletes and manages data, and provides users with a friendly, simple and fast operating platform. The interface design of this system is friendly, the process is correct, and the functions are relatively complete. It aims to provide users with convenient and fast services, so that people can approach books, enter books, and love reading.

This design is intended to provide a simple, easy-to-operate, and reliable borrowing and returning management system for the book management industry, so as to realize book borrowing and update and management of bookstore personnel.

Keywords: MySQL; library management system; borrowing and returning books; ranking list; problem feedback

2 Overview

2.1 Main functions of the system

Readers: Log in and register, borrow and return books, query books, view current borrowing information and historical borrowing information, view and query readers' borrowing list and borrowing books list, question feedback and query feedback results, etc.

Administrator: Add, delete, modify and query books, book classifications, and reader information, view current borrowing information and borrowing history of all readers, view and query book borrowing lists and readers' borrowing lists, view and query user feedback information and modify feedback status (unresolved or resolved).

Super administrator: In addition to administrator rights, new administrator rights are added. Add, delete, and modify administrator information. Customize personal accounts for bookstore employees for easy management.

2.2 System-related instructions

Provide a simple, easy-to-operate, and reliable borrowing and returning management system for the book management industry, and realize book borrowing and update and management of bookstore personnel.

This design takes the book management business as the object, the front-end development tool used for system realization is eclipse, and the back-end database is MySQL. The key and difficult points in the design process are the demand analysis of the entire system and the detailed design of the database.

The system saves, modifies, deletes and manages data, and provides users with a friendly, simple and fast operating platform. The interface design of this system is friendly, the process is correct, and the functions are relatively complete. It aims to provide users with convenient and fast services, so that people can approach books, enter books, and love reading.

3 Operating environment

3.1 Operating environment of the system

3.1.1 System operating hardware environment

Based on open source systems for development use:

CPU: PIV1.6G or above

Memory: 256M or more

Hard disk: more than 40G

Others: optical drive, 3.5-inch floppy drive, mouse

3.1.2 System running software environment

(1) Operating system configuration: Windows

(2) Compile software: eclipse, environment: JDK1.8

(3) Server: Tomcat

(4) Driver: JDBC

(5) Database: MySQL

(6) Front-end framework: bootstrap

3.2 Network environment

This system needs to run on the local area network of the unit, and the server and client computer are required to be connected to this network.

4 Installation and configuration

4.1 Installation

(1) Eclipse installation

(2) Tomcat server installation

(3) MySQL database installation

4.2 configuration

(1) Configuration of Windows operating system

(2) Configuration of JDK1.8 environment

(3) Tomcat server configuration

(4) JDBC driver configuration

(5) MySQL database configuration

5 Function Demo

5.1 Enter the login interface

Enter the account number (student number/employment number), password and verification code to log in, and the background will identify the user's identity according to different account passwords and enter the corresponding main page. If you have not yet registered, click "Register to quickly register", or you can contact the administrator to add an account.


5.2 Enter the system

5.2.1 Reader interface

The system interface consists of book query, borrowing information, borrowing history, popular recommendations, best readers, and question feedback. The words "Welcome to the library management system" in the upper left corner are available on every function page. Click to jump to the current page (main page). Data (Figure 5.6), change password (Figure 5.7), and exit the system.


5.2.2 Administrator and super administrator interface

The system interface consists of book management, reader management, book classification management, book borrowing information, book return information, administrator management (requires login) (Figure 5.9), popular recommendations, best readers, and reader feedback. Among them, the administrator management function is the super administrator management authority (Figure 5.10). The words "Welcome to the library management system" in the upper left corner can be found in every function page, click to jump to the current page (main page), and the function in the fuzzy box in the upper right corner is the same as that of the reader page


5.3 Book query

List the information of all books in the library, including book number, book type, book title, author name, publishing house, and total quantity. You can query books according to the title, author, and book category (Figure 5.12), click the borrow button to pop up a window to confirm the borrowing, and complete the operation of borrowing books (Figure 5.13).


5.4 Borrowing Information

Display the book information that the currently logged-in reader is borrowing. Record the borrowing date and the deadline for returning the book. To extend the period, you need to contact the administrator to perform the extension operation through the administrator authority. Click the return button to confirm the return of the book in the pop-up window, and complete the return operation.


5.5 Borrowing History

Displays the information of books borrowed by the currently logged-in reader. Record the borrowing date and return date.


5.6 Popular Recommendations

Sort in real time according to the number of borrowings from high to low, and display all the information of the books. You can query books according to the title, author, and book category. Click the borrow button to pop up a window to confirm the borrowing and complete the borrowing book operation.


5.7 Best Reader

According to the number of borrowings from high to low, it is sorted in real time, and the reader's ID, name, and account number are displayed, and the reader's borrowing amount and current ranking can be queried based on the above information.


5.8 Problem Feedback

Fill in the feedback content according to the prompt information given, and go to the feedback result page (Figure 5.20) after submission, and automatically jump to "My Feedback" (Figure 5.21) after 3 seconds to view the historical feedback records of the current login account and the feedback information. Status (unresolved or resolved). You can also jump to "My Feedback" directly on the feedback page to view it.


- Admin function page

 library management

List the information of all books in the library, including book number, book type, book title, author name, publishing house, and total quantity. Books can be queried according to title, author, and book classification. Add a book pop-up blur box (Figure 5.23). Click the Modify button to modify the book information in the blurred box (Figure 5.24), click the Delete button to confirm the deletion in the pop-up window, and complete the delete book operation (Figure 5.25).


5.10 Library Management

List the information of all readers recorded, including ID, account number, name, email address, mobile phone number, number of days that can be borrowed, and the maximum amount that can be borrowed. Add Reader pops up the Blur box (Figure 5.27). Click the Modify button to modify the reader information in the blurred box, click the Delete button to pop up a window to confirm the deletion, and complete the operation of deleting the reader.


5.11 Book classification management

List all book category information in the library, including ID and book category name. Add categories to the pop-up fuzzy box (Figure 5.29). Click the Modify button to modify the book classification information in the blurred box, click the Delete button to confirm the deletion in the pop-up window, and complete the operation of deleting the book classification.


5.12 Book Borrowing Information

Display the book information that all patrons are borrowing. Record books, reader information, borrowing date, and deadline for returning the book. The return button helps readers return the book. Click the return button to pop up a window to confirm the return and complete the return operation. The defer button is used to revise until the book return date (Figure 5.31), usually in months.


5.13 Book return information

Displays the book information that all patrons have returned. Record books, reader information, borrowing date, and return date.


5.15 Top Recommendations

According to the real-time sorting of the number of borrowings from high to low, all the information of the book is displayed, and the book can be queried according to the title, author, and book classification.


5.17 Reader Feedback

List all patron feedback information recorded, including ID, patron ID, title, issue page, issue description, contact number, and issue status. Feedback information can be queried based on reader ID, title, question page, question description, and question status information. Click the Modify button to modify the status of the problem in the blurred box (Figure 5.37), click the Delete button to confirm the deletion in the pop-up window, and complete the deletion of the book.


class diagrams

6.1 User Management


6.2 System information

an


If you need the source code courseware and other materials supporting the system, you can private message me and share it with everyone~~

If there is a novice who wants to get started with Java and Python, but he doesn't know what to learn and how to learn? You can private message me and share my own 100G Java and Python webpan information~~~ 

Share and encourage each other~~~

If you have any resources, you can share with each other, and if you have any questions, you can also discuss with each other~~~

Tsk~~~ You and me one by one, then we can't learn from the wind~~~ (dog head)

Guess you like

Origin blog.csdn.net/lxianshengde/article/details/124745801