# 数据库原理课程设计报告书
**网上图书管理系统**
# 系统需求分析
**系统功能结构模块**
- 系统设置:图书馆信息,用户设置,参数设置,书架设置
- 图书借还:图书借阅,图书续借,图书归还
- 系统查询:图书档案查询,图书借阅查询,节约到期查询
**功能需求**
- 系统管理:定义读者类别并设置参数,添加、修改和删除读者信息。
- 图书续借和预约:实现图书的续借、预约等功能。
- 图书检索:按书名或作者等信息进行检索。
- 借阅查询:查询个人借阅情况、未付罚款情况。
其他要求:读者未登录时,只能检索图书,登录后才能使用预约、续借和取消预约图书, 查询个人借阅史以及修改密码功能
# 概念结构设计
bookcase:
| Name | Code | Data Type | Length | Precision | Primary | Foreign Key | Mandatory |
| ---- | ---- | --------- | ------ | --------- | ------- | ----------- | --------- |
| id | 书号 | char(10) | 10 | | TRUE | FALSE | TRUE |
| name | 书名 | char(10) | 10 | | FALSE | FALSE | TRUE |
bookinfo:
| Name | Code | Data Type | Length | Precision | Primary | Foreign Key | Mandatory |
| -------- | -------- | --------- | ------ | --------- | ------- | ----------- | --------- |
| Barcode | 条形码 | char(10) | 10 | | TRUE | FALSE | TRUE |
| bookname | 书名 | char(10) | 10 | | FALSE | FALSE | TRUE |
| typeid | 图书类型 | char(20) | 20 | | FALSE | FALSE | FALSE |
| author | 作者 | FLOAT | | | FALSE | FALSE | TRUE |
| Page | 页数 | FLOAT | | | FALSE | FALSE | TRUE |
| bookcase | 书架 | char(Max) | Max | | FALSE | FALSE | FALSE |
| press | 出版社 | char(20) | 20 | | FALSE | FALSE | FALSE |
borrow:
| Name | Code | Data Type | Length | Precision | Primary | Foreign Key | Mandatory |
| ---------- | -------- | --------- | ------ | --------- | ------- | ----------- | --------- |
| id | 登陆账号 | char(10) | 10 | | TRUE | FALSE | TRUE |
| readerid | 读者证 | char(10) | 10 | | TRUE | FALSE | TRUE |
| bookid | 条形码 | char(20) | 20 | | TRUE | FALSE | FALSE |
| borrowtime | 借书时间 | char(10) | 10 | | FALSE | FALSE | FALSE |
| backtime | 还书时间 | char(10) | 10 | | FALSE | FALSE | FALSE |
| ifback | 是否归还 | char(5) | 5 | | FALSE | FALSE | FALSE |
manager
| Name | Code | Data Type | Length | Precision | Primary | Foreign Key | Mandatory |
| ---- | -------- | --------- | ------ | --------- | ------- | ----------- | --------- |
| id | 登陆账号 | char(10) | 10 | | TRUE | FALSE | TRUE |
| name | 登录名 | char(10) | 10 | | FALSE | FALSE | TRUE |
| pwd | 密码 | char(10) | 10 | | FALSE | FALSE | FALSE |
reader
| Name | Code | Data Type | Length | Precision | Primary | Foreign Key | Mandatory |
| ------ | -------- | --------- | ------ | --------- | ------- | ----------- | --------- |
| id | 登陆账号 | char(10) | 10 | | TRUE | FALSE | TRUE |
| name | 登录名 | char(10) | 10 | | FALSE | FALSE | TRUE |
| sex | 性别 | char(10) | 10 | | FALSE | FALSE | FALSE |
| tel | 电话号 | char(11) | 11 | | FALSE | FALSE | FALSE |
| E-mail | 邮箱 | char(20) | 20 | | FALSE | FALSE | FALSE |
ER 图:
![](https://www.writebug.com/myres/static/uploads/2021/10/31/bec5730122d47e1aed65898d6aa70ea2.writebug)
# 逻辑结构设计
登录页面展示
![](https://www.writebug.com/myres/static/uploads/2021/10/31/daec64112f9bc89015674531a46442bb.writebug)
登录后首页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/3cdd55ef7ff9f7ba9e1d4379016f4485.writebug)
图书查询页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/b0344b2f08b550512a0c3834cb278c28.writebug)
借阅历史页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/6316f419a87d7496c52683b97d15804e.writebug)
用户管理页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/ec83ce59e21dd5ec650c90885189d876.writebug)
图书借阅页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/f6a7ebf54ac82f8813d0c380dd954ed8.writebug)
图书续借页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/6b712140b7548a1780ee1010d8f4cd9c.writebug)
图书归还页面
![](https://www.writebug.com/myres/static/uploads/2021/10/31/b92f49d8d337e3ad8013a06b242d698c.writebug)
# 物理结构设计
![](https://www.writebug.com/myres/static/uploads/2021/10/31/6285dec1326a169f111fa902da7a3594.writebug)
**SQL 脚本文件:**
```sql
/*==============================================================*/
/* DBMS name: MySQL 5.0 */
/* Created on: 2015/12/22 13:11:58 */
/*==============================================================*/
drop table if exists book_type;
drop table if exists tb_bookcase;
drop table if exists tb_bookinfo;
drop table if exists tb_borrow;
drop table if exists tb_library;
drop table if exists tb_manager;
drop table if exists tb_publishing;
drop table if exists tb_reder;
drop table if exists tb——readertype;
/*==============================================================*/
/* Table: book_type */
/*==============================================================*/
create table book_type
(
id int not null,
typename varchar(30),
primary key (id)
);
/*==============================================================*/
/* Table: tb_bookcase */
/*==============================================================*/
create table tb_bookcase
(
id int not null,
name varchar(30),
primary key (id)
);
/*==============================================================*/
/* Table: tb_bookinfo */
/*==============================================================*/
create table tb_bookinfo
(
bookname varchar(70),
id int not null,
price float(8),
inTime date,
author varchar(30),
primary key (id)
);
/*==============================================================*/
/* Table: tb_borrow */
/*==============================================================*/
create table tb_borrow
(
id int not null,
readerid int,
bookid int,
borrowTime date,
backTime date,
ifback smallint,
operator varchar(30),
primary key (id)
);
/*==============================================================*/
/* Table: tb_library */
/*==============================================================*/
create table tb_library
(
id int not null,
libraryname varchar(50),
tel varchar(20),
adress varchar(100),
email varchar(100),
createData date,
introduce text,
primary key (id)
);
/*=============================================================
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
系统功能结构模块 系统设置:图书馆信息,用户设置,参数设置,书架设置 图书借还:图书借阅,图书续借,图书归还 系统查询:图书档案查询,图书借阅查询,节约到期查询 功能需求 系统管理:定义读者类别并设置参数,添加、修改和删除读者信息。 图书续借和预约:实现图书的续借、预约等功能。 图书检索:按书名或作者等信息进行检索。 借阅查询:查询个人借阅情况、未付罚款情况。 其他要求:读者未登录时,只能检索图书,登录后才能使用预约、续借和取消预约图书, 查询个人借阅史以及修改密码功能
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP+MySQL实现的网上图书管理系统(数据库课设)【100013056】 (158个子文件)
manager.php.bak 4KB
pwd_Modify.php.bak 3KB
manager_modify.php.bak 3KB
navigation.php.bak 2KB
manager_add.php.bak 2KB
login.php.bak 2KB
chklogin.php.bak 1KB
library_ok.php.bak 751B
copyright.php.bak 622B
manager_ok.php.bak 442B
manager_del.php.bak 389B
pwd_ok.php.bak 268B
conn.php.bak 229B
check_login.php.bak 176B
style.css 3KB
Thumbs.db 56KB
数据库原理课程设计报告书.doc 1.32MB
程序使用说明.doc 20KB
tb_reader.frm 9KB
tb_bookinfo.frm 9KB
tb_library.frm 9KB
tb_borrow.frm 9KB
tb_purview.frm 9KB
tb_parameter.frm 8KB
tb_booktype.frm 8KB
tb_readertype.frm 8KB
tb_manager.frm 8KB
tb_publishing.frm 8KB
tb_bookcase.frm 8KB
bg.gif 66KB
banner.gif 40KB
main_booksort.gif 8KB
bookxj.gif 6KB
bookborr.gif 6KB
bookgh.gif 6KB
dangan.gif 4KB
bookborrow.gif 4KB
item_over.gif 2KB
item_out.gif 2KB
bg_line.gif 2KB
line.gif 2KB
search.gif 1KB
menu_line.gif 1KB
menu_line1.gif 1KB
borrow_fg.gif 959B
line2.gif 678B
main_booksort_2.gif 674B
main_booksort_1.gif 179B
navigation_bg.gif 133B
Top_flag.gif 48B
subBG.jpg 31KB
reader_checkbg.jpg 15KB
menu.JS 8KB
function.js 1KB
LICENSE 1KB
README.md 10KB
tb_reader.MYD 1KB
tb_reader.MYD 1KB
tb_bookinfo.MYD 580B
tb_bookinfo.MYD 580B
tb_borrow.MYD 448B
tb_borrow.MYD 448B
tb_manager.MYD 208B
tb_manager.MYD 208B
tb_bookcase.MYD 180B
tb_readertype.MYD 168B
tb_library.MYD 148B
tb_library.MYD 148B
tb_booktype.MYD 104B
tb_booktype.MYD 104B
tb_publishing.MYD 76B
tb_publishing.MYD 76B
tb_purview.MYD 50B
tb_purview.MYD 50B
tb_parameter.MYD 13B
tb_parameter.MYD 13B
tb_booktype.MYI 2KB
tb_manager.MYI 2KB
tb_booktype.MYI 2KB
tb_manager.MYI 2KB
tb_library.MYI 2KB
tb_purview.MYI 2KB
tb_reader.MYI 2KB
tb_borrow.MYI 2KB
tb_bookinfo.MYI 2KB
tb_parameter.MYI 2KB
tb_library.MYI 2KB
tb_purview.MYI 2KB
tb_reader.MYI 2KB
tb_borrow.MYI 2KB
tb_bookcase.MYI 2KB
tb_readertype.MYI 2KB
tb_bookinfo.MYI 2KB
tb_parameter.MYI 2KB
tb_publishing.MYI 1024B
tb_publishing.MYI 1024B
db.opt 65B
bookBorrow.php 10KB
bookRenew.php 6KB
borrowQuery.php 6KB
共 158 条
- 1
- 2
资源评论
神仙别闹
- 粉丝: 2711
- 资源: 7668
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- zookeeper之节点基本操作(一).zip
- tomcat安装及配置教程.zip
- zookeeper之分布式环境搭建.zip
- SharePoint监控工具 SharePointHealthMonitor
- Windows SNMP服务开启工具 ManageEngine-SnmpEnabler
- python通过USB-HID通信的控制台程序
- 后端开发框架在现代web开发中扮演着关键角色,能帮助开发者快速、高效地构建和维护应用程序.docx
- 基于机器学习的电影票房预测平台源码+数据集+文档说明.zip
- 基于Qt5前端+多种路径算法实现的校园导游系统
- SQL Server数据库监控工具 ManageEngineSQLHealthMonitor 监控SQL Server的CP
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功