| 注册
home doc ppt pdf
请输入搜索内容

热门搜索

年终总结个人简历事迹材料租赁合同演讲稿项目管理职场社交

企业用电管理系统设计课程实训报告

文***品

贡献于2020-10-10

字数:36403




数库课程实训报告
( 2015 2016年度第2学期)





题目: 企业电理系统






专业
软件工程
学生姓名

班级
软件
学号

指导教师

完成日期
2016



目 录
目 录 2
1 课题容求 1
11课题描述 1
12 课题求 1
2 需求分析 1
21 功规定 1
22 数需求分析 2
3 系统设计 3
31 功模块设计 3
32 数库概念设计 4
322 ER图 4
33 数库逻辑设计 5
34 数库物理设计 5
35 数库表间联系 6
4系统实现 6
41登陆模块实现 6
42查询模块实现 7
43 添加模块实现 8
44 删模块实现 9
45 修改模块实现 10
46 生成电费单模块实现 10
5 代码调试功测试 11
51 测试方案 11
52 测试结果 12
6 收获体会 16
参考文献 17
附  录 18
附录1源程序部分清单 18





企业电理系统设计
1 课题容求
11课题描述
系统设计信息:
(1) 电企业(电企业编号电企业名址电话联系)
(2) 电费信息(谷价峰价)
(3) 电情况(电企业编号谷电量峰电量年月年合计电量年合计电费)
12 课题求
求够进行操作:
(1) 够统计电企业月耗电量电费
(2) 够统计查询电企业总谷电量峰电量
(3) 够统计该区峰谷电量例电费情况
(4) 维护基数
(5) 户分级理机界面良
2 需求分析
21 功规定
1理解需求
理解需求问题终解决方案间架设桥梁第步开发者户充分理解需求开始设计系统否需求定义改进设计必须量返工
面系统终端户客户调研需求规格说明书
(1)者相关电力部门学系统开始时便进入欢迎界面 
(2)进入系统友界面清晰分企业信息理企业电信息理两选择
(3)点击企业信息理拉菜单中选项实现企业信息查询添加修改删操作 
(4)点击企业电理信息拉菜单中选项实现企业电理信息查询添加修改删操作 
(5)系统客户端运行Windows台服务器运行WindowsUnix台系统应该较图形户界面 
(6)系统应该扩展性
2需求分析
需求分析客户需求中提取出软件系统够帮助户解决业务问题通户业务问题分析确定系统功需求步骤理解需求升华直接关系该系统质量分析根目开发者提出需求间建立种理解沟通机制系统需求分析应该开发员户客户起完成
22 性规定
1精度
精度需求根需项数输入输出传输程中满足种精度需求:根关键字精度查找分精确查找泛型查找精确查找精确匹配系统者知道企业名称编号快速便捷查询知道信息
2时间特性求
软件方面响应时间更新处理时间较快迅速完全满足户求
3灵活性
户需求操作方式运行环境结果精度数结构软件接口等发生变化时设计软件做适调整灵活性非常

22 数需求分析




数字典
(1)factory
名称:factory
名:
描述:企业基信息
组成:factory(num+facname+repname+tel+usefnum+usegnum+usemoney)











(2) worker
名称:worker
名:
描述:员工理员基信息
组成:worker(id+workername+password+level)








3 系统设计
31 功模块设计





32 数库概念设计
321实体属性图








322 ER图




33 数库逻辑设计

企业(编号企业名法代表)
电价(峰电量谷电量峰电价谷电价总电费)
系统户(编号姓名密码权限)

34 数库物理设计
表:
factory

列名
数类型
允许Null值
num
varchar(50)

facname
varchar(50)

repname
varchar(50)

tel
varchar(50)

usefnum
int

usegnum
int

usemoney
int



num
facname
repname
tel
usefnum
usegnum
usemoney
001
新华书店
陈国勇
17802590001
1314
1022
2333
002
苏果超市
陈博文
17802590002
1516
2253
2863
003
微软公司
毕世勇
17802590003
3685
2467
4952
004
乐天玛特
丁杰
17802590004
3011
2794
3105
005
三厂中学
陈家勇
17802590005
2422
1974
2875

表二:
worker

列名
数类型
允许Null值
id
int

workername
varchar(50)

password
varchar(50)

[level]
int






id
workername
password
[level]
111
张三
123456
1
112
李四
123456
1
113

123456
2
114
熊二
123456
2


35 数库表间联系
数库中建两张表factoryworker间没直接联系代表企业信息代表员工信息

4系统实现
41登陆模块实现
private class ButtonactionPerformed implements ActionListener
登陆钮ButtonactionPerformed添加事件监视器
{
public void actionPerformed(ActionEvent e)worker表中获元组信息进行登陆面获元组登陆代码
{
ausername2getText()
spassword2getText()
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from worker )
if(cequals(a)&&bequals(s))
{
messagesetText(姓名密码空)
}
else if(true)
{
while(rsnext())
{
if(rsgetString(2)equals(a)&& rsgetString(3)equals(s)&&rsgetInt(4)level)
{
messagesetText(数库连接成功)
if(level1)
{
operate2 app2new operate2()
app2setLocationRelativeTo(null)
}
else
{
operate app3new operate()
app3setLocationRelativeTo(null)
}
}
else
{
messagesetText(户名密码者身份正确)
}
}
}
rsclose()
stmtclose()
connclose()
}
42查询模块实现
private class ButtonactionPerformed implements ActionListener
查询钮ButtonactionPerformed添加事件监视器
{
public void actionPerformed(ActionEvent e)
worker表中获取元组显示系统
{
facnamesearchgetText()

try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from factory )
while(rsnext())
{
if(rsgetString(2)equals(facname))
{
text1setText(rsgetString(1))
text2setText(rsgetString(2))
text3setText(rsgetString(3))
text4setText(rsgetString(4))
text5setText(+(rsgetInt(5)))
text6setText(+rsgetInt(6))
text7setText(+rsgetInt(7))
}
}
rsclose()
stmtclose()
connclose()
}

43 添加模块实现
private class ButtonactionPerformed implements ActionListener
添加钮ButtonactionPerformed添加事件监视器
{
public void actionPerformed(ActionEvent e)
系统输入添加元组信息通添加钮添加数库中factory表
{
x1text1getText()
x2text2getText()
x3text3getText()
x4text4getText()
x5text5getText()
x6text6getText()
x7text7getText()
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
prepstmt1(PreparedStatement) connprepareStatement(INSERT INTO factory(numfacnamerepnametelusefnumusegnumusemoney)
+VALUES())
prepstmt1setString(1 x1)
prepstmt1setString(2 x2)
prepstmt1setString(3 x3)
prepstmt1setString(4 x4)
prepstmt1setString(5 x5)
prepstmt1setString(6 x6)
prepstmt1setString(7 x7)
prepstmt1executeUpdate()
connclose()
}
44 删模块实现
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
x1text1getText()
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
stmtexecuteUpdate(delete from factory where num+x1)
connclose()
}
45 修改模块实现
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
x1text1getText()
x2text2getText()
x3text3getText()
x4text4getText()try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
prepstmt2(PreparedStatement) connprepareStatement(update factory set numusegnumusefnumusemoney where num)
prepstmt2setString(1 x1)
prepstmt2setString(2 x2)
prepstmt2setString(3 x3)
prepstmt2setString(4 x4)
prepstmt2setString(5 x1)
prepstmt2executeUpdate()
prepstmt2close()
connclose()
}
46 生成电费单模块实现
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
facnamesearchgetText()
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from factory )
while(rsnext())
{
if(rsgetString(2)equals(facname))
{
x1rsgetString(5)
x2rsgetString(6)
x3rsgetString(7)
text1setText(rsgetString(5))
text2setText(rsgetString(6))
text3setText(rsgetString(7))
}
}
rsclose()
stmtclose()
connclose()
}



5 代码调试功测试
51 测试方案
(1)分输入户理员查登陆进界面
(2)分户理员查询企业电信息
(3)添加企业电信息
(4)修改企业电信息
(5)删企业电信息
(6)生成电费单

52 测试结果

理员登陆




理员登陆界面




理员登陆查询界面


户登陆查询界面


点击添加界面

输入数

添加成功








点击修改进行修改信息

修改成功

点击删出现界面

删成功




点击生成电费单出现界面


桌面生成电费单

6 收获体会
次课程设计心体会通实践收获:
开始接触数结构课程设计真挺难会逻辑方面问题具备动手力脑子里总团火题目开始想法想逻辑实现编写程序需编写开始难说知道里入手参考书里程序仿结构步步做现单链表种操作已算较熟练知道光理知识远远够需动手写然手擒

二根实中遇问题学程中注意点:
1认真专业实验课实践中锻炼
2写程序程中考虑周严密
3做设计时候信心耐心切勿浮躁
4认真学课知识掌握课中知识点基础学会灵活运
5课余时间里写程序熟练掌握调试程序程中遇常见错误便节省调试程序时间


参考文献
[1] 钱雪忠王燕玲林挺数库原理技术[M]北京:清华学出版社2011
[2] 钱雪忠罗海驰陈国俊数库原理技术课程设计[M]北京:清华学出版社2014

附  录
附录1源程序部分清单
附录11record代码
import javaawt*
import javaawtevent*
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javasqlResultSet
import javasqlStatement
import javaxswing*

public class Record extends JFrame
{
private static final long serialVersionUID 1L
private JLabel usernamepassword
private JTextField username2
private JTextField password2message
private JButton button
private JRadioButton box1box2
private ButtonGroup buttongroup
private String as
private String c
private String b
private int level2
private String juzi

public Record()
{
super(Record)
setSize(300300)
try
{

UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
containersetBackground(ColorlightGray)
containersetLayout(null)
usernamenew JLabel(户名JLabelRIGHT)
passwordnew JLabel( 密码 JLabelRIGHT)
buttongroupnew ButtonGroup()
box1new JRadioButton(员工true)
box2new JRadioButton(理员)
username2new JTextField(20)
password2new JTextField(20)
messagenew JTextField(欢迎企业电理系统)
messagesetHorizontalAlignment(JTextFieldCENTER)
buttonnew JButton(登录)
usernamesetBounds(50 50 50 25)
username2setBounds(100 50 120 25)
passwordsetBounds(50 85 50 25)
password2setBounds(10085 120 25)
messagesetBounds(55160 190 25)
box1setBounds(501205025)
box2setBounds(1101207025)
buttonsetBounds(190 120 60 25)
buttongroupadd(box1)
buttongroupadd(box2)
ButtonactionPerformed buttonernew ButtonactionPerformed()
buttonaddActionListener(buttoner)
RadioButtonHandler handler new RadioButtonHandler()
box1addItemListener(handler)
box2addItemListener(handler)
containeradd(username)
containeradd(username2)
containeradd(password)
containeradd(password2)
containeradd(box1)
containeradd(box2)
containeradd(button)
containeradd(message)

setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}

public static void main(String[] args)
{
Record appnew Record()
appsetLocationRelativeTo(null)
}

private class RadioButtonHandler implements ItemListener
{
public void itemStateChanged(ItemEvent event)
{
if(box1isSelected())
{
messagesetText(员工登录)
level2
}
else if(box2isSelected())
{
messagesetText(理员登录)
level1
}
}
}

private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)登录
{
ausername2getText()
spassword2getText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)

}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull

try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from worker )
if(cequals(a)&&bequals(s))
{
messagesetText(姓名密码空)
}
else if(true)
{
while(rsnext())
{
if(rsgetString(2)equals(a)&& rsgetString(3)equals(s)&&rsgetInt(4)level)
{
messagesetText(数库连接成功)
if(level1)
{
operate2 app2new operate2()
app2setLocationRelativeTo(null)
}
else
{
operate app3new operate()
app3setLocationRelativeTo(null)
}
}
else
{
messagesetText(户名密码者身份正确)
}
}
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
}
附录12 operate代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlResultSet
import javasqlStatement

public class operate extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b2b3b4b5b6
private JLabel c1c2c3c4c5c6c7
private JTextField text1text2text3text4text5text6text7
private JTextField search
private JLabel name
private String facname
public operate()
{
super(operate)
setSize(700400)
try
{
UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
namenew JLabel(输入企业名JLabelRIGHT)
c1new JLabel(企业编号JLabelRIGHT)
c2new JLabel(企业名称JLabelRIGHT)
c3new JLabel(企业代表JLabelRIGHT)
c4new JLabel(企业联系电话JLabelRIGHT)
c5new JLabel(企业谷电量JLabelRIGHT)
c6new JLabel(企业峰电量JLabelRIGHT)
c7new JLabel(企业电费JLabelRIGHT)
b1new JButton(查询)
b2new JButton(取消)
b3new JButton(添加)
b4new JButton(删)
b5new JButton(修改)
b6new JButton(生成电费单)
text1new JTextField(200)
text2new JTextField(200)
text3new JTextField(200)
text4new JTextField(200)
text5new JTextField(200)
text6new JTextField(200)
text7new JTextField(200)
searchnew JTextField(60)
namesetBounds(80 50 100 30)
c1setBounds(80 100 100 30)
c2setBounds(80 130 100 30)
c3setBounds(80 160 100 30)
c4setBounds(80 190 100 30)
c5setBounds(80 220 100 30)
c6setBounds(80 250 100 30)
c7setBounds(80 280 100 30)
searchsetBounds(200 50 100 25)
b1setBounds(370 526025)
b2setBounds(500526025)
b3setBounds(150 3306025)
b4setBounds(250 3306025)
b5setBounds(350 3306025)
b6setBounds(450 33010025)
text1setBounds(20010035030)
text2setBounds(20013035030)
text3setBounds(20016035030)
text4setBounds(20019035030)
text5setBounds(20022035030)
text6setBounds(20025035030)
text7setBounds(20028035030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
ButtonactionPerformed3 buttoner3new ButtonactionPerformed3()
ButtonactionPerformed4 buttoner4new ButtonactionPerformed4()
ButtonactionPerformed5 buttoner5new ButtonactionPerformed5()
ButtonactionPerformed6 buttoner6new ButtonactionPerformed6()
b1addActionListener(buttoner)
b2addActionListener(buttoner2)
b3addActionListener(buttoner3)
b4addActionListener(buttoner4)
b5addActionListener(buttoner5)
b6addActionListener(buttoner6)
containeradd(b1)
containeradd(b2)
containeradd(b3)
containeradd(b4)
containeradd(b5)
containeradd(b6)
containeradd(search)
containeradd(text1)
containeradd(text2)
containeradd(text3)
containeradd(text4)
containeradd(text5)
containeradd(text6)
containeradd(text7)
containeradd(name)
containeradd(c1)
containeradd(c2)
containeradd(c3)
containeradd(c4)
containeradd(c5)
containeradd(c6)
containeradd(c7)
containersetBackground(ColorlightGray)
containersetLayout(null)

setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}

private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
facnamesearchgetText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from factory )
while(rsnext())
{
if(rsgetString(2)equals(facname))
{
text1setText(rsgetString(1))
text2setText(rsgetString(2))
text3setText(rsgetString(3))
text4setText(rsgetString(4))
text5setText(+(rsgetInt(5)))
text6setText(+rsgetInt(6))
text7setText(+rsgetInt(7))
}
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
Systemexit(0)
}
}
private class ButtonactionPerformed3 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
insert app3new insert()
app3setLocationRelativeTo(null)
}
}
private class ButtonactionPerformed4 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
delect app4new delect()
app4setLocationRelativeTo(null)
}
}
private class ButtonactionPerformed5 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
update app5new update()
app5setLocationRelativeTo(null)
}
}
private class ButtonactionPerformed6 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
create app6new create()
app6setLocationRelativeTo(null)
}
}
public static void main(String[] args)
{
operate appnew operate()
appsetLocationRelativeTo(null)
}
}

附录13 operate2代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlResultSet
import javasqlStatement

