/*
Navicat MySQL Data Transfer

Source Server         : localhost_3306
Source Server Version : 50561
Source Host           : localhost:3306
Source Database       : test

Target Server Type    : MYSQL
Target Server Version : 50561
File Encoding         : 65001

Date: 2020-05-06 12:00:15
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for gch
-- ----------------------------
DROP TABLE IF EXISTS `gch`;
CREATE TABLE `gch` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `tel` varchar(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of gch
-- ----------------------------
INSERT INTO `gch` VALUES ('1', '3M中国有限公司', null, null);
INSERT INTO `gch` VALUES ('2', '绿盾口罩有限公司', null, null);

-- ----------------------------
-- Table structure for jz
-- ----------------------------
DROP TABLE IF EXISTS `jz`;
CREATE TABLE `jz` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `jzrid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `6` (`jzrid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of jz
-- ----------------------------
INSERT INTO `jz` VALUES ('1', '1');
INSERT INTO `jz` VALUES ('4', '2');

-- ----------------------------
-- Table structure for jzr
-- ----------------------------
DROP TABLE IF EXISTS `jzr`;
CREATE TABLE `jzr` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `tel` varchar(11) DEFAULT NULL,
  `i_d` varchar(18) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of jzr
-- ----------------------------
INSERT INTO `jzr` VALUES ('1', '张三', null, null, null);
INSERT INTO `jzr` VALUES ('2', '李四', null, null, null);

-- ----------------------------
-- Table structure for list
-- ----------------------------
DROP TABLE IF EXISTS `list`;
CREATE TABLE `list` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `data` varchar(255) DEFAULT NULL,
  `kinds` varchar(255) DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of list
-- ----------------------------
INSERT INTO `list` VALUES ('1', '2020-01-02', '口罩', '100');
INSERT INTO `list` VALUES ('2', '2020-02-01', '口罩', '10000');
INSERT INTO `list` VALUES ('3', '2020-03-01', '口罩', '10000');
INSERT INTO `list` VALUES ('4', '2020-03-02', '防护服', '1000');
INSERT INTO `list` VALUES ('5', '2020-03-05', '防护服', '1000');
INSERT INTO `list` VALUES ('6', '2020-04-01', '口罩', '10000');

-- ----------------------------
-- Table structure for lq
-- ----------------------------
DROP TABLE IF EXISTS `lq`;
CREATE TABLE `lq` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `yyid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `4` (`yyid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of lq
-- ----------------------------
INSERT INTO `lq` VALUES ('3', '1');
INSERT INTO `lq` VALUES ('5', '2');

-- ----------------------------
-- Table structure for sc
-- ----------------------------
DROP TABLE IF EXISTS `sc`;
CREATE TABLE `sc` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `gchid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `8` (`gchid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of sc
-- ----------------------------
INSERT INTO `sc` VALUES ('2', '1');
INSERT INTO `sc` VALUES ('6', '2');

-- ----------------------------
-- Table structure for tk
-- ----------------------------
DROP TABLE IF EXISTS `tk`;
CREATE TABLE `tk` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tkyid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `2` (`tkyid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of tk
-- ----------------------------
INSERT INTO `tk` VALUES ('1', '1');
INSERT INTO `tk` VALUES ('4', '1');
INSERT INTO `tk` VALUES ('2', '2');
INSERT INTO `tk` VALUES ('6', '2');
INSERT INTO `tk` VALUES ('3', '3');
INSERT INTO `tk` VALUES ('5', '3');

-- ----------------------------
-- Table structure for tky
-- ----------------------------
DROP TABLE IF EXISTS `tky`;
CREATE TABLE `tky` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `tel` varchar(11) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of tky
-- ----------------------------
INSERT INTO `tky` VALUES ('1', '王梦宇', null, null);
INSERT INTO `tky` VALUES ('2', '王肖天', null, null);
INSERT INTO `tky` VALUES ('3', '高瞻', null, null);

-- ----------------------------
-- Table structure for yy
-- ----------------------------
DROP TABLE IF EXISTS `yy`;
CREATE TABLE `yy` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `tel` varchar(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=gbk;

-- ----------------------------
-- Records of yy
-- ----------------------------
INSERT INTO `yy` VALUES ('1', '解放军163医院', null, null);
INSERT INTO `yy` VALUES ('2', '湘雅医院', null, null);
