java超市管理系统课程设计报告
更新时间:2023-04-16 04:43:01 阅读量: 实用文档 文档下载
湖南文理学院课程设计题目:超市管理系统
系别计算机科学与技术
班级计科12102
学生姓名罗巍杨欢杨沁铠唐振
学号
指导教师谭文学
课程设计进行地点:第三实验楼A617
任务下达时间: 2014 年 5 月 21 日
起止日期: 2014 年 5 月 21 日起——至 2014 年 6月 21 日止
摘要
随着小型超市规模的发展不断扩大,商品数量急剧增加,有关商品的各种信息量也成倍增长,传统的人工记忆方式也慢慢的无法适应形势的变化。随着信息技术的发展,计算机已被广泛的用于社会的各个领域,成为推动社会发展的技术动力。而在计算机应用中,软件的作用十分突出,软件已经发展成为信息技术的核心,主导着信息产品的开发和信息技术市场的进一步的开拓。软件产业已成为社会信息化进程中的一个战略性产业。在软件技术的应用中软件的开发技术尤其是应用型软件产品的开发技术成了重中之重。不断开发适应用户需求、市场需要的新型软件产品。随着社会的发展,软件也在不断的更新换代。
由于有些超市里对商品的进货、售出及商品的基本信息等的一些繁琐处理都是通过手工进行记载并进行处理的,对商品信息的处理工作量特别大,不仅浪费大量的人力物力,而且还很容易出错,更重要的是为了方便顾客,超市需要时时刻刻对商品对各种信息进行统计分析。一直以来人们使用传统人工的方式管理超市的各项工作, 这种管理方式存在着许多缺点, 如: 效率低、保密性差, 另外时间一长, 将产生大量的冗余文件和数据, 这给查找、统计、更新和维护工作都带来了很大的困难。然而大型的超市管理系统功能过于强大而造成操作繁琐降低了小超市的工作效率。如果有这样一套完整的小型超市管理系统软件,只需点击几下鼠标就可完成所需操作,那样就会大大的提高超市员工的工作效率和管理水平,并能进一步提高超市的工作效率并使超市实施规范化管理。鉴于小型超市管理
中存在的诸多问题, 我们在此次课程设计中以小型超市管理系统为研究
课题,对此系统进行了全面的设计。
超市管理系统由顾客、采购员、销售员、经理的管理界面四部分组成。
超市管理系统应该能够为用户提供充足的信息和快捷的查询手段。
一个完整系统的设计,当然就离不开后台环境的支持,在此次设计中,我
们主要以sqlsever数据库作为基础,实行此系统的开发。
目录
一、系统需求分析................................................ - 1 -
系统名称: .................................................. - 1 -系统介绍: .................................................. - 1 -开发背景 .................................................... - 1 -.系统面向的用户群体 ......................................... - 1 -开发环境 .................................................... - 1 -二、系统总体设计................................................ - 2 -
系统功能结构图 .............................................. - 2 -三、系统详细设计................................................ - 2 -
数据库实体E-R图设计 ........................................ - 2 -数据库表的设计 .............................................. - 4 -物理设计文档 ................................................ - 6 -详细设计 ................................................... - 10 -
四、系统总结................................................... - 20 -
五、系统设计心得体会........................................... - 21 -
六、参考文献................................................... - 21 -
一、系统需求分析
系统名称:
小型超市管理系统
系统介绍:
界面设计简洁、友好、美观大方
操作简单、快捷方便
数据存储安全、可靠
信息分类清晰、准确
强大的查询功能、保证数据查询的灵活性
提供销售排行,为管理员提供真实的数据信息
提供灵活、方便的权限设置功能,使整个系统的管理分工明确
对用户的输入的数据,系统进行严格的数据检验,尽可能排人为错误开发背景
随着现代科学技术的迅猛发展,计算机技术已经渗透到各个领域,成为各行业必不可少的工具,特别是Internet技术的推广和信息高速公路的建立,使IT产业在市场竞争中越发显示出其独特的优势,步入信息化时代,有巨大的数据信息等待加工处理和传输,这使得对数据库的进一步开发和利用显得尤为迫切。
作为国内市场的一些中小型超市,它们在信息化过程中的步伐要落后于大中型超市,而对于这些企业的资源管理,信息的存储和处理也显得迫切需要,要适应市场竞争,就需要有高效的处理方式和管理方法,因此加快超市的信息化进程是必不可少的。
我国的超市在20世纪90年代初期形成,现在已经成为我国零售业的一种重要形态,为国民经济的发展发挥了重要的作用。随着经济的快速发展,超市的经营管理也变得愈加复杂,早期的售货员站柜台的形式早已不能满足现有销售业的发展,这样就迫切地需要引入新的管理技术。
.系统面向的用户群体
主要是中小型超市使用者,该消费群体具有以下特征:1超市日常管
理人工化居多,工作效率较低;2超市日常交易额较小,货物流通较小,不愿花高价购进大型超市管理系统。因此,该消费群体对产品的功能性需求并不高,只需满足前台销售系统、后台货物管理即可。
开发环境
Eclipse+mysql
二、系统总体设计
系统功能结构图
小超市管理系统是一个专门针对小型的商店和超市的智能化、自动化的管理系统。其功能总框图如图2-1所示。
登录功能介绍
登录功能是进入系统必须经过的验证过程,其主要功能是验证使用者的身份,确认使用者的权限,从而在使用软件过程中能安全地控制系统数
据,即不同的工作人员有不同的权限,每个使用人员不得跨越其权限操作软件,可以避免不必要的数据丢失事件发生。
登录的界面如图2-2所示
登陆成功!!!
登陆界面源代码
package uml_supermarket;
import .*;
import .*;
import
import .*;
/**
*
Title:
*
Description:
*
Copyright: Copyright (c) 2003
*
Company:
* @author unascribed
* @version
*/
public class Logincs extends JDialog implements ActionListener{ dd(panel1);
(jPanel1, ;
(jLabel3, new XYConstraints(-1, 0, 395, 30));
(jLabel5, new XYConstraints(274, 30, 121, 32));
(jLabel4, new XYConstraints(127, 32, 143, 30));
(jPasswordField1, new XYConstraints(143, 196, 132, 24));
(jTextField1, new XYConstraints(143, 136, 132, 24));
(jLabel2, new XYConstraints(23, 195, 60, 25));
(jLabel1, new XYConstraints(23, 134, 60, 25));
(jLabel6, new XYConstraints(-2, 65, 396, 191));
(jButton1, new XYConstraints(90, 274, 68, 28));
(jButton2, new XYConstraints(193, 275, 69, 28));
}
public void actionPerformed(ActionEvent e){
;
String userName="sa"; oString() ;ewInstance();
} catch (InstantiationException e1) {
;
import .*;
import .*;
/**
*
Title:
*
Description:
*
Copyright: Copyright (c) 2003
*
Company:
* @author unascribed
* @version
*/
public class Registration extends JDialog implements ActionListener {
String userName="sa"; dd(panel1);
(jPanel1, ;
(jTextField1, new XYConstraints(80, 31, 76, 25));
(jTextField2, new XYConstraints(79, 76, 78, 23));
(jTextField3, new XYConstraints(79, 119, 77, 25));
(jTextField4, new XYConstraints(78, 159, 77, 26));
(jLabel4, new XYConstraints(26, 158, 42, 28));
(jLabel3, new XYConstraints(28, 118, 39, 28));
(jLabel2, new XYConstraints(28, 76, 48, 26));
(jLabel1, new XYConstraints(31, 35, 41, 27));
(jLabel7, new XYConstraints(185, 30, 49, 25));
(jTextField5, new XYConstraints(258, 35, 120, -1));
(jLabel5, new XYConstraints(185, 78, 78, 23));
(jLabel6, new XYConstraints(185, 116, 73, 23));
(jTextField7, new XYConstraints(258, 119, 121, 23)); (jTextField6, new XYConstraints(258, 79, 119, 24));
(jButton1, new XYConstraints(197, 194, 80, 26));
(jButton2, new XYConstraints(296, 194, 82, 26));
}
public void actionPerformed(ActionEvent ee){
}
void jButton1_actionPerformed(ActionEvent e) {
String userGender = ()) ;
int userAge = ())) ;
String username= ()) ;
String userAuthority = ()) ;
String userAddress = ()) ;
String userPassword = ()) ;
String testPassword = ()) ;
if(testPassword)){
try{
(driverName);
dbConn=(dbURL,userName,userPwd);
Statement stmt = , ;
String sql = "INSERT INTO T_user values(,,,,,,)"; PreparedStatement ps=(sql);
try{
;
import .*;
;
/**
*
Title:
*
Description:
*
Copyright: Copyright (c) 2003
*
Company:
* @author unascribed
* @version
*/
public class Registration extends JDialog implements ActionListener {
String userName="sa"; dd(panel1);
(jPanel1, ;
(jTextField1, new XYConstraints(80, 31, 76, 25));
(jTextField2, new XYConstraints(79, 76, 78, 23));
(jTextField3, new XYConstraints(79, 119, 77, 25));
(jTextField4, new XYConstraints(78, 159, 77, 26));
(jLabel4, new XYConstraints(26, 158, 42, 28));
(jLabel3, new XYConstraints(28, 118, 39, 28));
(jLabel2, new XYConstraints(28, 76, 48, 26));
(jLabel1, new XYConstraints(31, 35, 41, 27));
(jLabel7, new XYConstraints(185, 30, 49, 25));
(jTextField5, new XYConstraints(258, 35, 120, -1)); (jLabel5, new XYConstraints(185, 78, 78, 23));
(jLabel6, new XYConstraints(185, 116, 73, 23));
(jTextField7, new XYConstraints(258, 119, 121, 23)); (jTextField6, new XYConstraints(258, 79, 119, 24));
(jButton1, new XYConstraints(197, 194, 80, 26));
(jButton2, new XYConstraints(296, 194, 82, 26));
}
public void actionPerformed(ActionEvent ee){
}
void jButton1_actionPerformed(ActionEvent e) {
String userGender = ()) ;
int userAge = ())) ;
String username= ()) ;
String userAuthority = ()) ;
String userAddress = ()) ;
String userPassword = ()) ;
String testPassword = ()) ;
if(testPassword)){
try{
(driverName);
dbConn=(dbURL,userName,userPwd);
Statement stmt = , ;
String sql = "INSERT INTO T_user values(,,,,,,)"; PreparedStatement ps=(sql);
try{
;
import .*;
import
import .*;
/**
*
Title:
*
Description:
*
Copyright: Copyright (c) 2003
*
Company:
* @author unascribed
* @version
*/
public class CustomerWindow extends JDialog {
dd(panel1);
(tableScrollPane1, new XYConstraints(219, 140, -1, -1)); (Table1, new XYConstraints(2, 0, 542, 222)); (jButton2, new XYConstraints(0, 267, 131, 23));
(jLabel1, new XYConstraints(136, 268, 39, 21));
(jTextField2, new XYConstraints(178, 268, 65, 21));
(jLabel2, new XYConstraints(249, 268, 52, 21));
(jTextField1, new XYConstraints(297, 268, 66, 23));
(jTextField3, new XYConstraints(431, 309, 65, 21));
(jLabel3, new XYConstraints(375, 309, -1, 23));
(jLabel4, new XYConstraints(137, 309, 39, 21));
(jLabel5, new XYConstraints(249, 309, 50, 22));
(jTextField5, new XYConstraints(299, 309, 69, 20));
(jButton3, new XYConstraints(-1, 307, 133, 22));
(jLabel6, new XYConstraints(136, 339, 46, 21));
(jTextField6, new XYConstraints(180, 339, 66, -1)); (jLabel7, new XYConstraints(249, 339, 50, 21));
(jTextField7, new XYConstraints(298, 339, 71, 21));
(jLabel8, new XYConstraints(378, 339, 50, 20));
(jButton4, new XYConstraints(413, 384, 130, 22));
(jPasswordField1, new XYConstraints(432, 338, 66, 19));
(jTextField4, new XYConstraints(178, 310, 71, 21));
(jButton1, new XYConstraints(-2, 233, 133, 22));
}
oodsPrice FROM [UML_CS].[dbo].[goodsInfo] WHERE GoodsName = '"+GoodsName+"'", null, true, );
(queryDataSet2);
();*/
try{
(driverName);
dbConn=(dbURL,userName,userPwd);
连接成功!"); oodsID,[goodsInfo].GoodsName,[goodsInfo].GoodsNumber,[goodsInfo ].GoodsProduct,[go" +
"odsInfo].GoodsPrice FROM [UML_CS].[dbo].[goodsInfo] WHERE GoodsID = '"+GoodsID+"'", null, true, );
(queryDataSet3);
();*/
try{
(driverName);
dbConn=(dbURL,userName,userPwd);
连接成功!"); dbo].[user] WHERE userName = '"+customerName+"'") ;*/
stmt = ();
ResultSet rs = ("SELECT userPassword FROM [user] WHERE userName = '"+customerName+"'") ;
ResultSet inf=("INSERT INTO [vendition_TABLE](GoodsName,GoodsSize,GoodsCustomNumber,Venditi onDate,CustomerName)
VALUES('"+goodsName+"','"+goodsSize+"','"+goodsCustomNumber+"', '"+venditionDate+"','"+customerName+"')") ;
while()){
userPassword = ("userPassword") ;
}
dbo].[vendition_TABLE](GoodsName,GoodsSize,GoodsCustomNumber,Ve nditionDate,CustomerName)
VALUES('"+goodsName+"','"+goodsSize+"','"+goodsCustomNumber+"', '"+venditionDate+"','"+customerName+"')") ;
);
(queryDataSet4);
();*/
try{
(driverName);
dbConn=(dbURL,userName,userPwd);
连接成功!"); ;
import .*;
i
import
/**
*
Title:
*
Description:
*
Copyright: Copyright (c) 2003
*
Company:
* @author unascribed
* @version
*/
public class BuyerWindow extends JDialog { host:1433;DatabaseName=yonghui";
String userName="sa"; dd(panel1, ; }
public void cancel(){
dispose() ;
}
浏览全部商品订货单
正在阅读:
java超市管理系统课程设计报告04-16
维生素,矿物质11-27
第一次考级作文600字06-22
怎样提高学生计算的正确率06-16
人教版六年级下册品德与社会各单元复习题(2)有答案05-20
2022年市财政局工作总结及工作规划范文04-24
计算机软件毕业设计于C#语言和SQL Server数据库的宠物店管理系统 - 图文10-18
1项目前期策划合同的要点04-26
“爱”什么,什么就遭殃11-03
公文写作规范格式与常用技巧103-01
- 教学能力大赛决赛获奖-教学实施报告-(完整图文版)
- 互联网+数据中心行业分析报告
- 2017上海杨浦区高三一模数学试题及答案
- 招商部差旅接待管理制度(4-25)
- 学生游玩安全注意事项
- 学生信息管理系统(文档模板供参考)
- 叉车门架有限元分析及系统设计
- 2014帮助残疾人志愿者服务情况记录
- 叶绿体中色素的提取和分离实验
- 中国食物成分表2020年最新权威完整改进版
- 推动国土资源领域生态文明建设
- 给水管道冲洗和消毒记录
- 计算机软件专业自我评价
- 高中数学必修1-5知识点归纳
- 2018-2022年中国第五代移动通信技术(5G)产业深度分析及发展前景研究报告发展趋势(目录)
- 生产车间巡查制度
- 2018版中国光热发电行业深度研究报告目录
- (通用)2019年中考数学总复习 第一章 第四节 数的开方与二次根式课件
- 2017_2018学年高中语文第二单元第4课说数课件粤教版
- 上市新药Lumateperone(卢美哌隆)合成检索总结报告
- 管理系统
- 超市
- 课程
- 报告
- 设计
- java
- 怎样与人交流沟通说话.doc
- 2022年最新十八项医疗核心制度考试试题及答案
- 人教版新目标版八年级英语上册 Unit 9 Can you come to my party
- 教研员年度工作总结
- 乡村村民代表选举办法
- 2022年《建设工程施工管理》整理笔记(必看)
- 2022小学家长学校工作计划安排
- 高考英语一轮复习 Unit1 Friendship板块训练 新人教版必修1
- (完整版)气割安全操作规程
- 9号机组电气二次检修规程
- 2022年郑州大学广告学(同等学力加试)考研复试核心题库
- 2022小学数学第八册教学计划 教学工作计划
- 口腔科根管治疗知情同意书
- 小学二年级庆祝2015年元旦亲子游园活动方案
- 不同角度识别真假拉菲Lafite
- 液压与气压传动技术作业教学提纲
- 期权从业考试题含答案分
- 励志又幽默的演讲稿[感动万人流泪的励志演讲稿让人感动落泪的经
- 上音序查字法练习题
- 《XX检验科述职报告5篇》