public class operate2 extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b2b3b4
private JLabel c1c2c3c4c5c6c7d1d2d3d4
private JTextField text1text2text3text4text5text6text7ce1ce2ce3ce4
private JTextField search1search2
private JLabel namename2action1action2
private String facname1facname2

public operate2()
{
super(operate2)
setSize(700600)
try
{

UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
action1new JLabel( 查客户资料JLabelRIGHT)
action2new JLabel( 查户资料JLabelRIGHT)
namenew JLabel(输入企业名JLabelRIGHT)
c1new JLabel(企业编号JLabelRIGHT)
c2new JLabel(企业名称JLabelRIGHT)
c3new JLabel(企业代表JLabelRIGHT)
c4new JLabel(企业联系电话JLabelRIGHT)
c5new JLabel(企业谷电量JLabelRIGHT)
c6new JLabel(企业峰电费JLabelRIGHT)
c7new JLabel(企业电费JLabelRIGHT)
name2new JLabel(输入职工名JLabelRIGHT)
d1new JLabel(职工编号JLabelRIGHT)
d2new JLabel(职工名称JLabelRIGHT)
d3new JLabel(职工密码JLabelRIGHT)
d4new JLabel(职工等级JLabelRIGHT)
b1new JButton(查询)
b2new JButton(取消)
b3new JButton(查询)
b4new JButton(取消)
text1new JTextField(200)
text2new JTextField(200)
text3new JTextField(200)
text4new JTextField(200)
text5new JTextField(200)
text6new JTextField(200)
text7new JTextField(200)
ce1new JTextField(200)
ce2new JTextField(200)
ce3new JTextField(200)
ce4new JTextField(200)
search1new JTextField(60)
search2new JTextField(60)
action1setBounds(20010 200 30)
action2setBounds(200300 200 30)
namesetBounds(80 50 100 30)
name2setBounds(80 330 100 30)
c1setBounds(80 100 100 30)
c2setBounds(80 130 100 30)
c3setBounds(80 160 100 30)
c4setBounds(80 190 100 30)
c5setBounds(80 220 100 30)
c6setBounds(80 250 100 30)
c7setBounds(80 280 100 30)
d1setBounds(80 360 100 30)
d2setBounds(80 390 100 30)
d3setBounds(80 420 100 30)
d4setBounds(80 450 100 30)
search1setBounds(200 50 100 25)
search2setBounds(200 330 100 25)
b1setBounds(370 526025)
b2setBounds(500526025)
b3setBounds(370 3326025)
b4setBounds(5003326025)
text1setBounds(20010035030)
text2setBounds(20013035030)
text3setBounds(20016035030)
text4setBounds(20019035030)
text5setBounds(20022035030)
text6setBounds(20025035030)
text7setBounds(20028035030)
ce1setBounds(20036035030)
ce2setBounds(20039035030)
ce3setBounds(20042035030)
ce4setBounds(20045035030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
ButtonactionPerformed3 buttoner3new ButtonactionPerformed3()
b1addActionListener(buttoner)
b2addActionListener(buttoner2)
b3addActionListener(buttoner3)
b4addActionListener(buttoner2)
containeradd(b1)
containeradd(b2)
containeradd(b3)
containeradd(b4)
containeradd(search1)
containeradd(search2)
containeradd(text1)
containeradd(text2)
containeradd(text3)
containeradd(text4)
containeradd(text5)
containeradd(text6)
containeradd(text7)
containeradd(ce1)
containeradd(ce2)
containeradd(ce3)
containeradd(ce4)
containeradd(name)
containeradd(name2)
containeradd(action1)
containeradd(action2)
containeradd(c1)
containeradd(c2)
containeradd(c3)
containeradd(c4)
containeradd(c5)
containeradd(c6)
containeradd(c7)
containeradd(d1)
containeradd(d2)
containeradd(d3)
containeradd(d4)
containersetBackground(ColorlightGray)
containersetLayout(null)

setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}

private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
facname1search1getText()
try
{
ClassforName(driver)

}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)

}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from factory )
while(rsnext())
{
if(rsgetString(2)equals(facname1))
{
text1setText(rsgetString(1))
text2setText(rsgetString(2))
text3setText(rsgetString(3))
text4setText(rsgetString(4))
text5setText(+(rsgetInt(5)))
text6setText(+rsgetInt(6))
text7setText(+rsgetInt(7))
}
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
Systemexit(0)
}
}
private class ButtonactionPerformed3 implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
facname2search2getText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}




Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from worker )
while(rsnext())
{
if(rsgetString(2)equals(facname2))
{
ce1setText(+rsgetInt(1))
ce2setText(rsgetString(2))
ce3setText(rsgetString(3))
ce4setText(+rsgetInt(4))
}
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
public static void main(String[] args)
{
operate2 addnew operate2()
addsetLocationRelativeTo(null)
}
}

附录14 insert代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlPreparedStatement

