From 214c3b73c8a5b2edf8874f48d159a3c5a35e1601 Mon Sep 17 00:00:00 2001 From: zjh19990323 <494316527@qq.com> Date: Mon, 14 Jan 2019 15:21:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 后端的都放着里面/zx.sql | 300 ++++++++---------- .../zxlogin/.idea/misc.xml | 6 + .../zxlogin/.idea/modules.xml | 8 + .../zxlogin/.idea/vcs.xml | 6 + .../zxlogin/.idea/workspace.xml | 150 +++++++++ 5 files changed, 297 insertions(+), 173 deletions(-) create mode 100644 后端的都放着里面/zxlogin/.idea/misc.xml create mode 100644 后端的都放着里面/zxlogin/.idea/modules.xml create mode 100644 后端的都放着里面/zxlogin/.idea/vcs.xml create mode 100644 后端的都放着里面/zxlogin/.idea/workspace.xml diff --git a/后端的都放着里面/zx.sql b/后端的都放着里面/zx.sql index 5743f61..3f2d0be 100644 --- a/后端的都放着里面/zx.sql +++ b/后端的都放着里面/zx.sql @@ -1,206 +1,160 @@ +/* +Navicat MySQL Data Transfer --- MySQL dump 10.13 Distrib 8.0.13, for Win64 (x86_64) --- --- Host: localhost Database: 真香图书管理系统 --- ------------------------------------------------------ --- Server version 8.0.13 +Source Server : localhost +Source Server Version : 50639 +Source Host : localhost:3306 +Source Database : zx -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; - SET NAMES utf8 ; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; +Target Server Type : MYSQL +Target Server Version : 50639 +File Encoding : 65001 --- --- Table structure for table `book` --- +Date: 2019-01-14 15:20:33 +*/ +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for book +-- ---------------------------- DROP TABLE IF EXISTS `book`; -/*!40101 SET @saved_cs_client = @@character_set_client */; - SET character_set_client = utf8 ; CREATE TABLE `book` ( - `book_id` int(20) NOT NULL, + `book_id` varchar(20) NOT NULL, `book_name` varchar(45) NOT NULL, `book_author` varchar(20) NOT NULL, `book_num` int(5) NOT NULL, `book_sort` varchar(20) NOT NULL, PRIMARY KEY (`book_id`,`book_name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `book` --- - -LOCK TABLES `book` WRITE; -/*!40000 ALTER TABLE `book` DISABLE KEYS */; -INSERT INTO `book` (`book_id`, `book_name`, `book_author`, `book_num`, `book_sort`) -VALUES - (1,'《四书五经合集》','古代多人',20,'文学名著类'), - (2,'《人生》','路遥',21,'文学名著类'), - (3,'《中华上下五千年》','佚名',19,'文学名著类'), - (4,'《百年孤独》','佚名',17,'文学名著类'), - (5,'《大秦帝国》','佚名',23,'文学名著类'), - (6,'《兄弟》','余华',21,'文学名著类'), - (7,'《激荡30年》','佚名',25,'文学名著类'), - (8,'《沧浪之水》','佚名',19,'文学名著类'), - (9,'《席绢全集》','席绢',23,'文学名著类'), - (10,'《格列佛游记》','佚名',18,'文学名著类'), - (11,'《洛丽塔》','佚名',18,'文学名著类'), - (12,'《林徽因传》','张清平',16,'文学名著类'), - (13,'《莎士比亚十四行诗集》','佚名',20,'文学名著类'), - (14,'《陈良宇传奇》','佚名',21,'文学名著类'), - (15,'《邓小平传》','佚名',17,'文学名著类'), - (16,'《滚雪球:巴菲特和他的财富人生》','佚名',17,'文学名著类'), - (17,'《老人与海》','佚名',21,'文学名著类'), - (18,'《忏悔录》','卢梭',22,'文学名著类'), - (19,'《海岩全集》','佚名',24,'文学名著类'), - (20,'《三毛全集》','佚名',20,'文学名著类'), - (21,'《人性的光辉:林肯传》','戴尔·卡耐基',18,'文学名著类'), - (22,'《呼啸山庄》','佚名',21,'文学名著类'), - (23,'《村上春树全集》','佚名',20,'文学名著类'), - (24,'《红与黑》','佚名',21,'文学名著类'), - (25,'《孙中山全传》','佚名',18,'文学名著类'), - (26,'《本草纲目》','李时珍',16,'文学名著类'), - (27,'《一口气读完世界史》','佚名',17,'文学名著类'), - (28,'《平凡的世界》','路遥',25,'文学名著类'), - (29,'《巨星闪耀》','郭宏军',24,'文学名著类'), - (30,'《白话山海经》','佚名',19,'文学名著类'), - (31,'《枪手的新娘》','佚名',24,'文学名著类'), - (32,'《李安传:十年一觉电影梦》','张靓蓓',19,'文学名著类'), - (33,'《一个陌生女人的来信》','佚名',18,'文学名著类'), - (34,'《北洋军阀统治时期史话》','佚名',24,'文学名著类'), - (35,'《鲁宾逊漂流记》','佚名',21,'文学名著类'), - (36,'《三毛作品集》','三毛',17,'文学名著类'), - (37,'《菊与刀》','佚名',25,'文学名著类'), - (38,'《歌舞伎町案内人》','佚名',21,'文学名著类'), - (39,'《红顶商人胡雪岩》','佚名',16,'文学名著类'), - (40,'《汉武帝》','叶绍翁',25,'文学名著类'), - (41,'《灯草和尚》','高则诚',16,'文学名著类'), - (42,'《路遥全集》','佚名',20,'文学名著类'), - (43,'《古文观止+译文》','佚名',24,'文学名著类'), - (44,'《风雨独立路-李光耀传》','李光耀',23,'文学名著类'), - (45,'《余华文集》','余华',21,'文学名著类'), - (46,'《张小娴作品集》','张小娴',24,'文学名著类'), - (47,'《明亡清兴六十年》','佚名',25,'文学名著类'), - (48,'《千年一叹-余秋雨》','佚名',24,'文学名著类'), - (49,'《我的禅》','卫慧',19,'文学名著类'), - (50,'《川端康成文集》','佚名',19,'文学名著类'), - (51,'《天龙八部》','金庸',20,'文学名著类'), - (52,'《沉思录II》','佚名',17,'文学名著类'), - (53,'《雍正王朝:恨水东逝》','佚名',22,'文学名著类'), - (54,'《莎士比亚全集》','莎士比亚',23,'文学名著类'), - (55,'《中国史学入门》','顾颉刚',10,'人文历史类'), - (56,'《明朝那些事儿》','石悦',15,'人文历史类'), - (57,'《袁氏当国》','唐德刚',12,'人文历史类'), - (58,'《天朝的崩溃》','茅海建',5,'人文历史类'), - (59,'《东晋门阀政治》','田余庆',20,'人文历史类'), - (60,'《通俗天文学》','(美)西蒙·纽康 ',23,'自然科学类'), - (61,'《自私的基因》','[英]理查德·道金斯',45,'自然科学类'), - (62,'《发现之旅》','托尼赖斯',20,'自然科学类'), - (63,'《宇宙之书》','约翰.D.巴罗',18,'自然科学类'), - (64,'《信号与系统》','Alan V.Oppenheim',20,'计算机类'), - (65,'《第一行代码》','郭霖',10,'计算机类'), - (66,'《HTTP权威指南》',' David Gourley',9,'计算机类'), - (67,'《解TCP/IP : 第5版》','[日]竹下隆史',10,'计算机类'), - (68,'《肿瘤常见症状的中西医处理手册》','李萍萍 ',5,'医学类'), - (69,'《中国的医药》','魏子孝&聂丽芳',6,'医学类'), - (70,'《中华医药学史》','林品石',7,'医学类'), - (71,'《中医熟记的100种中药》','肖锦仁',8,'医学类'), - (72,'《永续农业概论》','莫里森',20,'农学类'), - (73,'《全息自然农法实现》','何以兴农',18,'农学类'), - (74,'《作物育种学》','席章营',5,'农学类'), - (75,'《中国农学史》','曾雄生',20,'农学类'); -/*!40000 ALTER TABLE `book` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `borrowrecord` --- - +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of book +-- ---------------------------- +INSERT INTO `book` VALUES ('1', '《四书五经合集》', '古代多人', '20', '文学名著类'); +INSERT INTO `book` VALUES ('10', '《格列佛游记》', '佚名', '18', '文学名著类'); +INSERT INTO `book` VALUES ('11', '《洛丽塔》', '佚名', '18', '文学名著类'); +INSERT INTO `book` VALUES ('12', '《林徽因传》', '张清平', '16', '文学名著类'); +INSERT INTO `book` VALUES ('13', '《莎士比亚十四行诗集》', '佚名', '20', '文学名著类'); +INSERT INTO `book` VALUES ('14', '《陈良宇传奇》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('15', '《邓小平传》', '佚名', '17', '文学名著类'); +INSERT INTO `book` VALUES ('16', '《滚雪球:巴菲特和他的财富人生》', '佚名', '17', '文学名著类'); +INSERT INTO `book` VALUES ('17', '《老人与海》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('18', '《忏悔录》', '卢梭', '22', '文学名著类'); +INSERT INTO `book` VALUES ('19', '《海岩全集》', '佚名', '24', '文学名著类'); +INSERT INTO `book` VALUES ('2', '《人生》', '路遥', '21', '文学名著类'); +INSERT INTO `book` VALUES ('20', '《三毛全集》', '佚名', '20', '文学名著类'); +INSERT INTO `book` VALUES ('21', '《人性的光辉:林肯传》', '戴尔·卡耐基', '18', '文学名著类'); +INSERT INTO `book` VALUES ('22', '《呼啸山庄》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('23', '《村上春树全集》', '佚名', '20', '文学名著类'); +INSERT INTO `book` VALUES ('24', '《红与黑》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('25', '《孙中山全传》', '佚名', '18', '文学名著类'); +INSERT INTO `book` VALUES ('26', '《本草纲目》', '李时珍', '16', '文学名著类'); +INSERT INTO `book` VALUES ('27', '《一口气读完世界史》', '佚名', '17', '文学名著类'); +INSERT INTO `book` VALUES ('28', '《平凡的世界》', '路遥', '25', '文学名著类'); +INSERT INTO `book` VALUES ('29', '《巨星闪耀》', '郭宏军', '24', '文学名著类'); +INSERT INTO `book` VALUES ('3', '《中华上下五千年》', '佚名', '19', '文学名著类'); +INSERT INTO `book` VALUES ('30', '《白话山海经》', '佚名', '19', '文学名著类'); +INSERT INTO `book` VALUES ('31', '《枪手的新娘》', '佚名', '24', '文学名著类'); +INSERT INTO `book` VALUES ('32', '《李安传:十年一觉电影梦》', '张靓蓓', '19', '文学名著类'); +INSERT INTO `book` VALUES ('33', '《一个陌生女人的来信》', '佚名', '18', '文学名著类'); +INSERT INTO `book` VALUES ('34', '《北洋军阀统治时期史话》', '佚名', '24', '文学名著类'); +INSERT INTO `book` VALUES ('35', '《鲁宾逊漂流记》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('36', '《三毛作品集》', '三毛', '17', '文学名著类'); +INSERT INTO `book` VALUES ('37', '《菊与刀》', '佚名', '25', '文学名著类'); +INSERT INTO `book` VALUES ('38', '《歌舞伎町案内人》', '佚名', '21', '文学名著类'); +INSERT INTO `book` VALUES ('39', '《红顶商人胡雪岩》', '佚名', '16', '文学名著类'); +INSERT INTO `book` VALUES ('4', '《百年孤独》', '佚名', '17', '文学名著类'); +INSERT INTO `book` VALUES ('40', '《汉武帝》', '叶绍翁', '25', '文学名著类'); +INSERT INTO `book` VALUES ('41', '《灯草和尚》', '高则诚', '16', '文学名著类'); +INSERT INTO `book` VALUES ('42', '《路遥全集》', '佚名', '20', '文学名著类'); +INSERT INTO `book` VALUES ('43', '《古文观止+译文》', '佚名', '24', '文学名著类'); +INSERT INTO `book` VALUES ('44', '《风雨独立路-李光耀传》', '李光耀', '23', '文学名著类'); +INSERT INTO `book` VALUES ('45', '《余华文集》', '余华', '21', '文学名著类'); +INSERT INTO `book` VALUES ('46', '《张小娴作品集》', '张小娴', '24', '文学名著类'); +INSERT INTO `book` VALUES ('47', '《明亡清兴六十年》', '佚名', '25', '文学名著类'); +INSERT INTO `book` VALUES ('48', '《千年一叹-余秋雨》', '佚名', '24', '文学名著类'); +INSERT INTO `book` VALUES ('49', '《我的禅》', '卫慧', '19', '文学名著类'); +INSERT INTO `book` VALUES ('5', '《大秦帝国》', '佚名', '23', '文学名著类'); +INSERT INTO `book` VALUES ('50', '《川端康成文集》', '佚名', '19', '文学名著类'); +INSERT INTO `book` VALUES ('51', '《天龙八部》', '金庸', '20', '文学名著类'); +INSERT INTO `book` VALUES ('52', '《沉思录II》', '佚名', '17', '文学名著类'); +INSERT INTO `book` VALUES ('53', '《雍正王朝:恨水东逝》', '佚名', '22', '文学名著类'); +INSERT INTO `book` VALUES ('54', '《莎士比亚全集》', '莎士比亚', '23', '文学名著类'); +INSERT INTO `book` VALUES ('55', '《中国史学入门》', '顾颉刚', '10', '人文历史类'); +INSERT INTO `book` VALUES ('56', '《明朝那些事儿》', '石悦', '15', '人文历史类'); +INSERT INTO `book` VALUES ('57', '《袁氏当国》', '唐德刚', '12', '人文历史类'); +INSERT INTO `book` VALUES ('58', '《天朝的崩溃》', '茅海建', '5', '人文历史类'); +INSERT INTO `book` VALUES ('59', '《东晋门阀政治》', '田余庆', '20', '人文历史类'); +INSERT INTO `book` VALUES ('6', '《兄弟》', '余华', '21', '文学名著类'); +INSERT INTO `book` VALUES ('60', '《通俗天文学》', '(美)西蒙·纽康 ', '23', '自然科学类'); +INSERT INTO `book` VALUES ('61', '《自私的基因》', '[英]理查德·道金斯', '45', '自然科学类'); +INSERT INTO `book` VALUES ('62', '《发现之旅》', '托尼赖斯', '20', '自然科学类'); +INSERT INTO `book` VALUES ('63', '《宇宙之书》', '约翰.D.巴罗', '18', '自然科学类'); +INSERT INTO `book` VALUES ('64', '《信号与系统》', 'Alan V.Oppenheim', '20', '计算机类'); +INSERT INTO `book` VALUES ('65', '《第一行代码》', '郭霖', '10', '计算机类'); +INSERT INTO `book` VALUES ('66', '《HTTP权威指南》', ' David Gourley', '9', '计算机类'); +INSERT INTO `book` VALUES ('67', '《解TCP/IP : 第5版》', '[日]竹下隆史', '10', '计算机类'); +INSERT INTO `book` VALUES ('68', '《肿瘤常见症状的中西医处理手册》', '李萍萍 ', '5', '医学类'); +INSERT INTO `book` VALUES ('69', '《中国的医药》', '魏子孝&聂丽芳', '6', '医学类'); +INSERT INTO `book` VALUES ('7', '《激荡30年》', '佚名', '25', '文学名著类'); +INSERT INTO `book` VALUES ('70', '《中华医药学史》', '林品石', '7', '医学类'); +INSERT INTO `book` VALUES ('71', '《中医熟记的100种中药》', '肖锦仁', '8', '医学类'); +INSERT INTO `book` VALUES ('72', '《永续农业概论》', '莫里森', '20', '农学类'); +INSERT INTO `book` VALUES ('73', '《全息自然农法实现》', '何以兴农', '18', '农学类'); +INSERT INTO `book` VALUES ('74', '《作物育种学》', '席章营', '5', '农学类'); +INSERT INTO `book` VALUES ('75', '《中国农学史》', '曾雄生', '20', '农学类'); +INSERT INTO `book` VALUES ('8', '《沧浪之水》', '佚名', '19', '文学名著类'); +INSERT INTO `book` VALUES ('9', '《席绢全集》', '席绢', '23', '文学名著类'); + +-- ---------------------------- +-- Table structure for borrowrecord +-- ---------------------------- DROP TABLE IF EXISTS `borrowrecord`; -/*!40101 SET @saved_cs_client = @@character_set_client */; - SET character_set_client = utf8 ; CREATE TABLE `borrowrecord` ( - `s_id` varchar(20) NOT NULL, + `s_id` int(20) NOT NULL, `book_id` int(20) NOT NULL, `s_name` varchar(20) NOT NULL, `book_name` varchar(20) NOT NULL, `book_num` int(5) NOT NULL, PRIMARY KEY (`s_id`,`book_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `borrowrecord` --- +) ENGINE=InnoDB DEFAULT CHARSET=utf8; -LOCK TABLES `borrowrecord` WRITE; -/*!40000 ALTER TABLE `borrowrecord` DISABLE KEYS */; -/*!40000 ALTER TABLE `borrowrecord` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `manager` --- +-- ---------------------------- +-- Records of borrowrecord +-- ---------------------------- +-- ---------------------------- +-- Table structure for manager +-- ---------------------------- DROP TABLE IF EXISTS `manager`; -/*!40101 SET @saved_cs_client = @@character_set_client */; - SET character_set_client = utf8 ; CREATE TABLE `manager` ( `m_id` int(20) NOT NULL, `m_password` varchar(20) NOT NULL, PRIMARY KEY (`m_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `manager` --- +) ENGINE=InnoDB DEFAULT CHARSET=utf8; -LOCK TABLES `manager` WRITE; -/*!40000 ALTER TABLE `manager` DISABLE KEYS */; -INSERT INTO `manager` VALUES (1,'000000'),(2,'000000'); -/*!40000 ALTER TABLE `manager` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `student` --- +-- ---------------------------- +-- Records of manager +-- ---------------------------- +INSERT INTO `manager` VALUES ('1', '000000'); +INSERT INTO `manager` VALUES ('2', '000000'); +-- ---------------------------- +-- Table structure for student +-- ---------------------------- DROP TABLE IF EXISTS `student`; -/*!40101 SET @saved_cs_client = @@character_set_client */; - SET character_set_client = utf8 ; CREATE TABLE `student` ( `s_id` int(20) NOT NULL, `s_password` varchar(20) NOT NULL, `s_name` varchar(20) NOT NULL, PRIMARY KEY (`s_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `student` --- - -LOCK TABLES `student` WRITE; -/*!40000 ALTER TABLE `student` DISABLE KEYS */; -INSERT INTO `student` VALUES (20160801,'123456','xzy'),(20160802,'123456','zxy'),(20160803,'123456','myj'),(20160804,'123456','zjh'); -/*!40000 ALTER TABLE `student` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2019-01-11 10:30:38 +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records of student +-- ---------------------------- +INSERT INTO `student` VALUES ('20160801', '123456', 'xzy'); +INSERT INTO `student` VALUES ('20160802', '123456', 'zxy'); +INSERT INTO `student` VALUES ('20160803', '123456', 'myj'); +INSERT INTO `student` VALUES ('20160804', '123456', 'zjh'); diff --git a/后端的都放着里面/zxlogin/.idea/misc.xml b/后端的都放着里面/zxlogin/.idea/misc.xml new file mode 100644 index 0000000..9715c22 --- /dev/null +++ b/后端的都放着里面/zxlogin/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/后端的都放着里面/zxlogin/.idea/modules.xml b/后端的都放着里面/zxlogin/.idea/modules.xml new file mode 100644 index 0000000..233d7d1 --- /dev/null +++ b/后端的都放着里面/zxlogin/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/后端的都放着里面/zxlogin/.idea/vcs.xml b/后端的都放着里面/zxlogin/.idea/vcs.xml new file mode 100644 index 0000000..c8ade07 --- /dev/null +++ b/后端的都放着里面/zxlogin/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/后端的都放着里面/zxlogin/.idea/workspace.xml b/后端的都放着里面/zxlogin/.idea/workspace.xml new file mode 100644 index 0000000..dbf68c5 --- /dev/null +++ b/后端的都放着里面/zxlogin/.idea/workspace.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +