标签:bsp 数据管理 业务流 nbsp version insert 程序 web应用 pytho
大家好,我是全微毕设团队的创始人,本团队擅长JAVA(SSM,SSH,SPRINGBOOT)、PYTHON、PHP、C#、安卓等多项技术。
今天将为大家分析一个高校公选课管理信息系统,本系统的设计是基于php技术+mysql数据库+apache服务器的方式设计,以zendstudio为开发工具,并运用Photoshop CS6技术美化网页,辅之以CSS技术,系统是基于面向对象编程的web应用程序。
随着在校大学生人数的不断增加,教务系统的数据量也不断的上涨。针对学生选课这一环节,本系统从学生网上自主选课以及教师的课程发布两个大方面进行了设计,基本实现了学生的在线成绩信息查询、选课功能以及教师对课程信息发布的管理等功能,另外也初步解决了教师在课程信息发布管理上的权限问题。
本系统是根据高校学生的课程选课等相关的业务流程等需求设计并实现。过去使用传统人工的方式管理学生选课,这种管理方式存在着许多缺点,如:效率低、保密性差,另外时间一长,将产生大量的文件和数据,这对于查找、更新和维护都带来了不少的困难。如今采用计算机进行信息化数据管理,提高了管理的方便性、安全性等,也适应了当今社会信息化高速发展的特征。
sql建表语句
/* Navicat MySQL Data Transfer Source Server : localhost_3306 Source Server Version : 50146 Source Host : localhost:3306 Source Database : phpgxgxkglxxxtdzkfa8 Target Server Type : MYSQL Target Server Version : 50146 File Encoding : 65001 Date: 2017-04-11 20:41:39 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `allusers` -- ---------------------------- DROP TABLE IF EXISTS `allusers`; CREATE TABLE `allusers` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `username` VARCHAR(50) DEFAULT NULL, `pwd` VARCHAR(50) DEFAULT NULL, `cx` VARCHAR(50) DEFAULT ‘普通管理员‘, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of allusers -- ---------------------------- INSERT INTO `allusers` VALUES (‘2‘, ‘hsg‘, ‘hsg‘, ‘超级管理员‘, ‘2017-04-03 07:46:56‘); -- ---------------------------- -- Table structure for `banji` -- ---------------------------- DROP TABLE IF EXISTS `banji`; CREATE TABLE `banji` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `banji` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of banji -- ---------------------------- INSERT INTO `banji` VALUES (‘2‘, ‘计算机2012‘, ‘2017-04-03 08:48:10‘); INSERT INTO `banji` VALUES (‘4‘, ‘财务2012‘, ‘2017-04-03 09:50:37‘); INSERT INTO `banji` VALUES (‘5‘, ‘金融2013‘, ‘2017-04-03 22:11:56‘); -- ---------------------------- -- Table structure for `jiaoshixinxi` -- ---------------------------- DROP TABLE IF EXISTS `jiaoshixinxi`; CREATE TABLE `jiaoshixinxi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `gonghao` VARCHAR(50) DEFAULT NULL, `mima` VARCHAR(50) DEFAULT NULL, `xingming` VARCHAR(50) DEFAULT NULL, `xingbie` VARCHAR(50) DEFAULT NULL, `zhicheng` VARCHAR(50) DEFAULT NULL, `shouji` VARCHAR(50) DEFAULT NULL, `youxiang` VARCHAR(50) DEFAULT NULL, `beizhu` VARCHAR(500) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of jiaoshixinxi -- ---------------------------- INSERT INTO `jiaoshixinxi` VALUES (‘2‘, ‘001‘, ‘001‘, ‘王教授‘, ‘男‘, ‘副教授‘, ‘13999999999‘, ‘dfa@dfafd.com‘, ‘afaf‘, ‘2017-04-03 08:51:19‘); INSERT INTO `jiaoshixinxi` VALUES (‘3‘, ‘002‘, ‘002‘, ‘李老师‘, ‘女‘, ‘教授‘, ‘13888888888‘, ‘ddkkd@dkdkd.com‘, ‘fdfadfaafdadfadf‘, ‘2017-04-03 09:51:07‘); INSERT INTO `jiaoshixinxi` VALUES (‘4‘, ‘003‘, ‘003‘, ‘何老师‘, ‘女‘, ‘副教授‘, ‘13888888888‘, ‘dafa@dkdk.com‘, ‘‘, ‘2017-04-03 22:11:03‘); -- ---------------------------- -- Table structure for `kaoqinxinxi` -- ---------------------------- DROP TABLE IF EXISTS `kaoqinxinxi`; CREATE TABLE `kaoqinxinxi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `xuehao` VARCHAR(50) DEFAULT NULL, `riqi` VARCHAR(50) DEFAULT NULL, `kaoqinleixing` VARCHAR(50) DEFAULT NULL, `kaoqinshiyou` VARCHAR(500) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of kaoqinxinxi -- ---------------------------- INSERT INTO `kaoqinxinxi` VALUES (‘2‘, ‘666‘, ‘2017-04-03‘, ‘迟到‘, ‘adfadfa‘, ‘2017-04-03 22:17:28‘); -- ---------------------------- -- Table structure for `kechengxinxi` -- ---------------------------- DROP TABLE IF EXISTS `kechengxinxi`; CREATE TABLE `kechengxinxi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `kechengbianhao` VARCHAR(50) DEFAULT NULL, `kechengmingcheng` VARCHAR(50) DEFAULT NULL, `xueshi` VARCHAR(50) DEFAULT NULL, `xuefen` VARCHAR(50) DEFAULT NULL, `kechengjianjie` VARCHAR(500) DEFAULT NULL, `shangkeshijian` VARCHAR(50) DEFAULT NULL, `renkelaoshi` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of kechengxinxi -- ---------------------------- INSERT INTO `kechengxinxi` VALUES (‘2‘, ‘14878113616868‘, ‘课程一‘, ‘2‘, ‘2‘, ‘affafdafd‘, ‘2017-02-24 08:56:21‘, ‘001‘, ‘2017-04-03 08:56:26‘); INSERT INTO `kechengxinxi` VALUES (‘3‘, ‘14878147412399‘, ‘adfadf‘, ‘2‘, ‘2‘, ‘adadfadf‘, ‘2017-02-25 09:52:26‘, ‘002‘, ‘2017-04-03 09:52:34‘); INSERT INTO `kechengxinxi` VALUES (‘4‘, ‘14912290829696‘, ‘adfa‘, ‘2‘, ‘2‘, ‘adfafd‘, ‘2017-04-10 22:18:07‘, ‘001‘, ‘2017-04-03 22:18:12‘); -- ---------------------------- -- Table structure for `liuyanban` -- ---------------------------- DROP TABLE IF EXISTS `liuyanban`; CREATE TABLE `liuyanban` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `zhanghao` VARCHAR(50) DEFAULT NULL, `zhaopian` VARCHAR(50) DEFAULT NULL, `xingming` VARCHAR(50) DEFAULT NULL, `liuyan` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `huifu` VARCHAR(50) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of liuyanban -- ---------------------------- INSERT INTO `liuyanban` VALUES (‘1‘, ‘555‘, ‘‘, ‘‘, ‘afdaf‘, ‘2017-04-03 09:39:29‘, ‘adfafda‘); INSERT INTO `liuyanban` VALUES (‘2‘, ‘666‘, ‘‘, ‘‘, ‘afdadf‘, ‘2017-04-03 22:20:28‘, NULL); -- ---------------------------- -- Table structure for `xinwentongzhi` -- ---------------------------- DROP TABLE IF EXISTS `xinwentongzhi`; CREATE TABLE `xinwentongzhi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `biaoti` VARCHAR(500) CHARACTER SET gb2312 DEFAULT NULL, `leibie` VARCHAR(50) CHARACTER SET gb2312 DEFAULT NULL, `neirong` text CHARACTER SET gb2312, `tianjiaren` VARCHAR(50) CHARACTER SET gb2312 DEFAULT NULL, `addtime` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP, `shouyetupian` VARCHAR(50) DEFAULT NULL, `dianjilv` INT(11) DEFAULT ‘1‘, `zhaiyao` VARCHAR(800) CHARACTER SET gb2312 DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=228 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of xinwentongzhi -- ---------------------------- INSERT INTO `xinwentongzhi` VALUES (‘221‘, ‘通知公告1‘, ‘通知公告‘, ‘通知公告1‘, ‘hsg‘, ‘2017-04-03 08:52:51‘, ‘‘, ‘6‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘222‘, ‘fafddaf‘, ‘通知公告‘, ‘dafadfadfa‘, ‘hsg‘, ‘2017-04-03 09:51:54‘, ‘uploadfile/1487814712zi5a.doc‘, ‘2‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘223‘, ‘fafda‘, ‘通知公告‘, ‘adffafda‘, ‘hsg‘, ‘2017-04-03 22:11:37‘, ‘‘, ‘1‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘224‘, ‘adfaf‘, ‘通知公告‘, ‘afdadf‘, ‘hsg‘, ‘2017-04-03 22:17:05‘, ‘‘, ‘1‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘225‘, ‘fafd‘, ‘通知公告‘, ‘afa‘, ‘001‘, ‘2017-04-03 22:19:19‘, ‘‘, ‘2‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘226‘, ‘affaf‘, ‘通知公告‘, ‘daddfafd‘, ‘001‘, ‘2017-04-03 22:28:08‘, ‘‘, ‘1‘, NULL); INSERT INTO `xinwentongzhi` VALUES (‘227‘, ‘afdafd‘, ‘通知公告‘, ‘adfadf‘, ‘001‘, ‘2017-04-03 22:33:25‘, ‘‘, ‘1‘, NULL); -- ---------------------------- -- Table structure for `xuankejilu` -- ---------------------------- DROP TABLE IF EXISTS `xuankejilu`; CREATE TABLE `xuankejilu` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `kechengbianhao` VARCHAR(50) DEFAULT NULL, `kechengmingcheng` VARCHAR(50) DEFAULT NULL, `shangkeshijian` VARCHAR(50) DEFAULT NULL, `renkelaoshi` VARCHAR(50) DEFAULT NULL, `xuankeren` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of xuankejilu -- ---------------------------- INSERT INTO `xuankejilu` VALUES (‘2‘, ‘14878113616868‘, ‘课程一‘, ‘2017-02-24 08:56:21‘, ‘001‘, ‘555‘, ‘2017-04-03 09:09:55‘); INSERT INTO `xuankejilu` VALUES (‘3‘, ‘14878147412399‘, ‘adfadf‘, ‘2017-02-25 09:52:26‘, ‘002‘, ‘888‘, ‘2017-04-03 09:54:15‘); INSERT INTO `xuankejilu` VALUES (‘4‘, ‘14912290829696‘, ‘adfa‘, ‘2017-04-10 22:18:07‘, ‘001‘, ‘666‘, ‘2017-04-03 22:19:58‘); -- ---------------------------- -- Table structure for `xueshengxinxi` -- ---------------------------- DROP TABLE IF EXISTS `xueshengxinxi`; CREATE TABLE `xueshengxinxi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `xuehao` VARCHAR(50) DEFAULT NULL, `mima` VARCHAR(50) DEFAULT NULL, `xingming` VARCHAR(50) DEFAULT NULL, `xingbie` VARCHAR(50) DEFAULT NULL, `banji` VARCHAR(50) DEFAULT NULL, `shouji` VARCHAR(50) DEFAULT NULL, `youxiang` VARCHAR(50) DEFAULT NULL, `beizhu` VARCHAR(500) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of xueshengxinxi -- ---------------------------- INSERT INTO `xueshengxinxi` VALUES (‘2‘, ‘555‘, ‘555‘, ‘小张‘, ‘男‘, ‘计算机2012‘, ‘13555555555‘, ‘dfa@dfafd.com‘, ‘‘, ‘2017-04-03 08:52:10‘); INSERT INTO `xueshengxinxi` VALUES (‘3‘, ‘888‘, ‘888‘, ‘小谢‘, ‘女‘, ‘财务2012‘, ‘13888888888‘, ‘ddkkd@dkdkd.com‘, ‘三十功名尘与土‘, ‘2017-04-03 09:51:34‘); INSERT INTO `xueshengxinxi` VALUES (‘4‘, ‘666‘, ‘666‘, ‘小吴‘, ‘男‘, ‘计算机2012‘, ‘13999999999‘, ‘adf@dfa.com‘, ‘afdaf‘, ‘2017-04-03 22:11:28‘); -- ---------------------------- -- Table structure for `xueshengzuoye` -- ---------------------------- DROP TABLE IF EXISTS `xueshengzuoye`; CREATE TABLE `xueshengzuoye` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `kechengbianhao` VARCHAR(50) DEFAULT NULL, `kechengmingcheng` VARCHAR(50) DEFAULT NULL, `buzhilaoshi` VARCHAR(50) DEFAULT NULL, `wanchengshijian` VARCHAR(50) DEFAULT NULL, `dangqianshijian` VARCHAR(50) DEFAULT NULL, `zuoyetijiao` VARCHAR(50) DEFAULT NULL, `zuoyechengji` VARCHAR(50) DEFAULT NULL, `xuehao` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of xueshengzuoye -- ---------------------------- INSERT INTO `xueshengzuoye` VALUES (‘5‘, ‘14878147412399‘, ‘adfadf‘, ‘002‘, ‘2017-02-25‘, ‘2017-02-23‘, ‘uploadfile/1487814774mxfq.doc‘, ‘90‘, ‘888‘, ‘2017-04-03 09:54:32‘); INSERT INTO `xueshengzuoye` VALUES (‘6‘, ‘14878147412399‘, ‘adfadf‘, ‘001‘, ‘2017-04-10‘, ‘2017-04-03‘, ‘uploadfile/1491229213uzd3.doc‘, ‘89‘, ‘666‘, ‘2017-04-03 22:20:16‘); -- ---------------------------- -- Table structure for `zhicheng` -- ---------------------------- DROP TABLE IF EXISTS `zhicheng`; CREATE TABLE `zhicheng` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `zhicheng` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of zhicheng -- ---------------------------- INSERT INTO `zhicheng` VALUES (‘2‘, ‘副教授‘, ‘2017-04-03 08:49:34‘); INSERT INTO `zhicheng` VALUES (‘3‘, ‘教授‘, ‘2017-04-03 09:50:44‘); -- ---------------------------- -- Table structure for `zuoyemoban` -- ---------------------------- DROP TABLE IF EXISTS `zuoyemoban`; CREATE TABLE `zuoyemoban` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `mobanbianhao` VARCHAR(50) DEFAULT NULL, `zuoyeneirong` VARCHAR(500) DEFAULT NULL, `buzhilaoshi` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of zuoyemoban -- ---------------------------- INSERT INTO `zuoyemoban` VALUES (‘2‘, ‘001‘, ‘来自我的001作业模板‘, ‘001‘, ‘2017-04-03 11:58:07‘); INSERT INTO `zuoyemoban` VALUES (‘3‘, ‘002‘, ‘来自我的002作业模板‘, ‘001‘, ‘2017-04-03 12:34:49‘); INSERT INTO `zuoyemoban` VALUES (‘4‘, ‘003‘, ‘来自我的003作业模板中华人民共和国中华人民共和国‘, ‘001‘, ‘2017-04-03 12:36:02‘); INSERT INTO `zuoyemoban` VALUES (‘5‘, ‘12345‘, ‘adfadf‘, ‘001‘, ‘2017-04-03 22:18:25‘); -- ---------------------------- -- Table structure for `zuoyexinxi` -- ---------------------------- DROP TABLE IF EXISTS `zuoyexinxi`; CREATE TABLE `zuoyexinxi` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `kechengbianhao` VARCHAR(50) DEFAULT NULL, `kechengmingcheng` VARCHAR(50) DEFAULT NULL, `zuoyeneirong` VARCHAR(500) DEFAULT NULL, `zuoyewenjian` VARCHAR(50) DEFAULT NULL, `wanchengshijian` VARCHAR(50) DEFAULT NULL, `buzhilaoshi` VARCHAR(50) DEFAULT NULL, `cankaodaan` VARCHAR(500) DEFAULT NULL, `daanwenjian` VARCHAR(50) DEFAULT NULL, `addtime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=gb2312; -- ---------------------------- -- Records of zuoyexinxi -- ---------------------------- INSERT INTO `zuoyexinxi` VALUES (‘2‘, ‘14878113616868‘, ‘课程一‘, ‘fafadfdf‘, ‘‘, ‘2017-02-25‘, ‘001‘, ‘afadfafd‘, ‘uploadfile/1487811707d6pb.doc‘, ‘2017-04-03 08:56:47‘); INSERT INTO `zuoyexinxi` VALUES (‘3‘, ‘14878147412399‘, ‘adfadf‘, ‘adfadfdf‘, ‘uploadfile/1487814774mxfq.doc‘, ‘2017-02-25‘, ‘002‘, NULL, NULL, ‘2017-04-03 09:53:01‘); INSERT INTO `zuoyexinxi` VALUES (‘4‘, ‘14878147412399‘, ‘adfadf‘, ‘adfadfdf‘, ‘uploadfile/1487814774mxfq.doc‘, ‘2017-02-21‘, ‘002‘, ‘fadffa‘, ‘uploadfile/1487814774mxfq.doc‘, ‘2017-04-03 09:53:10‘); INSERT INTO `zuoyexinxi` VALUES (‘5‘, ‘14878147412399‘, ‘adfadf‘, ‘来自我的003作业模板‘, ‘‘, ‘2017-03-29‘, ‘001‘, ‘afdaf‘, ‘uploadfile/1491229145rjfi.doc‘, ‘2017-04-03 12:36:21‘); INSERT INTO `zuoyexinxi` VALUES (‘6‘, ‘14878147412399‘, ‘adfadf‘, ‘adfadfafdaf‘, ‘uploadfile/1491229120mx4e.doc‘, ‘2017-04-10‘, ‘001‘, NULL, NULL, ‘2017-04-03 22:18:47‘);
标签:bsp 数据管理 业务流 nbsp version insert 程序 web应用 pytho
原文地址:https://www.cnblogs.com/erhabiancheng/p/11562841.html