public class insert extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b2
private JLabel c1c2c3c4c5c6c7name
private JTextField text1text2text3text4text5text6text7
private String x1x2x3x4x5x6x7
public insert()
{
super(insert)
setSize(700400)
try
{
UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
namenew JLabel( 请输入添客户相关资料JLabelRIGHT)
c1new JLabel(企业编号JLabelRIGHT)
c2new JLabel(企业名称JLabelRIGHT)
c3new JLabel(企业代表JLabelRIGHT)
c4new JLabel(企业联系电话JLabelRIGHT)
c5new JLabel(企业谷电量JLabelRIGHT)
c6new JLabel(企业峰电量JLabelRIGHT)
c7new JLabel(企业电费JLabelRIGHT)
b1new JButton(确定)
b2new JButton(取消)
text1new JTextField(200)
text2new JTextField(200)
text3new JTextField(200)
text4new JTextField(200)
text5new JTextField(200)
text6new JTextField(200)
text7new JTextField(200)
namesetBounds(240 10 200 30)
c1setBounds(80 60 100 30)
c2setBounds(80 90 100 30)
c3setBounds(80 120 100 30)
c4setBounds(80 150 100 30)
c5setBounds(80 180 100 30)
c6setBounds(80 210 100 30)
c7setBounds(80 240 100 30)
b1setBounds(250 2806025)
b2setBounds(4502806025)
text1setBounds(2006035030)
text2setBounds(2009035030)
text3setBounds(20012035030)
text4setBounds(20015035030)
text5setBounds(20018035030)
text6setBounds(20021035030)
text7setBounds(20024035030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
b1addActionListener(buttoner)
b2addActionListener(buttoner2)
containeradd(name)
containeradd(b1)
containeradd(b2)
containeradd(text1)
containeradd(text2)
containeradd(text3)
containeradd(text4)
containeradd(text5)
containeradd(text6)
containeradd(text7)
containeradd(c1)
containeradd(c2)
containeradd(c3)
containeradd(c4)
containeradd(c5)
containeradd(c6)
containeradd(c7)
containersetBackground(ColorlightGray)
containersetLayout(null)

setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
x1text1getText()
x2text2getText()
x3text3getText()
x4text4getText()
x5text5getText()
x6text6getText()
x7text7getText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is
PreparedStatement prepstmt1
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
prepstmt1(PreparedStatement) connprepareStatement(INSERT INTO factory(numfacnamerepnametelusefnumusegnumusemoney)
+VALUES())
prepstmt1setString(1 x1)
prepstmt1setString(2 x2)
prepstmt1setString(3 x3)
prepstmt1setString(4 x4)
prepstmt1setString(5 x5)
prepstmt1setString(6 x6)
prepstmt1setString(7 x7)
prepstmt1executeUpdate()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
operate app4new operate()
app4setLocationRelativeTo(null)
}
}
public static void main(String[] args)
{
insert appnew insert()
appsetLocationRelativeTo(null)
}
}
附录15 delect代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlStatement




