Thesis management system design and implementation of J2EE-based free share

Today we will analyze a thesis management system (undergraduate thesis in order to strengthen management and monitoring, improve the management of information technology degree thesis, a thesis based on J2EE development management system based on actual needs, design a thesis topic, task signed, open discussion, mid-term examination papers submitted, guidance, reviewing and thesis and other related sectors, built ER diagram with the logical structure of the system, and finally programming.), the project uses the framework for SSM (MYECLIPSE), the choice of development tools as MYECLIPSE. Thesis management system as a background item.

To complete the system, we first need to analyze the needs of the system. A thesis management system should include user roles administrator, teachers, students. In order to allow the user a smooth landing system to complete the related operations, landing roles you need to set up an account and password for each field.

In order to complete the function of the system needs to be set up subject students to watch, record title information. It defines the relationship between the two tables in the subject, wherein the subject students and student mingzi corresponding field, the student and student id id field corresponding to the topic

 

 

The summary results of all system data: administrator (admin), teachers (jiaoshi), students (xuesheng), title (timu)

 

 

Administrators table

Field Name | Type | property | Description

id | int (11) | PRIMARY KEY | administrator id

username | varchar (255) | | account

password | varchar (255) | | password

 

 

Teacher table

Field Name | Type | property | Description

id | int (11) | PRIMARY KEY | id teachers

mingzi | varchar (255) | | name

username | varchar (255) | | account

password | varchar (255) | | password

 

 

Student Table

Field Name | Type | property | Description

id | int(11) | PRIMARY KEY | 学生id

mingzi | varchar (255) | | name

username | varchar (255) | | account

password | varchar (255) | | password

 

 

Table title

Field Name | Type | property | Description

id | int (11) | PRIMARY KEY | topic id

biaoti | varchar (255) | | Title

neirong | varchar (255) | | Content

xuesheng | varchar (255) | | Students

xueshengid | varchar (255) | | student id

zhuangtai | varchar (255) | | state

sql statement for the construction of the table

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- ----------------------------

-- Table structure for ggbanjiwangzhan

-- ----------------------------

DROP TABLE IF EXISTS `t_admin`;

CREATE TABLE `t_admin` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '管理员id',`username` varchar(255) DEFAULT NULL COMMENT '账号',`password` varchar(255) DEFAULT NULL COMMENT '密码',PRIMARY KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='管理员';

-- ----------------------------

DROP TABLE IF EXISTS `t_xuesheng`;

CREATE TABLE `t_xuesheng` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '学生id' , `Mingzi` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' name ' ,` username` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' account ' , `password` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' password ' ,` lianxifangshi` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' Information ' , `banji` VARCHAR ( 255) The DEFAULT  NULL the COMMENT ' classes ' , `nianji` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' grades ' ,` banjiid` int ( . 11 ) the DEFAULT  NULL the COMMENT ' class ID ' , a PRIMARY  KEY ( `id`) 

) ENGINE = MyISAM the DEFAULT the CHARSET = utf8 the COMMENT = ' students ' ; 

- ---------------------------- 

DROP TABLE IF EXISTS `t_banji`;

CREATE TABLE `t_banji` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '班级id',`mingzi` varchar(255) DEFAULT NULL COMMENT '名字',`banzhang` varchar(255) DEFAULT NULL COMMENT '班长',`banzhangid` int(11) DEFAULT NULL COMMENT '班长id',PRIMARY KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='班级';

-- ----------------------------

DROP TABLE IF EXISTS `t_huiyi`;

CREATE TABLE `t_huiyi` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '回忆id',`biaoti` varchar(255) DEFAULT NULL COMMENT ' Title ' , `neirong` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' content ' ,` xuesheng` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' student ' , `xueshengid` int ( 11 ) the DEFAULT  NULL the COMMENT ' students the above mentioned id ' ,` shijian` VARCHAR ( 255 ) the DEFAULT  NULL the COMMENT ' time ' , a PRIMARY  KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='回忆';

Source download

Guess you like

Origin www.cnblogs.com/qwcx/p/11517989.html