毕业设计(论文)
( 2018 届)
设计(论文)题目
校 园 二 手 交 易 系 统 论 文
办 学 点 ( 系 )
信 息 工 程 系
专 业
XXX
班 级
XXX
学 号
XXX
学 生 姓 名
XXX
起 讫 日 期
XX 年 XX 月 — XX 年 X 月
指 导 教 师
XX 职 称 讲 师
评 阅 教 师
XX 职 称 讲 师
XX 年 X 月 X 日
XX 学 院 教 务 处 制
T H E C I T Y V O C A T I O N A L C O L L E G E O F J I A N G S U
校园二手交易系统论文
摘要
该系统主要采用基于 B/S 模式的三层数据处理结构,开发环境选用当前普遍
采用的 J2EE 架构 Spring+Hibernate+Struts 框架,主要编程语言为 Java,数据
库为 Mysql 数据库,服务器方面使用 Tomcat 为项目主要服务器。依照软件项目
管理、数据库设计等有关理论进行开发与设计。本系统运行结果可以满足广大高
校师生的正常使用需求。文章详细介绍了校园二手商品交易系统的开发背景,需
求分析,软硬件环境,系统总体设计,系统详细设计,系统代码设计以及后期的
测试与维护中的问题。设计部分列出了主要的项目运行图解,并附带了相关业务
逻辑部分的关键代码。本系统的主要功能有:商品浏览、商品搜索、商品信息管
理、订单管理、购物车管理、留言管理等功能。
关键词: 校园二手交易系统、管理系统、S2SH
Campus second-hand trading system
Abstract
The system adopts the three layer structure of data processing based on B/S
model, J2EE framework Spring+Hibernate+Struts development environment is the
main, the programming language Java, database Mysql database server, using Tomcat
as the main server project. According to the software project management, database
design and other related theories for development and design. The running results of
the system can meet the normal use needs of teachers and students in Colleges and
universities. This paper introduces the development background, demand analysis,
software and hardware environment, system overall design, system detailed design,
system code design and the problems in the later test and maintenance of the campus
secondary commodity trading system. The design part lists the main project running
diagram, and the key code of the relevant business logic part is attached. The main
functions of the system include: commodity browsing, commodity search, commodity
information management, order management, shopping cart management, message
management and other functions.
Keywords: Campus second-hand trading system, management system, S2SH
目 录
摘要 ............................................................................................................................................2
Campus second-hand trading system......................................................................................3
Abstract ....................................................................................................................................3
目 录 ....................................................................................................................................4
第一章 绪论 ..............................................................................................................................1
1.1 校园二手交易系统的开发背景 ........................................................................................1
1.2 设计目的与意义 .................................................................................................................1
第二章 系统需求分析 ..............................................................................................................2
2.1 可行性分析 ........................................................................................................................2
2.1.1 操作可行性.................................................................................................................2
2.1.2 经济可行性.................................................................................................................2
2.1.3 技术可行性.................................................................................................................2
2.2 方案的设计与比较 .............................................................................................................2
2.2.1 C/S 设计结构和 B/S 设计结构比较..........................................................................2
2.2.2 系统模式的设计.........................................................................................................3
2.2.3 系统设计的技术选择..................................................................................................3
2.2.4 系统的运行环境..........................................................................................................3
2.3 系统基本功能需求 ............................................................................................................3
2.3.1 系统结构.....................................................................................................................3
2.4 数据库需求分析 ................................................................................................................6
2.5 系统目标 ............................................................................................................................6
第三章 系统概要设计 ..............................................................................................................7
3.1 总体设计 .............................................................................................................................7
3.1.1 处理流程.....................................................................................................................7
3.1.2 系统的数据流图..........................................................................................................7
3.2 系统结构图 ........................................................................................................................8
3.3 数据库设计 .........................................................................................................................9
3.4 逻辑结构设计 ...................................................................................................................12
3.5 数据库表的设计 ...............................................................................................................12
第四章 系统的详细设计与实现 ............................................................................................15
4.1 前台功能实现 ...................................................................................................................15
4.1.1 首页功能实现.............................................................................................................15
4.1.2 物品信息查询实现.....................................................................................................18
4.1.3 会员注册功能实现.....................................................................................................19
4.2 登录会员功能实现 ...........................................................................................................21
4.2.1 会员登录功能实现.....................................................................................................21
4.2.2 购物功能实现.............................................................................................................23
4.2.3 订单管理功能实现.....................................................................................................29
4.2.4 站内信功能实现.........................................................................................................32
4.3 管理员功能实现 ...............................................................................................................33
4.3.1 管理员登录功能实现.................................................................................................33
4.3.2 修改登录密码功能实现.............................................................................................35
4.3.3 物品类别管理功能实现.............................................................................................36
4.3.4 物品信息管理功能实现.............................................................................................39
4.3.5 会员信息管理功能实现.............................................................................................42
4.3.6 订单信息管理功能实现.............................................................................................43
4.3.7 站内信管理功能实现.................................................................................................46
结论 ..........................................................................................................................................48
参考文献 ..................................................................................................................................49
致谢 ..........................................................................................................................................50