public class delect extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b2
private JLabel c1name
private JTextField text1
private String x1
public delect()
{
super(delect)
setSize(700400)
try
{ UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
namenew JLabel( 请输入添删客户企业编号JLabelRIGHT)
c1new JLabel(企业编号JLabelRIGHT)
b1new JButton(确定)
b2new JButton(取消)
text1new JTextField(200)
namesetBounds(240 10 200 30)
c1setBounds(80 60 100 30)
b1setBounds(200 1506025)
b2setBounds(4501506025)
text1setBounds(2006035030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
b1addActionListener(buttoner)
b2addActionListener(buttoner2)
containeradd(name)
containeradd(b1)
containeradd(b2)
containeradd(text1)
containeradd(c1)
containersetBackground(ColorlightGray)
containersetLayout(null)
setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
x1text1getText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
StringdrivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
stmtexecuteUpdate(delete from factory where num+x1)
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
operate app4new operate()
app4setLocationRelativeTo(null)
}
}
public static void main(String[] args)
{
delect appnew delect()
appsetLocationRelativeTo(null)
}
}
附录16 update代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlPreparedStatement
public class update extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b2
private JLabel c1c3c2c4name
private JTextField text1text2text3text4
private String x1x2x3x4
public update()
{
super(update)
setSize(700400)
try
{
UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
namenew JLabel( 请输入添修改客户企业编号相关信息JLabelRIGHT)
c1new JLabel(企业编号JLabelRIGHT)
c2new JLabel(企业谷电量JLabelRIGHT)
c3new JLabel(企业峰电量JLabelRIGHT)
c4new JLabel(企业电费JLabelRIGHT)
b1new JButton(确定)
b2new JButton(取消)
text1new JTextField(200)
text2new JTextField(200)
text3new JTextField(200)
text4new JTextField(200)
namesetBounds(150 10 300 30)
c1setBounds(200 60 100 30)
c2setBounds(200 90 100 30)
c3setBounds(200 120 100 30)
c4setBounds(200 150 100 30)
b1setBounds(250 2106025)
b2setBounds(3502106025)
text1setBounds(3006010030)
text2setBounds(3009010030)
text3setBounds(30012010030)
text4setBounds(30015010030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
b1addActionListener(buttoner)
b2addActionListener(buttoner2)
containeradd(name)
containeradd(b1)
containeradd(b2)
containeradd(text1)
containeradd(text2)
containeradd(text3)
containeradd(text4)
containeradd(c1)
containeradd(c2)
containeradd(c3)
containeradd(c4)
containersetBackground(ColorlightGray)
containersetLayout(null)

setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
x1text1getText()
x2text2getText()
x3text3getText()
x4text4getText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
PreparedStatement prepstmt2
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
prepstmt2(PreparedStatement) connprepareStatement(update factory set numusegnumusefnumusemoney where num)
prepstmt2setString(1 x1)
prepstmt2setString(2 x2)
prepstmt2setString(3 x3)
prepstmt2setString(4 x4)
prepstmt2setString(5 x1)
prepstmt2executeUpdate()
prepstmt2close()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
operate app4new operate()
app4setLocationRelativeTo(null)
}
}
public static void main(String[] args)
{
update appnew update()
appsetLocationRelativeTo(null)
}
}
附录17 create代码
import javaawtColor
import javaawtContainer
import javaawteventActionEvent
import javaawteventActionListener
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javaxswingJButton
import javaxswingJFrame
import javaxswingJLabel
import javaxswingJTextField
import javaxswingUIManager
import javasqlResultSet
import javasqlStatement
import javaioPrintWriter
import javaioFileNotFoundException
public class create extends JFrame
{
private static final long serialVersionUID 1L
private JButton b1b6
private JLabel c1c2c3
private JTextField text1text2text3
private JTextField search
private JLabel name
private String facnamex1x2x3x4
public create()
{
super(create)
setSize(600400)
try
{
UIManagersetLookAndFeel(UIManagergetSystemLookAndFeelClassName())
}catch(Exception e){}
Container containergetContentPane()
namenew JLabel(输入企业名JLabelRIGHT)
c1new JLabel(企业谷电量JLabelRIGHT)
c2new JLabel(企业峰电量JLabelRIGHT)
c3new JLabel(企业电费JLabelRIGHT)
b1new JButton(查询)
b6new JButton(生成电费单)
text1new JTextField(200)
text2new JTextField(200)
text3new JTextField(200)
searchnew JTextField(60)
namesetBounds(80 50 100 30)
c1setBounds(80 100 100 30)
c2setBounds(80 130 100 30)
c3setBounds(80 160 100 30)
searchsetBounds(200 50 100 25)
b1setBounds(320 526025)
b6setBounds(230 20010025)
text1setBounds(20010018030)
text2setBounds(20013018030)
text3setBounds(20016018030)
ButtonactionPerformed buttonernew ButtonactionPerformed()
ButtonactionPerformed2 buttoner2new ButtonactionPerformed2()
b1addActionListener(buttoner)
b6addActionListener(buttoner2)
containeradd(b1)
containeradd(b6)
containeradd(search)
containeradd(text1)
containeradd(text2)
containeradd(text3)
containeradd(name)
containeradd(c1)
containeradd(c2)
containeradd(c3)
containersetBackground(ColorlightGray)
containersetLayout(null)
setVisible(true)
setDefaultCloseOperation(JFrameEXIT_ON_CLOSE)
}
private class ButtonactionPerformed implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
facnamesearchgetText()
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
rs(ResultSet)stmtexecuteQuery(select * from factory )
while(rsnext())
{
if(rsgetString(2)equals(facname))
{
x1rsgetString(5)
x2rsgetString(6)
x3rsgetString(7)
text1setText(rsgetString(5))
text2setText(rsgetString(6))
text3setText(rsgetString(7))
}
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}
private class ButtonactionPerformed2 implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
try
{
x4searchgetText()
PrintWriter fnew PrintWriter (C户Administrator桌面电费单txt)
fprintln( +x4+企业电费单 )
fprintln( )
fprintln( )
fprintln( 谷电量 +x1)
fprintln( )
fprintln( 峰电量 +x2)
fprintln( )
fprintln( 企业电费 +x3)
fclose()
}
catch(FileNotFoundException e)
{
Systemoutprintln(发生异常)
}
}
}
public static void main(String[] args)
{
create appnew create()
appsetLocationRelativeTo(null)
}
}
附录18 test代码
import javasqlConnection
import javasqlDriverManager
import javasqlSQLException
import javasqlResultSet
import javasqlStatement
public class test {
public test(){
try
{
ClassforName(driver)
}
catch(ClassNotFoundException arg0)
{
Systemoutprint(class not find exception occur message is)
}
try{
ClassforName(driver)加载驱动
}
catch(ClassNotFoundException event){Systemoutprint(class not find exception occur message is)}
Statement stmt
ResultSet rs
String urljdbcsqlserverlocalhost1433 DatabaseName企业电
String drivercommicrosoftsqlserverjdbcSQLServerDriver
String usersa
String password123456
Connection connnull
try
{
connDriverManagergetConnection(url user password)
connsetAutoCommit(true)
Systemoutprintln(数库已建立连接)
stmt(Statement) conncreateStatement()
int a1000
rs(ResultSet)stmtexecuteQuery(select * from worker )

while(rsnext())
{
if(rsgetInt(1)a) Systemoutprintln(数库连接成功)
}
rsclose()
stmtclose()
connclose()
}
catch(SQLException eb)
{
Systemoutprint(SQL exception occur message is)
Systemoutprint(ebgetMessage())
}
}
}


文档香网(httpswwwxiangdangnet)户传

《香当网》用户分享的内容,不代表《香当网》观点或立场,请自行判断内容的真实性和可靠性!
该内容是文档的文本内容,更好的格式请下载文档

下载文档,方便阅读与编辑

文档的实际排版效果,会与网站的显示效果略有不同!!

需要 3 香币 [ 分享文档获得香币 ]

该文档为用户出售和定价!

购买文档

相关文档

课程设计实训小结

