Record learning every day, have a good mood every day. * ^ _ ^ *
Today, a friend and together to complete a web-based intelligent nutritious meals and evaluation system project, we use in the development of the framework is SSM (MYECLIPSE) framework. Limited knowledge of my friend, only this framework, ha ha, is designed to facilitate him. As usual selection of simple and convenient MYECLIPSE as a development tool, web intelligence nutritious meals and evaluation system is based on a background item. With very popular B / S architecture of current to develop as JAVA technology relying on SSM technical framework, mysql database to establish the system.
A web-based intelligent nutritious meals and evaluation system should include user roles administrator, user, age group. 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.
We summarize the results of intelligent web nutritious meals and evaluation system based on all project data: administrator (admin), user (yonghu), age (nianlingduan), the classification of units (danweifenlei)
Based administrator table nutritious meals and evaluation systems of intelligent web
the above mentioned id | INT ( 11 ) | PRIMARY KEY | administrator the above mentioned id
username | VARCHAR ( 255 ) | | account
password | VARCHAR ( 255 ) | | password
Based on user tables nutritious meals and evaluation systems of intelligent web
the above mentioned id | INT ( 11 ) | PRIMARY KEY | user the above mentioned id
Xingming | VARCHAR ( 255 ) | | Name
xingbie | VARCHAR ( 255 ) | | Sex
nianling | VARCHAR ( 255 ) | | Age
quanxian | VARCHAR ( 255 ) | | rights
username | VARCHAR (255 ) | | account
password | VARCHAR ( 255 ) | | password
Table nutritious meals based on age and evaluation systems of intelligent web
the above mentioned id | INT ( 11 ) | PRIMARY KEY | ages the above mentioned id
yinger | VARCHAR ( 255 ) | | Baby
youer | VARCHAR ( 255 ) | | children
qingshaonian | VARCHAR ( 255 ) | | Teen
chengnianren | VARCHAR ( 255 ) | | adult
zhongnianren | VARCHAR (255 ) | | middle-aged
laonianren | VARCHAR ( 255 ) | | elderly
Based on nutrition, catering units and evaluation system of intelligent web-classification
the above mentioned id | INT ( 11 ) | PRIMARY KEY | units classified the above mentioned id
xueshengshitang | VARCHAR ( 255 ) | | student cafeteria
kuaicangongsi | VARCHAR ( 255 ) | | fast-food company
peicangongsi | VARCHAR ( 255 ) | | catering The company
gongzhongshitang | VARCHAR ( 255 ) | | public canteens
jiating | VARCHAR ( 255 ) | | Family
-- ----------------------------
-- ----------------------------
-- Table structure for ggjywebdznyypchpgxt
-- ----------------------------
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_yonghu`;
CREATE TABLE `t_yonghu` (`id` INT(11) NOT NULL AUTO_INCREMENT COMMENT '用户id',`xingming` VARCHAR(255) DEFAULT NULL COMMENT '姓名', `Xingbie` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'sex' , ` nianling` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'Age' , `quanxian` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'rights' , ` username` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'account number' , `password` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'password' ,PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户';
-- ----------------------------
DROP TABLE IF EXISTS `t_nianlingduan`;
CREATE TABLE `t_nianlingduan` (`id` INT(11) NOT NULL AUTO_INCREMENT COMMENT '年龄段id',`yinger` VARCHAR(255) DEFAULT NULL COMMENT '婴儿',`youer` VARCHAR(255) The DEFAULT NULL the COMMENT 'children' , `qingshaonian` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT 'teenagers' , ` chengnianren` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' adult ' , `zhongnianren` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' middle-aged people ' , `laonianren` VARCHAR ( 255 ) the DEFAULT NULL the COMMENT ' elderly ' , a PRIMARY KEY ( ` id`)
) ENGINE = MyISAM the DEFAULT the CHARSET = UTF8 the COMMENT = 'age';
- ----------------------------
the DROP TABLE the IF EXISTS t_danweifenlei` `;
the CREATE TABLE ` t_danweifenlei` ( `id` the INT ( . 11 ) the NOT NULL the AUTO_INCREMENT the COMMENT 'unit classification ID' ,