robot.sql 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. SQLyog Ultimate v12.09 (64 bit)
  3. MySQL - 5.7.37-log : Database - robot
  4. *********************************************************************
  5. */
  6. /*!40101 SET NAMES utf8 */;
  7. /*!40101 SET SQL_MODE=''*/;
  8. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  9. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  10. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  11. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  12. CREATE DATABASE /*!32312 IF NOT EXISTS*/`robot` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
  13. USE `robot`;
  14. /*Table structure for table `robot_patient` */
  15. DROP TABLE IF EXISTS `robot_patient`;
  16. CREATE TABLE `robot_patient` (
  17. `id` varchar(50) NOT NULL COMMENT '主键',
  18. `patient_name` varchar(255) DEFAULT NULL COMMENT '患者姓名',
  19. `patient_sex` varchar(255) DEFAULT NULL COMMENT '患者性别(1男2女)',
  20. PRIMARY KEY (`id`) USING BTREE
  21. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='患者表';
  22. /*Data for the table `robot_patient` */
  23. insert into `robot_patient`(`id`,`patient_name`,`patient_sex`) values ('0479951f8964175e624b2ca61ee0e835','侯玉宇','2'),('34ddebc05f7c9fb769fcd020028203d6','庞日成','1'),('7b137ca2d563086b9e4fadee385b50b8','','2');
  24. /*Table structure for table `robot_symptom_part` */
  25. DROP TABLE IF EXISTS `robot_symptom_part`;
  26. CREATE TABLE `robot_symptom_part` (
  27. `id` varchar(50) NOT NULL COMMENT '主键',
  28. `part_name` varchar(255) DEFAULT NULL COMMENT '部位名称',
  29. PRIMARY KEY (`id`) USING BTREE
  30. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='部位表';
  31. /*Data for the table `robot_symptom_part` */
  32. insert into `robot_symptom_part`(`id`,`part_name`) values ('3244c36870e4a47ef1fc6e2c1acf00a2','眼耳口鼻'),('4c4c0e819fc95c09dde308cc04df6256','双下肢'),('608dd4772103c7b3a198641cf842a4e1','双上肢'),('62207ec3cd713e906c461dfbfddf6504','肩部'),('6b866f5e2ee092c0d2d0ffd5d9fea78b','腰部'),('88806113c934137edd261d1e8a4f1f72','颈部'),('92edaaa5ee8d304d9f01950e7979d2ab','头部'),('96f7f70bf165d11a1161e19e2917ad65','其他'),('a43438901e6b5f56d8aff49ea0c423d6','生殖器'),('aaecbc8d28a302e5b89740e3d4ccf3b8','臀部'),('c752554d2a789e07774532201a0876d9','背部'),('c826bc719672e94482422eb355bcdee6','皮肤'),('d311f223dd97959e447bcc4e63e38c22','胸部'),('e7d8dc2171ec4f64b895b82c5d627459','排泄部'),('ea4766dfb3950d787b4fae051c525a13','腹部');
  33. /*Table structure for table `robot_symptom_type` */
  34. DROP TABLE IF EXISTS `robot_symptom_type`;
  35. CREATE TABLE `robot_symptom_type` (
  36. `id` varchar(50) NOT NULL COMMENT '主键',
  37. `part_id` varchar(50) DEFAULT NULL COMMENT '所属部位',
  38. `type_name` varchar(255) DEFAULT NULL COMMENT '症状名称',
  39. PRIMARY KEY (`id`) USING BTREE
  40. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='症状表';
  41. /*Data for the table `robot_symptom_type` */
  42. insert into `robot_symptom_type`(`id`,`part_id`,`type_name`) values ('314292492987dbac45618f0633ad5fba','d311f223dd97959e447bcc4e63e38c22','咳嗽'),('5e7924f1a27fc08a817dd31820fa3736','62207ec3cd713e906c461dfbfddf6504','肩关节活动受限'),('7e696f88dfec22d719b033608a21b387','62207ec3cd713e906c461dfbfddf6504','右肩背有放射痛'),('fdeee4116cd6c0a16fe15fe1bfc208ef','d311f223dd97959e447bcc4e63e38c22','咳痰');
  43. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  44. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  45. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  46. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;