摘  要

随着信息化社会的形成和微电子技术日新月异的发展,为超市商品订单管理提供了良好的发展环境。人们对超市商品管理的需求越来越多,也正因此,超市订单管理系统应运而生,可以为人们的超市商品管理有效的解决很多实际问题。超市商品管理涵盖的领域广泛,因此难以管理。传统的超市商品管理方法的效率无法适应现在的发展,反而更加繁琐,所以需要建立并且完善超市订单管理系统。

本系统是通过面向对象的Java语言搭建系统框架,通过关系型数据库MySQL存储数据。使用MVC框架进行超市商品的信息管理,用户只需要通过浏览器访问系统即可获取超市商品信息,并可以在线管理,实现了信息的科学管理与查询统计。本文先通过对相关系统的调研,提出开发基于java的超市订单管理系统的意义,然后使用当前主流的技术进行开发,满足基于java的超市订单管理系统的技术要求,然后分析系统需要实现的功能并进行设计。梳理业务流程,并根据功能设计数据库,最后通过编码实现,介绍实现的关键算法逻辑。在测试阶段通过测试用例来确保系统可以正常运行,并达到前期要求的目的。系统的实施方便了超市商品在线管理,将信息化技术完美的应用在基于java的超市订单管理系统中,使得超市商品业务管理变得简单高效。


关键词:超市订单管理、信息技术、MVC、数据库设计


 

Abstract

With the formation of the information society and the rapid development of microelectronics technology, it has provided a good development environment for supermarket commodity order management. People have more and more demands for supermarket commodity management, which is why the supermarket order management system came into being, which can effectively solve many practical problems for people's supermarket commodity management. Supermarket commodity management covers a wide range of fields, so it is difficult to manage. The efficiency of the traditional supermarket commodity management method can not adapt to the current development, but is more cumbersome, so it is necessary to establish and improve the supermarket order management system.

The system uses the object-oriented Java language to build the system framework, and uses the relational database MySQL to store data. The MVC framework is used to manage the information of supermarket products. Users only need to access the system through the browser to obtain the information of supermarket products, and can manage it online, realizing the scientific management and query statistics of information. This paper first puts forward the significance of developing a java-based supermarket order management system through the investigation of relevant systems, and then uses the current mainstream technology to develop it to meet the technical requirements of the java-based supermarket order management system, and then analyzes and designs the functions that the system needs to achieve. Sort out the business process, design the database according to the function, and finally implement it by coding, introducing the key algorithm logic. In the test phase, test cases are used to ensure that the system can operate normally and achieve the purpose of the preliminary requirements. The implementation of the system facilitates the online management of supermarket goods. The perfect application of information technology in the supermarket order management system based on java makes the business management of supermarket goods simple and efficient.


Keywords:supermarket order management, information technology, MVC, database design


 

目  录

摘  要 2

ABSTRACT 3

第一章 绪论 1

1.1 研究背景 1

1.2 系统开发意义 1

1.3 研究内容 2

第二章 相关技术介绍 3

2.1 数据库技术 3

2.2 MVC框架 3

2.3 JAVA技术 4

第三章 系统分析 5

3.1可行性分析 5

3.2功能性需求分析 5

3.3系统用例分析 6

3.4系统用例规约 6

3.5系统非功能性需求 8

第四章 系统设计 10

4.1系统架构设计 10

4.2系统功能设计 10

4.2.1 管理员管理模块设计 11

4.2.2 员工模块设计 12

4.3数据库设计 13

4.3.1数据库逻辑结构设计 13

4.3.2数据库物理结构设计 13

第五章 系统实现 19

5.1系统登录 19

5.2系统主界面实现 20

5.3系统用户信息管理 21

5.4 超市商品管理的实现 22

5.5 超市商品进货管理 23

5.6 超市商品销售出库管理 23

第6章 系统测试 25

6.1 测试目的和原则 25

6.2 功能测试 25

6.3 测试结论 27

总 结 28

参考文献 29

 

根据基于java的超市订单管理系统的需求分析,对系统进行设计,首先进行系统的架构设计。本基于java的超市订单管理系统使用MVC架构进行开发,主要包括界面层、数据库层、业务逻辑层。

表示层就是我们所见的系统界面,它是使用html、javascript以及Css和div视图页面。用户界面主要用于显示数据,收集客户输入的数据以及和用户相应的操作界面。表示层也可以通过一些框架进行实现,简化了界面设计的工作量,更有利于界面的风格统一和后期的修改。也可以通过原生态自助开发,更加的灵活。

数据访问层为系统提供基础的数据处理,实现数据库表的信息,增加信息、查询和删除等功能,数据访问层又可以分为实体层和数据库处理。数据访问层将处理后的数据返回给业务逻辑层,也可以接受业务逻辑层的数据,对数据进行数据保存,最终返回保存状态,给业务逻辑层进行判断。数据访问层也直接可以和表示层进行交互,将数据处理后结果反馈给前台页面。

业务逻辑层是所有系统的核心部分,在基于java的超市订单管理系统中业务逻辑层是非常重要的层次,它是表示层和数据访问层的桥梁,实现系统的业务逻辑判断。比如在登录中接收到表示层的用户名和密码后,先对密码进行加密操作,如果用户名和密码任意一项不存在,数据库将提示信息给界面,也可以判断当前用户登录系统的次数,如果错误次数过多,那将提示用户不能再次登录,这些功能都是业务逻辑处理的工作,还有系统一些业务算法也是在本层次实现,以便提高软件的耦合度。

超市订单管理系统-计算机毕业设计源码+LW文档_java

超市订单管理系统-计算机毕业设计源码+LW文档_管理系统_02