高校学生就业管理系统.doc





《高校学生就业管理系统.doc》由会员分享,可在线阅读,更多相关《高校学生就业管理系统.doc(13页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、如有侵权,请联系网站删除,仅供学习与交流高校学生就业管理系统【精品文档】第 11 页目录一、题目概述(内容及要求)1二、需求分析12.1高校就业管理系统12.2高校就业管理系统数据流图12.3高校就业系统管理系统功能框图1三、概要设计23.1数据模型(E-R图)23.2数据库表格结构设计2四、详细设计34.1登录界面34.2修改界面54.3查询界面10五、软件测试155.1划分等价类并编号155.2有效测试用例155.3无效测试用例16六、总结16参考文献16一、题目概述(内容及要求)实现院系、专业、毕业生信息管理(设有就业标志,初值为待业); 实现职业类型、职业信息(职业号、类型号、需求数量
2、、聘用数量、用 人单位)登记; 实现毕业生就业登记(学号、职业号),自动修改相应学生的就业标志 和职业的聘用数量,并保证聘用数量不大于需求数量; 创建存储过程查询毕业生的人数、待业人数、就业人数和就业率; 创建存储过程查询各专业的毕业生就业率; 创建 check 约束限制毕业生性别必须为男或女; 建立表间关系。二、需求分析2.1高校就业管理系统高校就业管理系统化可以完成对学生信息的修改、查询(就业率,已就业信息,未就业信息,公司信息)、添加(学生基本信息,院系信息,公司信息)、退出功能。初步完成了对高校就业信息的管理,界面设计简洁,使用简单。2.2高校就业管理系统数据流图图2.1 高校就业管理
3、系统数据流图2.3高校就业系统管理系统功能框图图2.2 高校就业系统管理系统功能框图三、概要设计3.1数据模型(E-R图)图3 高校学生就业管理E_R图3.2数据库表格结构设计表3.1 学院信息表列 名数据类型是否为空说明院系编号char(4)NOT NULL主键院系名称char(20)NULL表3.2 专业信息表列 名数据类型是否为空说明专业编号char(6)NOT NULL 主键专业名称char(20)NULL表3.3 员工信息表列名数据类型是否为空说明学号char(10)NULL职业号char(10)NULL表3.4 用户信息表列名数据类型是否为空说明用户名char(10)NULL密码c
4、har(10)NULL权限char(10)NULL表3.5 用人单位信息表列名数据类型是否为空说明职业号char(10)NOT NULL主键类型号char(10)NULL需求数量intNULL聘用数量intNULL用人单位char(20)NULL表3.6 学生信息表列名数据类型是否为空说明姓名char(20)NULL性别char(2)NOT NULLCheck(男,女)出生年月char(10)NULL籍贯char(20)NULL专业编号char(6)NULL院系编号char(4)NULL就业标志char(20)NULL初值为“待就业”表3.7 职业信息表列名数据类型是否为空说明类型号char(
5、10)NULL主键类型名称char(20)NULL四、详细设计4.1登录界面登陆界面的设计如图4.1所示:图4.1 登陆界面设计代码如下:private void button1_Click(object sender, EventArgs e) if (textBox1.Text != ) if (textBox2.Text != ) DataConnection.getConn(); string id = textBox1.Text.Trim(); string pwd = textBox2.Text.Trim(); string sql = select count(*) from l
6、ogin where 用户名= + id + and 密码= + pwd + ; int state = DataConnection.GetCountInfoBySql(sql); if (state = 0 | state 1) MessageBox.Show(用户名或密码错误!); else Form1 f2 = new Form1(); f2.Show(); this.Hide(); DataConnection.CloseConn(); else MessageBox.Show(密码为空!请输入.); else MessageBox.Show(用户名为空!请输入.); private
7、 void button2_Click(object sender, EventArgs e) textBox1.Text = ; textBox2.Text = ;4.2修改界面修改界面的设计如图4.2所示:图4.2 修改界面设计代码如下:private void button7_Click(object sender, EventArgs e) if (textBox1.Text != ) string id = textBox1.Text.Trim(); if (radioButton3.Checked = true) if (comboBox1.Text != ) if (comboB
8、ox4.Text != ) string a = select sum(需求数量) from profesion_student,type where profesion_student.类型号=type.类型号 and profesion_student.用人单位= + comboBox1.Text.Trim() + and 类型名称= + comboBox4.Text.Trim() + ; int b = DataConnection.GetCountInfoBySql(a); a = select sum(聘用数量) from profesion_student,type where p
9、rofesion_student.类型号=type.类型号 and profesion_student.用人单位= + comboBox1.Text.Trim() + and 类型名称= + comboBox4.Text.Trim() + ; int c = DataConnection.GetCountInfoBySql(a); if (c 0) sql= delete from employment where 学号= + id + ; int f = DataConnection.UpdateDate(sql); sql = select count(*) from employment
10、 where 职业号= + s + ; int d = DataConnection.GetCountInfoBySql(sql); sql = update profesion_student set 聘用数量= + d + where 职业号= + s + ; DataConnection.UpdateDate(sql); else MessageBox.Show(学号为空!请输入.);private void tabPage2_Click(object sender, EventArgs e) comboBox2.Items.Clear(); comboBox1.Items.Clear(
11、); comboBox4.Items.Clear(); comboBox6.Items.Clear(); radioButton3.Checked = false; radioButton1.Checked = false; radioButton2.Checked = false; radioButton4.Checked = false; string sql = select 专业名称 from department order by 专业编号 asc; SqlDataReader dr = DataConnection.GetSqlDataReader(sql); while (dr.
12、Read() comboBox2.Items.Add(dr专业名称); sql = select distinct 用人单位 from profesion_student; dr = DataConnection.GetSqlDataReader(sql); while (dr.Read() comboBox1.Items.Add(dr用人单位); sql = select 类型名称 from dbo.type; dr = DataConnection.GetSqlDataReader(sql); while (dr.Read() comboBox4.Items.Add(dr类型名称); sq
13、l = select 院系名称 from academy order by 院系编号 asc; dr = DataConnection.GetSqlDataReader(sql); while (dr.Read() comboBox6.Items.Add(dr院系名称); if (textBox1.Text != ) string id = textBox1.Text.Trim(); string sql1 = select 姓名 from student_info where 学号= + id + ; textBox2.Text = DataConnection.GetDataString(
14、sql1); sql1 = select 性别 from student_info where 学号= + id + ; string s = DataConnection.GetDataString(sql1); if (s = 男) radioButton4.Checked = true; if (s = 女) radioButton1.Checked = true; sql1 = select 出生年月 from student_info where 学号= + id + ; textBox3.Text = DataConnection.GetDataString(sql1); sql1
15、 = select 籍贯 from student_info where 学号= + id + ; textBox4.Text = DataConnection.GetDataString(sql1); sql1 = select 专业名称 from student_info,department where student_info.专业编号=department.专业编号 and 学号= + id + ; comboBox2.Text = DataConnection.GetDataString(sql1); sql1 = select 院系名称 from student_info,aca
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 高校学生 就业 管理 系统

限制150内