Coder Social home page Coder Social logo

managebooks's Introduction

ManageBooks

License

简介

项目年久失修 仅供参考 ゜▽゜)ノ
一个基于SpringBoot+Thymeleaf渲染的图书管理系统
功能:
用户: a.预约图书 b.查看预约记录 c.还书
管理员: a.添加图书 b.处理预约(借书) c.查看借阅记录
另:
1.当用户过了还书日期仍旧未还书时会发邮件通知
2.当有书被还时发邮件通知预约书的用户到图书馆进行借书

使用技术

后端 ...
核心框架 spring、springboot、mybatis
连接池 Alibaba Druid
前端 ...
核心框架(轻量简洁) BootStrap、Thymeleaf

界面入口: localhost:8080
管理员用户名: admin_czc 密码: 123456 (manager表)
普通用户名: czc_reader 密码: 123456 (reader表)

目录结构

.
├── ManageBooks.iml
├── mvnw
├── mvnw.cmd
├── pom.xml
├── readme.md
├── src
│   ├── main
│   │   ├── java
│   │   │   └── cn
│   │   │       └── lightina
│   │   │           └── managebooks
│   │   │               ├── enumeration (异常枚举类)
│   │   │               ├── exception (自定义异常)
│   │   │               ├── ManageBooksApplication.java
│   │   │               ├── config
│   │   │               │   └── WebConfig.java
│   │   │               ├── controller
│   │   │               │   ├── LoginController.java (登陆)
│   │   │               │   ├── ReaderController.java 
│   │   │               │   └── emailController.java (邮件)
│   │   │               ├── dao
│   │   │               │   ├── BookMapper.java
│   │   │               │   ├── MailMapper.java
│   │   │               │   └── UserMapper.java
│   │   │               ├── pojo
│   │   │               │   ├── Book.java
│   │   │               │   ├── BookList.java
│   │   │               │   ├── Borrow.java
│   │   │               │   ├── BorrowDetail.java
│   │   │               │   ├── MailDetail.java
│   │   │               │   ├── ProcessResult.java 
│   │   │               │   ├── Reservation.java
│   │   │               │   ├── ReservationDetail.java
│   │   │               │   ├── ReservationResult.java
│   │   │               │   └── User.java
│   │   │               └── service
│   │   │                   ├── BookService.java (预约和借阅等)
│   │   │                   ├── BookServiceimpl.java
│   │   │                   ├── MailService.java (邮箱)
│   │   │                   ├── MailServiceimpl.java
│   │   │                   ├── UserService.java (登陆)
│   │   │                   └── UserServiceimpl.java
│   │   └── resources
│   │       ├── Mapper
│   │       │   ├── book.xml
│   │       │   ├── mail.xml
│   │       │   └── user.xml
│   │       ├── application.yml
│   │       ├── static
│   │       │   ├── common
│   │       │   │   └── headbar.html (导航栏)
│   │       │   └── lib
│   │       │       ├── css
│   │       │       ├── images
│   │       │       └── js
│   │       └── templates
│   │           ├── admin_addbook.html
│   │           ├── admin_borrow.html
│   │           ├── admin_processreservation.html
│   │           ├── detail_admin.html (管理员导航栏模版)
│   │           ├── detail_user.html (用户导航栏模版)
│   │           ├── login.html (登陆主界面)
│   │           ├── user_booklist.html
│   │           ├── user_borrow.html
│   │           └── user_reservation.html

主界面: 主界面 用户界面: 预约界面 预约记录界面 还书界面 管理员界面: 添加界面 处理界面 借阅界面

WARNING

managebooks's People

Contributors

0x4f5da2 avatar jacklightchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

managebooks's Issues

message: "\r\n### Error updating database. Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: call library.new_book(?, ?, ?, ?, ?, ?, ?, ?, ?)\r\n### Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist\n; uncategorized SQLException; SQL state [HY000]; error code [1449]; The user specified as a definer ('root'@'%') does not exist; nested exception is java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist"

message: "\r\n### Error updating database. Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: call library.new_book(?, ?, ?, ?, ?, ?, ?, ?, ?)\r\n### Cause: java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist\n; uncategorized SQLException; SQL state [HY000]; error code [1449]; The user specified as a definer ('root'@'%') does not exist; nested exception is java.sql.SQLException: The user specified as a definer ('root'@'%') does not exist"

{"status":false,"total":0,"data":null,"message":"\r\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist\r\n### The error may exist in file [D:\\Project\\ManageBooks\\target\\classes\\Mapper\\user.xml]\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: select manager_id as user_id, pass_wd, mname as user_name from manager where mname=? and pass_wd=?;\r\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist\n; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist"}

{"status":false,"total":0,"data":null,"message":"\r\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist\r\n### The error may exist in file [D:\Project\ManageBooks\target\classes\Mapper\user.xml]\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: select manager_id as user_id, pass_wd, mname as user_name from manager where mname=? and pass_wd=?;\r\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist\n; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'library.manager' doesn't exist"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.