本科毕业设计(论文)
过程管理手册
题 目 基于 SpringBoot 技术在线点餐系
统的设计与实现
英文题目 Design and implementation of online
ordering system based on SpringBoot technology
院(部) 大数据与计算机学院
专 业 软件工程
姓 名
学 号
指导教师
江西工程学院 教务处制
二〇三年六月
独创性声明
本人郑重声明:
所呈交的毕业设计(论文)是本人在指导教师指导下进行的
研究工作及取得的研究成果。其中除加以标注和致谢的地方,以
及法律规定允许的之外,不包含其他人已经发表或撰写完成并以
某种方式公开过的研究成果,也不包含为获得其他教育机构的学
位或证书而作的材料。其他同志对本研究所做的任何贡献均已在
文中作了明确的说明并表示谢意。
本毕业设计(论文)成果是本人在江西工程学院期间在指导
教师指导下取得的,成果归江西工程学院所有。
特此声明。
作者签字: 日期: 年 月 日
版权使用授权书
本毕业设计(论文)作者及指导教师完全了解江西工程学院
有关保留、使用毕业设计(论文)的规定,有权保留并向国家有
关部门或机构送交毕业设计(论文)的复印件和磁盘,允许毕业
设计(论文)被查阅和借阅。
作者签字: 指导教师签字:
年 月 日 年 月 日
摘要
I
摘 要
饮食行业的发展推动了服务的提升,在线点餐服务模式随之产生。相比于传
统点餐,在线点餐更加方便地浏览菜品,挑选菜品,有更好的用餐体验。系统的
使用减少了人工成本,方便数据统计,便于提供更优质的服务。
系统选用 B/S 架构,引入 MVC 架构思想,使用前后端分离的开发方法。就餐
者在前台系统中可以注册和登录,浏览所有餐品,能看到餐品的详情。可以根据
不同分类来筛选餐品,搜索框还支持用户输入关键字进行模糊搜索。系统首页展
示了推荐餐品、最高人气餐品、最高销量餐品以及最新上架商品。用户登录后,
即可进行点餐。把餐品加入购物车,提交支付订单,还能取消订单。用户也可以
管理自己的个人信息。商家在后台系统中管理用户、用户角色、商品、商品分类
以及订单。系统采用 Vue、Spring Boot 与 MyBatis 框架来编码实现。使用
ElementUI 配合 Vue 框架提高前端页面编写效率,达到更好的效果。在数据存储
上引入 Redis 来缓解 MySQL 查询压力,提升响应效率。系统开发完后对系统进行
功能测试和性能测试,确保系统在功能以及性能上均能满足系统设计最初定下的
要求。
设计了完善的测试用例,包含各种边界条件测试用例,系统通过了各个功能
模块的测试,测试结果表明,系统能实现在线点餐的功能以及相关体验,满足系
统功能设计需求,达到了设计的预期目标。
关键词:在线点餐;前后端分离;SpringBoot;Vue;Redis
ABSTRACT
II
Design and implementation of online ordering
system based on SpringBoot technology
ABSTRACT
The development of the catering industry has promoted the improvement of
services, and the online ordering service model has emerged. Compared with
traditional ordering, online ordering is more convenient to browse dishes, select
dishes, and have a better dining experience. The systematic use reduces labor costs,
facilitates data statistics, and facilitates the provision of better services.
The system adopts the B/S architecture, introduces the MVC architecture idea,
and uses the development method of separating the front and back ends. Diners can
register and log in in the front desk system, browse all the meals, and see the details
of the meals. Meals can be filtered according to different categories, and the search
box also supports users to enter keywords for fuzzy search. The home page of the
system displays the recommended meals, the most popular meals, the most popular
meals, and the latest products on the shelves. After the user is logged in, they can
order food. Add meals to cart, submit payment orders, and cancel orders. Users can
also manage their own personal information. Merchants manage users, user roles,
products, product categories and orders in the backend system. The system uses Vue,
Spring Boot and MyBatis frameworks to code and implement. Use ElementUI with
Vue framework to improve front-end page writing efficiency and achieve better
results. Introduce Redis to data storage to relieve MySQL query pressure and improve
response efficiency. After the system is developed, the function test and performance
test are carried out on the system to ensure that the system can meet the initial
requirements of the system design in terms of function and performance.
A complete test case has been designed, including various boundary condition
test cases. The system has passed the test of each functional module. The test results
show that the system can realize the function of online ordering and related
experience, meet the functional design requirements of the system, and achieve the
design requirements. expected goal.
Key Words:Online ordering; front-end and back-end separation; SpringBoot; Vue; Redis
目录
III
目 录
1 绪论..............................................................1
1.1 研究背景与意义 ..............................................1
1.2 国内外研究现状 ..............................................1
1.2.1 国内研究现状...........................................1
1.2.2 国外研究现状...........................................2
1.3 研究内容与预期目标 ..........................................2
2 系统分析..........................................................3
2.1 系统设计目标 ................................................3
2.1.1 系统架构分析...........................................3
2.1.2 系统业务流程分析.......................................4
2.2 系统可行性分析 ..............................................5
2.3 系统功能需求分析 ............................................6
2.3.1 前台部分功能...........................................7
2.3.2 后台部分功能...........................................7
2.4 数据库分析设计 .............................................10
2.4.1 E-R 图 ................................................10
2.5 系统开发和运行环境 .........................................19
3 系统设计与实现...................................................20
3.1 模块功能设计 ...............................................20
3.1.1 登录注册模块..........................................20
3.1.2 购物车管理............................................22
3.1.3 个人订单管理..........................................23
3.1.4 个人信息管理..........................................24
3.1.5 提交支付订单..........................................24
3.1.6 浏览商品模块..........................................25
3.1.7 用户管理..............................................26
3.1.8 角色管理..............................................27
3.1.9 商品分类管理..........................................27
3.1.10 商品管理.............................................28
3.1.11 订单管理.............................................29
4 系统运行测试.....................................................29
4.1 测试目的与目标 .............................................29
4.2 系统主要功能测试 ...........................................30
4.3 系统性能测试 ...............................................32
第五章 总结与展望..................................................32
参考文献...........................................................33
致 谢..............................................................35