课程设计实训小结  这次数据库课程设计做的还是很成功的,功能全部基本都实现了。在做的过程中出现过几次小问题,搞了很长时间才做通的。做完这次课设之后,回顾起来,数据库课设其实挺简单的。只不过以为我们以往的不深入的探究,只看表面一堆堆的代码就感觉很难很难,实际上代码不要我们写,照着模板做,一通百通,就ok了,正是因为我们的这种畏惧的敬而远之的心态导致我们数据库课程始终都是初学状态,没有一点长进,

临***9 12年前 上传745   0

物业管理系统课程设计报告

物业管理系统课程设计报告目 录第一章 前 言 11. 物业管理系统研究的意义 12. 数据库开发简介 13. asp.net简介 2第二章 数据库设计 31.选择数据库管理系统 32.数据流图 32.1 住户管理 32.2 财政管理 32.3 设备管理 42.4 投诉信息管理 42.5 物业管理 52.6系统功能结构图 53.数据字典 63.1数据项

文***享 3年前 上传922   0

某中学的排课管理系统课程设计报告

学号《某中学的排课管理系统》课程设计报告题目:某中学的排课管理系统专业:网络工程班级:姓名:指导教师:成绩:计算机学院2017年X月X日目录一、 设计内容及要求 21.1研究的目的和意义 21.2数据字典 21.3全系统的数据项 31.4数据流图 4二、 概要设计 42.1E-R图 4学生实体E-R图 42.

文***享 1年前 上传345   0

c++超市管理系统课程设计报告

c++超市管理系统课程设计报告第1章 任务描述本次C++实践课题为“超市管理系统”。要求功能有A、添加商品信息,有商品编号、商品名、供应商代号、进货价、售出价、存货数等。进货:若商品已存在,只需修改存货数;若不存在,需增加新纪录。B、售出:输入商品编号,修改相应的存货数与销售额。C、查询:查询商品,销售额。

文***品 2年前 上传596   0

教务管理系统数据库课程设计报告

 《数据库原理》课程设计报告课程名称: 《数据库原理》课程设计 设计题目: 《教务管理系统》 指导教师: 班 级:   学 号: 学生姓名:

文***享 1年前 上传342   0

