技术:jsp+servlet+mysql+java+eclipse
截图:
数据库表:
CREATE TABLE announcement (acment_id int(11) NOT NULL AUTO_INCREMENT,acment_title tinytext,acment_time date DEFAULT NULL,acment_people tinytext,acment_status int(11) DEFAULT NULL,acment_context text,
PRIMARY KEY (acment_id)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
– Records of announcement
INSERT INTO announcement VALUES (‘1’, ‘党的3大思想’, ‘2019-04-18’, ‘小娘’, ‘1’, ‘深刻馆舍大学老师的思想’);
– Table structure for forrent
DROP TABLE IF EXISTS forrent;
CREATE TABLE forrent (rent_id int(11) NOT NULL AUTO_INCREMENT,rent_typename tinytext,rent_proportion tinytext,rent_decorate tinytext,rent_floorstorey tinytext,rent_houseorigin tinytext,rent_houseposition tinytext,rent_price tinytext,rent_explain text,rent_time date DEFAULT NULL,rent_people tinytext,
PRIMARY KEY (rent_id)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
– Records of forrent
INSERT INTO forrent VALUES (‘1’, ‘快乐合租生活’, ‘20’, ‘豪华装修’, ‘1层’, ‘北京,北京’, ‘西大街东门圆明园花园别墅区’, ‘3000’, ‘快乐合租生活 四个女生的时尚简约复’, ‘2019-04-18’, ‘xn’);
– Table structure for leavess
DROP TABLE IF EXISTS leavess;
CREATE TABLE leavess (leavess_id int(11) NOT NULL AUTO_INCREMENT,leavess_leav text,leavess_reply text,leavess_leavtime date DEFAULT NULL,leavess_replytime date DEFAULT NULL,leavess_leavpop tinytext,leavess_replypop tinytext,leavess_typeid int(11) DEFAULT NULL,leavess_roomid int(11) DEFAULT NULL,
PRIMARY KEY (leavess_id)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
– Records of leavess
INSERT INTO leavess VALUES (‘1’, ‘你好我叫莫小娘’, ‘哈喽我叫晴天小猪’, ‘2019-04-18’, ‘2019-04-18’, ‘莫小娘’, ‘晴天小猪’, ‘1’, ‘2’);
INSERT INTO leavess VALUES (‘2’, ‘你好我叫莫小娘’, ‘哈喽我叫晴天小猪’, ‘2019-04-18’, ‘2019-04-18’, ‘莫小娘’, ‘晴天小猪’, null, null);
– Table structure for lodgeroom
DROP TABLE IF EXISTS lodgeroom;
CREATE TABLE lodgeroom (lendroom_id int(11) NOT NULL AUTO_INCREMENT,lendroom_typename tinytext,lendroom_proportion tinytext,lendroom_direction tinytext,lendroom_decorate tinytext,lendroom_floortype tinytext,lendroom_floorstorey tinytext,lendroom_houseorigin tinytext,lendroom_houseposition tinytext,lendroom_price tinytext,lendroom_explain text,lendroom_image tinytext,lendroom_time date DEFAULT NULL,lendroom_people tinytext,
PRIMARY KEY (lendroom_id)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
– Records of lodgeroom
INSERT INTO lodgeroom VALUES (‘1’, ‘新世界花园现代简约公寓’, ‘50’, ‘向南’, ‘公寓装修’, ‘高档住宅’, ‘1层’, ‘北京,北京’, ‘西大街东门圆明园花园别墅区’, ‘3000’, ‘50平米轻快淡蓝色彩个性小’, ‘n1.jpg’, ‘2019-04-18’, ‘小娘’);
– Table structure for managerinfo
DROP TABLE IF EXISTS managerinfo;
CREATE TABLE managerinfo (manager_id int(11) NOT NULL AUTO_INCREMENT,manager_name tinytext,manager_pw tinytext,manager_time date DEFAULT NULL,manager_status int(10) DEFAULT NULL,manager_num int(10) DEFAULT NULL,
PRIMARY KEY (manager_id)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
– Records of managerinfo
INSERT INTO managerinfo VALUES (‘1’, ‘zhangsan’, ‘123123’, ‘2019-04-18’, ‘1’, ‘3’);
– Table structure for userinfo
DROP TABLE IF EXISTS userinfo;
CREATE TABLE userinfo (user_idslist int(11) NOT NULL AUTO_INCREMENT,user_id int(10) DEFAULT NULL,user_truename tinytext,user_sex tinytext,user_address tinytext,user_nativeplace tinytext,user_phone tinytext,user_email tinytext,user_question tinytext,user_answer tinytext,user_image tinytext,
PRIMARY KEY (user_idslist)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;