毕业设计|课程设计|SSM开发实现图书管理系统

简介: 毕业设计|课程设计|SSM开发实现图书管理系统

项目编号:KS036

一,环境介绍

语言环境:Java:  jdk1.8

数据库:Mysql: mysql5.7

应用服务器:Tomcat:  tomcat8.5.31

开发工具:IDEA或eclipse

开发技术:SSM+BootStrap+JSP

展示视频:SSM图书馆管理(借阅)系统_哔哩哔哩_bilibili

二,项目简介

本系统基于SSM框架开发实现了图书借阅管理的相关功能,用户有三种:管理员、工作人员、读者三类,实现了图书管理、读者管理、工作人员管理、借阅、归还、查阅借阅记录、查阅图书、上班打卡等相关的主要核心功能,可以做为毕业设计或课程设计使用,界面设计美观大方,希望得到你的支持。

三,系统展示

用户登录:管理员、工作人员、读者均从此处登录

管理员首页

图书管理

读者管理

工作人员管理

借还日志

公告管理

工作人员登录后:可以进行在线打卡

读者登录

四,核心代码展示

package com.book.dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
@Repository
public class AdminDao {
    private JdbcTemplate jdbcTemplate;
    @Autowired
    public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
        this.jdbcTemplate = jdbcTemplate;
    }
    private static final String MATCH_ADMIN_SQL="SELECT COUNT(*) FROM admin where admin_id = ? and password = ? ";
    private static final String RE_PASSWORD_SQL="UPDATE admin set password = ? where admin_id = ? ";
    private static final String GET_PASSWD_SQL="SELECT password from admin where admin_id = ?";
    public int getMatchCount(int adminId,String password){
        return jdbcTemplate.queryForObject(MATCH_ADMIN_SQL,new Object[]{adminId,password},Integer.class);
    }
    public int rePassword(int adminId,String newPasswd){
        return jdbcTemplate.update(RE_PASSWORD_SQL,new Object[]{newPasswd,adminId});
    }
    public String getPasswd(int id){
        return jdbcTemplate.queryForObject(GET_PASSWD_SQL,new Object[]{id},String.class);
    }
}
package com.book.web;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class BookAddCommand {
    private String name;
    private String author;
    private String publish;
    private String isbn;
    private String introduction;
    private String language;
    private BigDecimal price;
    private Date pubdate;
    private int classId;
    private int pressmark;
    private int state;
    public void setName(String name) {
        this.name = name;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public void setClassId(int classId) {
        this.classId = classId;
    }
    public void setLanguage(String language) {
        this.language = language;
    }
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }
    public void setPubdate(String pubdate) {
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
        try{
            java.util.Date date=sdf.parse(pubdate);
            this.pubdate=date;
        }catch (ParseException e){
            e.printStackTrace();
        }
    }
    public void setPublish(String publish) {
        this.publish = publish;
    }
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public void setPressmark(int pressmark) {
        this.pressmark = pressmark;
    }
    public void setState(int state) {
        this.state = state;
    }
    public String getName() {
        return name;
    }
    public BigDecimal getPrice() {
        return price;
    }
    public int getClassId() {
        return classId;
    }
    public Date getPubdate() {
        return pubdate;
    }
    public String getAuthor() {
        return author;
    }
    public String getIntroduction() {
        return introduction;
    }
    public int getPressmark() {
        return pressmark;
    }
    public String getIsbn() {
        return isbn;
    }
    public String getLanguage() {
        return language;
    }
    public int getState() {
        return state;
    }
    public String getPublish() {
        return publish;
    }
}

五,相关作品展示

基于Java开发、Python开发、PHP开发、C#开发等相关语言开发的实战项目

基于Nodejs、Vue等前端技术开发的前端实战项目

基于微信小程序和安卓APP应用开发的相关作品

基于51单片机等嵌入式物联网开发应用

基于各类算法实现的AI智能应用

基于大数据实现的各类数据管理和推荐系统

相关文章
|
5天前
|
前端开发 Oracle 关系型数据库
关于使用SSM+JSP开发时setter、getter隐式调用问题的小结
关于使用SSM+JSP开发时setter、getter隐式调用问题的小结
41 3
|
5天前
|
Java 关系型数据库 MySQL
【毕业设计】基于SSM++jsp的的购物商城系统
【毕业设计】基于SSM++jsp的的购物商城系统
20 0
|
5天前
|
存储 Java 关系型数据库
【毕业设计】基于SSM++jsp的班主任助理系统
【毕业设计】基于SSM++jsp的班主任助理系统
11 0
|
5天前
|
前端开发 Java 关系型数据库
基于SSM+VUE毕业设计网站源码
校园信息发布平台,前端基于VUE+element-ui 后端使用java ssm框架 数据库使用最常用的Mysql 另外这个后端包含逻辑图 对于在学习java ssm 可以在开发文档的特殊需要可以再开发!
23 2
基于SSM+VUE毕业设计网站源码
|
5天前
|
存储 安全 前端开发
ssm226基于jsp的快递管理系统的开发
ssm226基于jsp的快递管理系统的开发
|
5天前
|
存储 安全 Java
ssm666社区流浪动物救助领养系统的设计与开发
ssm666社区流浪动物救助领养系统的设计与开发
|
5天前
|
存储 Java 关系型数据库
544基于SSM的蛋糕甜品店管理系统的设计与开发
544基于SSM的蛋糕甜品店管理系统的设计与开发
|
5天前
|
人工智能 前端开发 JavaScript
APP开发毕业设计|ssm爱心小屋公益机构智慧管理APP(二)
APP开发毕业设计|ssm爱心小屋公益机构智慧管理APP
APP开发毕业设计|ssm爱心小屋公益机构智慧管理APP(二)
|
5天前
|
存储 人工智能 Java
ssm637教材管理系统
ssm637教材管理系统
|
5天前
|
存储 安全 前端开发
ssm172旅行社管理系统的设计与实现
ssm172旅行社管理系统的设计与实现