车辆管理系统实验报告课程设计

 成绩: 《C++程序设计实践》报告专 业: 软件工程 班 级: 学 号: 姓 名: 日期:2016年 X月 X日目录一、设计目的 1二、总体设计 2三、 详细设计(以c

z***u 1年前 上传344   0

《通风空调系统实训》课程标准

《通风空调系统实训》课程标准教 学 单 位:轨道交通系制 订 人: 审 定 人: 教务处制年 月 日1一、 课程基本情况1 课程信息表课程名称通风空调系统实训开课部门机电教研室课程代码课程类型实践课程学时48课

断***份 4年前 上传694   0

实训7 操作系统安装和磁盘管理实训报告

实训7 操作系统安装和磁盘管理实训报告实训内容安装操作系统,利用操作系统自带工具进行磁盘分区、格式化。实训要求1. 熟悉操作系统安装方法2. 熟练利用操作系统自带工具进行磁盘分区和格式化3.了解操作系统安装过程中各项设置的含义实 训 数 据 记 录实训操作系统版本:一、安装操作系统1.设置BIOS,将CD-ROM设为第一启动设备。步骤简述:开机,按DEL进入BIOS,点击

H***t 4年前 上传1119   0

Windows Server系统管理实训报告

江西现代职业技术学院Windows Server系统管理实训报告姓 名 郑济青 学 号 190628590240 学 院 信息工程学院 专 业 计算机网络技术 班 级 19计算机网络(网工)二班 指导教师 王 勉一、 实训目的通过在VMWare中Windo

书***辞 4年前 上传2247   0

基于UML的图书管理系统设计课程设计

滨江学院 统一建模语言课程设计报告( 2013 -- 2014 年度第 二 学期)课程名称: 统一建模语言课程设计 题 目: 图书馆管理系统 院 系: 计算机系 班 级: 学 号: 姓 名:

文***品 1年前 上传506   0

学生成绩管理系统设计课程设计

学生成绩管理系统设计目 录引言 1 系统概述 1.1 系统功能

z***u 2年前 上传397   0

企业管理实训报告

企业管理实训报告  通过本次实训,使我们了解了企业管理决策的基本思想及流程,并充分理解管理过程中团队精神的体现、哲学思维的运用、个性能力的渗透、诚信原则的坚持和职业定位的思考等,全面提高我们发现问题、分析问题、解决问题的能力,从而实现战略规划、资金筹集、市场营销、产品研发、生产组织、物资采集、设备投资与改造、财务核算与管理等企业管理决策内容的全面认识。   一.六年分析   在第一年

袁***露 10年前 上传413   0

软件项目管理之学生管理系统课程设计

 课程设计课程名称:软件项目管理 设计题目:学生管理系统项目工作计划 学 院:信息工程与自动化学院 专 业:计算机科学与技术 年 级:2008级 学生姓名:

文***享 1年前 上传471   0

Webform实训报告 网上花店系统

 Webform实训     网上花店      组    长        姜雪           组    员 米硕 李斌 辛港 李宇飞  班    级       09高职                 任课教师        那一沙           完成时间: 2011 年  12 月  26  日     目录     绪言。。。。。。。。。。

m***3 12年前 上传11952   0

舞伴配对系统实训报告

舞伴配对系统本题目设计目的是训练本人的基本编程能力,了解数据结构C++实现系统的开发流程,掌握数据结构和熟悉C++语言的面向对象各种基本操作。本程序中涉及结构体、单链表、类等方面的知识。通过本程序的训练,使本人能对C++语言的类操作有一个更深刻的了解,为进一步开发出高质量的有关数据结构方面系统打下坚实的基础。1、问题定义【内容与要求】假设在周末舞会上,男士们和女士们进入舞厅时,各自

文***品 3年前 上传805   0

《SQL-Server-数据库设计》课程设计报告(图书馆管理系统)

《SQL Server 数据库设计》课程设计报告课题名称:图书馆管理系统_班级:_ 软大班____学号:_ __姓名:___ ___完成日期:_2011-X-X_ _课程设计报告内容项目名称图书馆管理系统数据库设计姓名其他参与人员本人在本 项目中主要完成的工作系统需求分析系统功能分析

文***品 3年前 上传794   0

XX加工厂供配电系统设计供配电系统设计报告课程设计

xx大学 供配电系统设计报告 课 题 某加工厂供配电系统设计 专业班级 自动化**** 姓 名 *** 学 号 ***** 指导老师

文***品 4年前 上传1219   0

人力资源管理系统数据库设计《数据库系统原理》课程设计报告

《数据库系统原理》课程设计报告项目名称:人力资源管理系统数据库设计专 业: 计算机科学与技术 年 级: 姓 名: 学 号: 指导老师: (副

文***享 2年前 上传486   0

住宅设计实训报告

这次实训定位为某小区住宅楼五口之家,中等收入,有一定的文化修养。两位老人已退休,男主人在政府机关任职,女主人为大学教师,有一个10岁的儿子。我给的设计风格自由无拘,温馨可佳,适合大众的家居,想必很适合雇主的要求! 设计图纸中包括四张平面图,六张立面图,还有三张效果图,一目了然,对各种家具的要求,材料在图纸中均有提到。      在设计过程中,根据需求,将住宅隔成一个主卧室、卧室、儿童房、客厅

6***7 13年前 上传15701   0

文档管理实训报告

文档管理实训报告  通过两周的文档管理实训,不仅仅是巩固了课堂的理论知识,弄清模糊知识点,扩充知识;而且提高了文书文书处理,档案整理等档案工作的日常工作实操能力;更重要的是通过实训培养自身严谨细致的工作作风和良好的沟通合作能力。为了总结经验,现将本次实训报告如下:  一、 实训任务  ① 判断所给材料是否应该归档,如何分类组卷  ② 档案材料装订练习  ③ 电子文档工作介绍及

x***8 9年前 上传753   0

运输管理实训报告

运输管理实训报告  一、 实训时间:XX年12月26日—12月30日  二、 实训地点:教室  三、 实训目的:  1通过运输管理的实训,熟悉并掌握现代运输管理的整个作业过程。掌握运输作业的方法和原则。  2为了更好的学习运输管理知识,巩固所学理论,获取本专业的实际知识,培养初步的实际工作能力和专业技能。  四、 实训内容:  (一)各种运输方式的特点——熟悉各种运输

l***o 10年前 上传826   0

考勤管理系统课程设计

考勤管理系统课程设计一、背景 2二、可行性分析 22.1技术可行性 22.2 经济可行性 22.3 操作可行性 22.4结论意见 3三、需求分析 33.1功能需求 33.2 性能需求 33.3 全局分析 43.4系统现状 43.5系统功能结构 53.6系统业务流程图 53.7系统数据流程图 63.8数据字典 6四、总体设计 74.1数据库 74.2系统窗口 8

z***u 2年前 上传470   0

物流管理信息系统课程设计

湖南长沙家润多超市是由全国零售业前十强企业湖南友谊阿波罗股份全资控股的子公司。公司的第一家门店于2000年9月28日在长沙市朝阳区开业,至今在湖南省拥有家润多朝阳店、千喜店、赤岗冲店、常德店、益阳店、岳阳店、浏阳店、吉首店、衡阳店、郴州店等多家大型超市。家润多超市从2000年10月开始在其供给商中间推广9448-SCM供给链管理解决方案。家润多的供给商可通过9448网站的供给链管理平台,共同分享销售、库存、结算等商业数据,共同进行品类分析和管理。该平台在家润多超市1352家供给商中,推广率到达91%。该平台不仅帮助家润多超市节省了大量的结算人力,也让供给商体会到了网络技术带来的便捷。

0***狗 2年前 上传757   0

教师管理系统(数据库)课程设计

数据库技术与应用(SQLServer2005)课 程 设 计题 目教师管理系统 组 员 班 级计科班学 院信息科学与工程学院指导教师 2012年 X 月 X 日任务分配表第 ** 组学号姓名负责部分成绩组长 完成需求分析、概念逻辑结 构设计和运行、维护

文***品 3年前 上传1448   0

医院管理系统数据库课程设计

医院管理系统数据库课程设计内容摘要数据库的设计是指对一个给定的应用环境,构造数据库模式,建立数据库及其应用系统,满足各种用户需求。作为信息资源开发、管理和服务的一种有效的手段,数据库技术的应用已越来越广泛,从小型的单项事务处理系统到大型的信息系统大都用先进的数据库技术来保持系统数据的安全性、完整性和共享性。对一个实际的系统来说,数据库表的设计在遵循数据库理论的同时,必须能用开发工具来实现用户

z***u 2年前 上传522   0