基于Java的茶叶销售系统的设计与实现
摘要:进入21世纪以来,改革开放四十余年,国家经济的发展十分迅速,人们的生活水平普遍提高,人们对拥有健康的身体状况越来越重视。饮茶是中国人民的一种传统文化、风俗习惯,中国有着悠久的饮茶历史,随着电子商务的兴起,互联网时代的到来,人们喜欢在电商平台上购买优质、便宜的茶叶,但是目前国内没有专门以茶叶为核心的电商销售平台,为了解决这一现状,结合实际情况,开发了一款基于PC端的茶叶销售系统,采用了SSM框架,基于B/S结构,使用Mysql作为数据库存储管理工具,开发工具为Eclipse,主要分为网站和后台,网站面向客户,客户可以注册登录网站进行购买茶叶,后台面向管理员,可以进行对茶叶、用户、订单、日志进行管理。
本文围绕着茶叶销售系统来进行论文的撰写,主要写了茶叶销售系统的平台开发的背景和意义,以及本系统采用的主要开发工具和主要技术,数据库的概念模型设计、数据库物理表结构设计,系统的详细实现过程,并对系统进行了全面的测试。
关键词:Java;茶叶;销售;Mysql
Design and implementation of tea sales system based on Java
Abstract: Since the beginning of the 21st century, more than 40 years of reform and opening up, the national economy has developed rapidly, people's living standards have generally improved, people pay more and more attention to having a healthy physical condition. Tea drinking is a traditional culture and custom of the Chinese people. China has a long history of tea drinking. With the rise of e-commerce and the advent of the Internet era, people like to buy high-quality and cheap tea on the e-commerce platform. However, there is no e-commerce sales platform with tea as the core in China. In order to solve this problem, a new e-commerce platform is developed The tea sales system based on PC adopts SSM framework, B / S structure, uses MySQL as database storage management tool, and eclipse as development tool, which is mainly divided into website and background. The website is oriented to customers, customers can register to purchase tea, and the background is oriented to managers, which can manage tea, users, orders and logs.
This paper focuses on the tea sales system to write the paper, mainly wrote the background and significance of the tea sales system platform development, as well as the main development tools and technologies used in the system, the conceptual model design of the database, the physical table structure design of the database, the detailed implementation process of the system, and carried out a comprehensive test of the system.
Key words: Java; tea; sale;MySQL
目录
1 绪论
1.1 研究背景
1.2 研究意义
1.3 国内外研究现状
1.4 论文的组织结构
2 开发工具与技术概述
2.1 MyEclipse开发工具
2.2 Tomcat服务器
2.3 Mysql数据库
2.4 JSP技术
3 系统分析及设计
3.1 用户
3.1.1 E-R图
3.1.2 用户表
3.2 订单
3.2.1 E-R图
3.2.2 订单表
3.3 日志
3.4 商品
3.5 E-R总图
3.6 用户逻辑设计
3.6.1 用户使用流程
3.6.2 用户功能
3.7 管理员的逻辑设计
3.7.1 管理员使用流程
3.7.2 管理员功能
4 系统实现
4.1 用户模块
4.1.1 用户注册
4.1.2 用户登录
4.1.3 主页面
4.1.4 商品页面
4.1.5 用户下订单页面
4.2 管理员模块
4.2.1 商品管理
4.2.2 用户管理
4.2.3 订单管理
4.2.4 日志管理
4.2.5 菜单管理
5 系统测试
5.1 软件测试的目的
5.2 软件测试的方法
5.3 测试用例
5.4 测试总结
结论
参考文献
致谢





































