Procházet zdrojové kódy

诊所维护管理添加端口

matianxiang před 3 měsíci
rodič
revize
e86d4504a9

+ 9 - 0
eitc-manage/src/main/java/com/eitc/manage/domain/SysClinicInfo.java

@@ -49,6 +49,15 @@ public class SysClinicInfo extends EitcBaseEntity
49 49
     @NotBlank(message = " 服务器IP不能为空")
50 50
     private String clinicIp;
51 51
 
52
+    @TableField(value = "server_post")
53
+    @ApiModelProperty(value = "服务端口", name = "serverPost")
54
+    @NotBlank(message = "服务端口不能为空")
55
+    private String serverPost;
56
+
57
+    @TableField(value = "web_socket_post")
58
+    @ApiModelProperty(value = "websocket端口", name = "webSocketPost")
59
+    private String webSocketPost;
60
+
52 61
     @TableField(value = "server_user")
53 62
     @ApiModelProperty(value = "服务用户", name = "serverUser")
54 63
     @NotBlank(message = " 服务器用户不能为空")

+ 178 - 57
sql/初始化脚本.sql

@@ -5,13 +5,13 @@
5 5
  Source Server Type    : MySQL
6 6
  Source Server Version : 80026 (8.0.26)
7 7
  Source Host           : localhost:3306
8
- Source Schema         : erm_bak
8
+ Source Schema         : eitc_bak
9 9
 
10 10
  Target Server Type    : MySQL
11 11
  Target Server Version : 80026 (8.0.26)
12 12
  File Encoding         : 65001
13 13
 
14
- Date: 08/08/2024 10:03:53
14
+ Date: 09/08/2024 14:42:27
15 15
 */
16 16
 
17 17
 SET NAMES utf8mb4;
@@ -35,7 +35,11 @@ CREATE TABLE `erm_app_user`  (
35 35
   `identification_card` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '身份证号',
36 36
   PRIMARY KEY (`id`) USING BTREE,
37 37
   UNIQUE INDEX `phone_number_idx`(`is_del` ASC, `phone_number` ASC) USING BTREE
38
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'APP端-用户表' ROW_FORMAT = Dynamic;
38
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'APP端-用户表' ROW_FORMAT = DYNAMIC;
39
+
40
+-- ----------------------------
41
+-- Records of erm_app_user
42
+-- ----------------------------
39 43
 
40 44
 -- ----------------------------
41 45
 -- Table structure for erm_app_user_patients
@@ -54,7 +58,11 @@ CREATE TABLE `erm_app_user_patients`  (
54 58
   `relationship` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关系(朋友、父母)',
55 59
   `is_default` int NULL DEFAULT 0 COMMENT '是否默认(1默认,0不是默认)',
56 60
   PRIMARY KEY (`id`) USING BTREE
57
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者与app用户关联表' ROW_FORMAT = Dynamic;
61
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者与app用户关联表' ROW_FORMAT = DYNAMIC;
62
+
63
+-- ----------------------------
64
+-- Records of erm_app_user_patients
65
+-- ----------------------------
58 66
 
59 67
 -- ----------------------------
60 68
 -- Table structure for erm_appointment_project
@@ -73,7 +81,11 @@ CREATE TABLE `erm_appointment_project`  (
73 81
   `type` int NOT NULL COMMENT '类型(1目录,2项目)',
74 82
   PRIMARY KEY (`id`) USING BTREE,
75 83
   UNIQUE INDEX `idx_appointment_name`(`parent_id` ASC, `appointment_name` ASC, `is_del` ASC) USING BTREE
76
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '预约项目' ROW_FORMAT = Dynamic;
84
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '预约项目' ROW_FORMAT = DYNAMIC;
85
+
86
+-- ----------------------------
87
+-- Records of erm_appointment_project
88
+-- ----------------------------
77 89
 
78 90
 -- ----------------------------
79 91
 -- Table structure for erm_business_dict_data
@@ -94,7 +106,7 @@ CREATE TABLE `erm_business_dict_data`  (
94 106
   `tenant_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
95 107
   PRIMARY KEY (`id`) USING BTREE,
96 108
   INDEX `id_idx`(`dict_value` ASC, `dict_type` ASC, `dict_name` ASC, `is_del` ASC) USING BTREE
97
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
109
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
98 110
 
99 111
 -- ----------------------------
100 112
 -- Records of erm_business_dict_data
@@ -139,7 +151,7 @@ CREATE TABLE `erm_chat_disease`  (
139 151
   `resource` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '病情资料',
140 152
   `patient_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '患者id',
141 153
   PRIMARY KEY (`id`) USING BTREE
142
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录资料卡片' ROW_FORMAT = Dynamic;
154
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录资料卡片' ROW_FORMAT = DYNAMIC;
143 155
 
144 156
 -- ----------------------------
145 157
 -- Records of erm_chat_disease
@@ -164,7 +176,7 @@ CREATE TABLE `erm_chat_disease_info`  (
164 176
   `update_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改人',
165 177
   `tenant_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租户',
166 178
   PRIMARY KEY (`id`) USING BTREE
167
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
179
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
168 180
 
169 181
 -- ----------------------------
170 182
 -- Records of erm_chat_disease_info
@@ -192,7 +204,11 @@ CREATE TABLE `erm_chat_history`  (
192 204
   `user_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '医生用户的账户',
193 205
   `user_phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '医生手机号',
194 206
   PRIMARY KEY (`id`) USING BTREE
195
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录表' ROW_FORMAT = Dynamic;
207
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录表' ROW_FORMAT = DYNAMIC;
208
+
209
+-- ----------------------------
210
+-- Records of erm_chat_history
211
+-- ----------------------------
196 212
 
197 213
 -- ----------------------------
198 214
 -- Table structure for erm_clinic_info
@@ -232,7 +248,11 @@ CREATE TABLE `erm_clinic_info`  (
232 248
   `version_repair_new` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '当前总服务器修复版本号',
233 249
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
234 250
   PRIMARY KEY (`id`) USING BTREE
235
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊所信息' ROW_FORMAT = Dynamic;
251
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊所信息' ROW_FORMAT = DYNAMIC;
252
+
253
+-- ----------------------------
254
+-- Records of erm_clinic_info
255
+-- ----------------------------
236 256
 
237 257
 -- ----------------------------
238 258
 -- Table structure for erm_collect_cost_details
@@ -254,7 +274,11 @@ CREATE TABLE `erm_collect_cost_details`  (
254 274
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
255 275
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
256 276
   PRIMARY KEY (`id`) USING BTREE
257
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类详情' ROW_FORMAT = Dynamic;
277
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类详情' ROW_FORMAT = DYNAMIC;
278
+
279
+-- ----------------------------
280
+-- Records of erm_collect_cost_details
281
+-- ----------------------------
258 282
 
259 283
 -- ----------------------------
260 284
 -- Table structure for erm_collect_cost_patients
@@ -276,7 +300,11 @@ CREATE TABLE `erm_collect_cost_patients`  (
276 300
   `net_receipts_cost` decimal(10, 2) NOT NULL DEFAULT 0.00 COMMENT '实收费用',
277 301
   `cost_status` int NOT NULL DEFAULT 1 COMMENT '收费状态(1待收费,2已收费)',
278 302
   PRIMARY KEY (`id`) USING BTREE
279
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息' ROW_FORMAT = Dynamic;
303
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息' ROW_FORMAT = DYNAMIC;
304
+
305
+-- ----------------------------
306
+-- Records of erm_collect_cost_patients
307
+-- ----------------------------
280 308
 
281 309
 -- ----------------------------
282 310
 -- Table structure for erm_collect_cost_patients_details
@@ -299,7 +327,11 @@ CREATE TABLE `erm_collect_cost_patients_details`  (
299 327
   `tooth_position` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '牙位',
300 328
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
301 329
   PRIMARY KEY (`id`) USING BTREE
302
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息详情' ROW_FORMAT = Dynamic;
330
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者收费信息详情' ROW_FORMAT = DYNAMIC;
331
+
332
+-- ----------------------------
333
+-- Records of erm_collect_cost_patients_details
334
+-- ----------------------------
303 335
 
304 336
 -- ----------------------------
305 337
 -- Table structure for erm_collect_cost_type
@@ -317,7 +349,11 @@ CREATE TABLE `erm_collect_cost_type`  (
317 349
   `cost_type_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类名称',
318 350
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
319 351
   PRIMARY KEY (`id`) USING BTREE
320
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类表' ROW_FORMAT = Dynamic;
352
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '收费分类表' ROW_FORMAT = DYNAMIC;
353
+
354
+-- ----------------------------
355
+-- Records of erm_collect_cost_type
356
+-- ----------------------------
321 357
 
322 358
 -- ----------------------------
323 359
 -- Table structure for erm_collection_doctor
@@ -334,7 +370,11 @@ CREATE TABLE `erm_collection_doctor`  (
334 370
   `doctor_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '医生id',
335 371
   `app_user_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'app端用户id',
336 372
   PRIMARY KEY (`id`) USING BTREE
337
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '我的医生' ROW_FORMAT = Dynamic;
373
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '我的医生' ROW_FORMAT = DYNAMIC;
374
+
375
+-- ----------------------------
376
+-- Records of erm_collection_doctor
377
+-- ----------------------------
338 378
 
339 379
 -- ----------------------------
340 380
 -- Table structure for erm_diagnosis_type
@@ -352,7 +392,11 @@ CREATE TABLE `erm_diagnosis_type`  (
352 392
   `diagnosis_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '诊断名称',
353 393
   PRIMARY KEY (`id`) USING BTREE,
354 394
   UNIQUE INDEX `idx_diagnosis_name`(`is_del` ASC, `parent_id` ASC, `diagnosis_name` ASC) USING BTREE
355
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类' ROW_FORMAT = Dynamic;
395
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类' ROW_FORMAT = DYNAMIC;
396
+
397
+-- ----------------------------
398
+-- Records of erm_diagnosis_type
399
+-- ----------------------------
356 400
 
357 401
 -- ----------------------------
358 402
 -- Table structure for erm_diagnosis_type_cost_project
@@ -370,7 +414,11 @@ CREATE TABLE `erm_diagnosis_type_cost_project`  (
370 414
   `collect_cost_details_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '收费分类详情ID',
371 415
   `total` int NOT NULL DEFAULT 0 COMMENT '数量',
372 416
   PRIMARY KEY (`id`) USING BTREE
373
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类收费项目表' ROW_FORMAT = Dynamic;
417
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类收费项目表' ROW_FORMAT = DYNAMIC;
418
+
419
+-- ----------------------------
420
+-- Records of erm_diagnosis_type_cost_project
421
+-- ----------------------------
374 422
 
375 423
 -- ----------------------------
376 424
 -- Table structure for erm_diagnosis_type_order_doctor
@@ -389,7 +437,11 @@ CREATE TABLE `erm_diagnosis_type_order_doctor`  (
389 437
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
390 438
   `parent_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '父级id',
391 439
   PRIMARY KEY (`id`) USING BTREE
392
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类排序与医生的关联表' ROW_FORMAT = Dynamic;
440
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类排序与医生的关联表' ROW_FORMAT = DYNAMIC;
441
+
442
+-- ----------------------------
443
+-- Records of erm_diagnosis_type_order_doctor
444
+-- ----------------------------
393 445
 
394 446
 -- ----------------------------
395 447
 -- Table structure for erm_diagnosis_type_template
@@ -412,7 +464,11 @@ CREATE TABLE `erm_diagnosis_type_template`  (
412 464
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
413 465
   PRIMARY KEY (`id`) USING BTREE,
414 466
   UNIQUE INDEX `idx_template_name`(`is_del` ASC, `diagnosis_type_id` ASC, `template_name` ASC) USING BTREE
415
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类模板' ROW_FORMAT = Dynamic;
467
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '诊断分类模板' ROW_FORMAT = DYNAMIC;
468
+
469
+-- ----------------------------
470
+-- Records of erm_diagnosis_type_template
471
+-- ----------------------------
416 472
 
417 473
 -- ----------------------------
418 474
 -- Table structure for erm_medical_history
@@ -433,7 +489,11 @@ CREATE TABLE `erm_medical_history`  (
433 489
   `disease_source` int NULL DEFAULT NULL COMMENT '疾病来源(1患者,2医生)',
434 490
   PRIMARY KEY (`id`) USING BTREE,
435 491
   UNIQUE INDEX `idx_id`(`is_del` ASC, `medical_record_id` ASC, `patient_id` ASC, `disease_source` ASC) USING BTREE
436
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病史表' ROW_FORMAT = Dynamic;
492
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病史表' ROW_FORMAT = DYNAMIC;
493
+
494
+-- ----------------------------
495
+-- Records of erm_medical_history
496
+-- ----------------------------
437 497
 
438 498
 -- ----------------------------
439 499
 -- Table structure for erm_medical_record
@@ -456,7 +516,11 @@ CREATE TABLE `erm_medical_record`  (
456 516
   `department` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '预约科室',
457 517
   `cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '费用',
458 518
   PRIMARY KEY (`id`) USING BTREE
459
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历表' ROW_FORMAT = Dynamic;
519
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历表' ROW_FORMAT = DYNAMIC;
520
+
521
+-- ----------------------------
522
+-- Records of erm_medical_record
523
+-- ----------------------------
460 524
 
461 525
 -- ----------------------------
462 526
 -- Table structure for erm_medical_record_details
@@ -484,7 +548,11 @@ CREATE TABLE `erm_medical_record_details`  (
484 548
   `template_view` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '模板视图',
485 549
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
486 550
   PRIMARY KEY (`id`) USING BTREE
487
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历详情表' ROW_FORMAT = Dynamic;
551
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '病历详情表' ROW_FORMAT = DYNAMIC;
552
+
553
+-- ----------------------------
554
+-- Records of erm_medical_record_details
555
+-- ----------------------------
488 556
 
489 557
 -- ----------------------------
490 558
 -- Table structure for erm_notice_manage
@@ -506,7 +574,11 @@ CREATE TABLE `erm_notice_manage`  (
506 574
   `display_status` int NULL DEFAULT NULL COMMENT '显示状态(1未开始,2显示中,3已结束)',
507 575
   `publish_people` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布人',
508 576
   PRIMARY KEY (`id`) USING BTREE
509
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告管理' ROW_FORMAT = Dynamic;
577
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '公告管理' ROW_FORMAT = DYNAMIC;
578
+
579
+-- ----------------------------
580
+-- Records of erm_notice_manage
581
+-- ----------------------------
510 582
 
511 583
 -- ----------------------------
512 584
 -- Table structure for erm_patient
@@ -544,7 +616,11 @@ CREATE TABLE `erm_patient`  (
544 616
   PRIMARY KEY (`id`) USING BTREE,
545 617
   UNIQUE INDEX `identification_card_idx`(`identification_card` ASC) USING BTREE COMMENT '身份证号',
546 618
   UNIQUE INDEX `medical_record_num_idx`(`medical_record_num` ASC) USING BTREE COMMENT '病历号'
547
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者表' ROW_FORMAT = Dynamic;
619
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者表' ROW_FORMAT = DYNAMIC;
620
+
621
+-- ----------------------------
622
+-- Records of erm_patient
623
+-- ----------------------------
548 624
 
549 625
 -- ----------------------------
550 626
 -- Table structure for erm_patient_appointment
@@ -575,7 +651,11 @@ CREATE TABLE `erm_patient_appointment`  (
575 651
   `register_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '登记人',
576 652
   `medical_record_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '病历id',
577 653
   PRIMARY KEY (`id`) USING BTREE
578
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者预约表' ROW_FORMAT = Dynamic;
654
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者预约表' ROW_FORMAT = DYNAMIC;
655
+
656
+-- ----------------------------
657
+-- Records of erm_patient_appointment
658
+-- ----------------------------
579 659
 
580 660
 -- ----------------------------
581 661
 -- Table structure for erm_patient_follow_up
@@ -599,7 +679,11 @@ CREATE TABLE `erm_patient_follow_up`  (
599 679
   `follow_up_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访内容:治疗一周回访、拔牙一天回访',
600 680
   `follow_up_result` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回访结果:无不适、数量出血、牙微疼痛',
601 681
   PRIMARY KEY (`id`) USING BTREE
602
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者回访表' ROW_FORMAT = Dynamic;
682
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '患者回访表' ROW_FORMAT = DYNAMIC;
683
+
684
+-- ----------------------------
685
+-- Records of erm_patient_follow_up
686
+-- ----------------------------
603 687
 
604 688
 -- ----------------------------
605 689
 -- Table structure for erm_protocol_template
@@ -618,7 +702,7 @@ CREATE TABLE `erm_protocol_template`  (
618 702
   `protocol_template_content` longblob NULL COMMENT '协议模板内容',
619 703
   `status` int NOT NULL DEFAULT 1 COMMENT '状态(1开启,0禁用)',
620 704
   PRIMARY KEY (`id`) USING BTREE
621
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议模板表' ROW_FORMAT = Dynamic;
705
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议模板表' ROW_FORMAT = DYNAMIC;
622 706
 
623 707
 -- ----------------------------
624 708
 -- Records of erm_protocol_template
@@ -641,7 +725,7 @@ CREATE TABLE `erm_protocol_type`  (
641 725
   `protocol_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '协议名称',
642 726
   `order_num` int NOT NULL DEFAULT 0 COMMENT '排序',
643 727
   PRIMARY KEY (`id`) USING BTREE
644
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议类型配置表' ROW_FORMAT = Dynamic;
728
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '协议类型配置表' ROW_FORMAT = DYNAMIC;
645 729
 
646 730
 -- ----------------------------
647 731
 -- Records of erm_protocol_type
@@ -665,7 +749,11 @@ CREATE TABLE `erm_scheduling_configuration`  (
665 749
   `week_num` int NOT NULL COMMENT '星期几',
666 750
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '工作状态',
667 751
   PRIMARY KEY (`id`) USING BTREE
668
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班配置' ROW_FORMAT = Dynamic;
752
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班配置' ROW_FORMAT = DYNAMIC;
753
+
754
+-- ----------------------------
755
+-- Records of erm_scheduling_configuration
756
+-- ----------------------------
669 757
 
670 758
 -- ----------------------------
671 759
 -- Table structure for erm_scheduling_details
@@ -686,7 +774,11 @@ CREATE TABLE `erm_scheduling_details`  (
686 774
   `work_day` int NULL DEFAULT NULL COMMENT '工作月份',
687 775
   `work_status` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作状态',
688 776
   PRIMARY KEY (`id`) USING BTREE
689
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班详情' ROW_FORMAT = Dynamic;
777
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班详情' ROW_FORMAT = DYNAMIC;
778
+
779
+-- ----------------------------
780
+-- Records of erm_scheduling_details
781
+-- ----------------------------
690 782
 
691 783
 -- ----------------------------
692 784
 -- Table structure for erm_scheduling_status
@@ -706,7 +798,7 @@ CREATE TABLE `erm_scheduling_status`  (
706 798
   `color` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '颜色',
707 799
   `order_num` int NULL DEFAULT 0 COMMENT '排序',
708 800
   PRIMARY KEY (`id`) USING BTREE
709
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班类型' ROW_FORMAT = Dynamic;
801
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '排班类型' ROW_FORMAT = DYNAMIC;
710 802
 
711 803
 -- ----------------------------
712 804
 -- Records of erm_scheduling_status
@@ -743,7 +835,11 @@ CREATE TABLE `gen_table`  (
743 835
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
744 836
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
745 837
   PRIMARY KEY (`table_id`) USING BTREE
746
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表' ROW_FORMAT = Dynamic;
838
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表' ROW_FORMAT = DYNAMIC;
839
+
840
+-- ----------------------------
841
+-- Records of gen_table
842
+-- ----------------------------
747 843
 
748 844
 -- ----------------------------
749 845
 -- Table structure for gen_table_column
@@ -773,7 +869,11 @@ CREATE TABLE `gen_table_column`  (
773 869
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
774 870
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
775 871
   PRIMARY KEY (`column_id`) USING BTREE
776
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = Dynamic;
872
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = DYNAMIC;
873
+
874
+-- ----------------------------
875
+-- Records of gen_table_column
876
+-- ----------------------------
777 877
 
778 878
 -- ----------------------------
779 879
 -- Table structure for sys_clinic_info
@@ -784,6 +884,8 @@ CREATE TABLE `sys_clinic_info`  (
784 884
   `clinic_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所编号',
785 885
   `clinic_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '诊所名称',
786 886
   `clinic_ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务IP',
887
+  `server_post` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务端口',
888
+  `web_socket_post` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'websocket端口',
787 889
   `server_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务用户',
788 890
   `server_password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '服务密码',
789 891
   `realm_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '诊所域名',
@@ -807,16 +909,11 @@ CREATE TABLE `sys_clinic_info`  (
807 909
   `v_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '履约版本MD5的编码',
808 910
   `repair_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'bug版本MD5的编码',
809 911
   PRIMARY KEY (`id`) USING BTREE
810
-) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '诊所信息表' ROW_FORMAT = Dynamic;
912
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '诊所信息表' ROW_FORMAT = DYNAMIC;
811 913
 
812 914
 -- ----------------------------
813 915
 -- Records of sys_clinic_info
814 916
 -- ----------------------------
815
-INSERT INTO `sys_clinic_info` VALUES ('0f6337a1d89e6677d8a86da9f07b65f3', '0005', '津门第一牙', '117.9.171.201', 'root', 'guoneng123', 'www.jmdyy.com', '2024-07-01 00:00:00', '2025-07-01 00:00:00', '天津', '15677889931', '天津', NULL, NULL, 0, '2024-07-31 08:54:36', 'admin', '2024-07-31 08:54:36', 'admin', NULL, '0', '免费版', 'v1', 'v3', '5cdb8717c0d7f3f3c8d5bc3291200e1f', NULL);
816
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724b34', '0003', '智慧口腔小三牙医', '127.0.0.1', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-12-21 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-07-30 11:27:29', 'admin', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '59a255e27266178f0d38e8738f805b90', '59a255e27266178f0d38e8738f805b90');
817
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc2', '0001', '智慧口腔小一牙医', '117.9.168.88', 'root', '123456', 'com', '2024-06-20 00:00:00', '2024-06-28 00:00:00', '天津', '15823456789', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-06-20 15:16:30', 'admin', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v1', '4bf63c523fb4a00efb2b18a218354a4cc', '4bf63c523fb4a00efb2b18a218354a4c');
818
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc6', '0002', '智慧口腔小二牙医', '192.168.3.21', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-07-31 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-08-02 14:02:50', '刘一', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '9b7ccda7772b8e7f478c86472de1fb65', '2742130523ff031daf861eaa6f3be3b3');
819
-INSERT INTO `sys_clinic_info` VALUES ('17f30dfc52a960c2a9eb1bc375724bc8', '0004', '智慧口腔小三牙医', '192.168.3.142', 'root', '123456', 'com', '2024-06-20 15:08:23', '2024-12-21 15:08:23', '天津', '12345678901', 'address', 1, 1, 0, '2024-06-20 00:00:00', 'admin', '2024-08-02 14:02:33', '刘一', NULL, 'ED39BA70-393D-4B28-ADE6-68184C0D6BAC', '基础版', 'v1', 'v2', '59a255e27266178f0d38e8738f805b90', '59a255e27266178f0d38e8738f805b90');
820 917
 
821 918
 -- ----------------------------
822 919
 -- Table structure for sys_config
@@ -834,7 +931,7 @@ CREATE TABLE `sys_config`  (
834 931
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
835 932
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
836 933
   PRIMARY KEY (`config_id`) USING BTREE
837
-) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参数配置表' ROW_FORMAT = Dynamic;
934
+) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参数配置表' ROW_FORMAT = DYNAMIC;
838 935
 
839 936
 -- ----------------------------
840 937
 -- Records of sys_config
@@ -866,7 +963,7 @@ CREATE TABLE `sys_dept`  (
866 963
   `update_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '更新者',
867 964
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
868 965
   PRIMARY KEY (`dept_id`) USING BTREE
869
-) ENGINE = InnoDB AUTO_INCREMENT = 102 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表(门诊-科室)' ROW_FORMAT = Dynamic;
966
+) ENGINE = InnoDB AUTO_INCREMENT = 102 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表(门诊-科室)' ROW_FORMAT = DYNAMIC;
870 967
 
871 968
 -- ----------------------------
872 969
 -- Records of sys_dept
@@ -894,7 +991,7 @@ CREATE TABLE `sys_dict_data`  (
894 991
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
895 992
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
896 993
   PRIMARY KEY (`dict_code`) USING BTREE
897
-) ENGINE = InnoDB AUTO_INCREMENT = 160 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;
994
+) ENGINE = InnoDB AUTO_INCREMENT = 160 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
898 995
 
899 996
 -- ----------------------------
900 997
 -- Records of sys_dict_data
@@ -982,7 +1079,7 @@ CREATE TABLE `sys_dict_type`  (
982 1079
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
983 1080
   PRIMARY KEY (`dict_id`) USING BTREE,
984 1081
   UNIQUE INDEX `dict_type`(`dict_type` ASC) USING BTREE
985
-) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic;
1082
+) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
986 1083
 
987 1084
 -- ----------------------------
988 1085
 -- Records of sys_dict_type
@@ -1025,7 +1122,7 @@ CREATE TABLE `sys_job`  (
1025 1122
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1026 1123
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注信息',
1027 1124
   PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE
1028
-) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = Dynamic;
1125
+) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度表' ROW_FORMAT = DYNAMIC;
1029 1126
 
1030 1127
 -- ----------------------------
1031 1128
 -- Records of sys_job
@@ -1048,7 +1145,11 @@ CREATE TABLE `sys_job_log`  (
1048 1145
   `exception_info` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '异常信息',
1049 1146
   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
1050 1147
   PRIMARY KEY (`job_log_id`) USING BTREE
1051
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度日志表' ROW_FORMAT = Dynamic;
1148
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '定时任务调度日志表' ROW_FORMAT = DYNAMIC;
1149
+
1150
+-- ----------------------------
1151
+-- Records of sys_job_log
1152
+-- ----------------------------
1052 1153
 
1053 1154
 -- ----------------------------
1054 1155
 -- Table structure for sys_logininfor
@@ -1067,7 +1168,11 @@ CREATE TABLE `sys_logininfor`  (
1067 1168
   PRIMARY KEY (`info_id`) USING BTREE,
1068 1169
   INDEX `idx_sys_logininfor_s`(`status` ASC) USING BTREE,
1069 1170
   INDEX `idx_sys_logininfor_lt`(`login_time` ASC) USING BTREE
1070
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统访问记录' ROW_FORMAT = Dynamic;
1171
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
1172
+
1173
+-- ----------------------------
1174
+-- Records of sys_logininfor
1175
+-- ----------------------------
1071 1176
 
1072 1177
 -- ----------------------------
1073 1178
 -- Table structure for sys_menu
@@ -1094,7 +1199,7 @@ CREATE TABLE `sys_menu`  (
1094 1199
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1095 1200
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
1096 1201
   PRIMARY KEY (`menu_id`) USING BTREE
1097
-) ENGINE = InnoDB AUTO_INCREMENT = 2019 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单权限表' ROW_FORMAT = Dynamic;
1202
+) ENGINE = InnoDB AUTO_INCREMENT = 2019 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单权限表' ROW_FORMAT = DYNAMIC;
1098 1203
 
1099 1204
 -- ----------------------------
1100 1205
 -- Records of sys_menu
@@ -1198,7 +1303,7 @@ INSERT INTO `sys_menu` VALUES (2013, '就诊记录', 0, 2, '/medicalRecords', 'm
1198 1303
 INSERT INTO `sys_menu` VALUES (2014, '收费分类', 2007, 8, 'feeClassification', 'settingsPage/feeClassification/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-22 09:56:37', 'admin', '2024-07-22 10:03:07', '');
1199 1304
 INSERT INTO `sys_menu` VALUES (2015, '患者收费分类', 2007, 9, 'patientFees', 'settingsPage/patientFees/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-22 16:21:40', '', NULL, '');
1200 1305
 INSERT INTO `sys_menu` VALUES (2016, '运营分析', 0, 6, '/operationsAnalysis', 'operationsAnalysis/index', NULL, 1, 0, 'C', '0', '0', NULL, 'server', 'admin', '2024-07-25 15:16:05', '', NULL, '');
1201
-INSERT INTO `sys_menu` VALUES (2017, '诊所维护', 2007, 40, 'clinicMaintenance', 'settingsPage/clinicMaintenance/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-30 09:08:55', 'admin', '2024-07-30 09:10:04', '');
1306
+INSERT INTO `sys_menu` VALUES (2017, '诊所维护', 1, 40, 'clinicMaintenance', 'settingsPage/clinicMaintenance/index', NULL, 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-07-30 09:08:55', 'admin', '2024-08-09 14:33:37', '');
1202 1307
 INSERT INTO `sys_menu` VALUES (2018, '公告管理', 2007, 50, 'announcements', 'settingsPage/announcements/index', NULL, 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-07-30 14:39:33', '', NULL, '');
1203 1308
 
1204 1309
 -- ----------------------------
@@ -1217,7 +1322,11 @@ CREATE TABLE `sys_notice`  (
1217 1322
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1218 1323
   `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1219 1324
   PRIMARY KEY (`notice_id`) USING BTREE
1220
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '通知公告表' ROW_FORMAT = Dynamic;
1325
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '通知公告表' ROW_FORMAT = DYNAMIC;
1326
+
1327
+-- ----------------------------
1328
+-- Records of sys_notice
1329
+-- ----------------------------
1221 1330
 
1222 1331
 -- ----------------------------
1223 1332
 -- Table structure for sys_oper_log
@@ -1245,7 +1354,11 @@ CREATE TABLE `sys_oper_log`  (
1245 1354
   INDEX `idx_sys_oper_log_bt`(`business_type` ASC) USING BTREE,
1246 1355
   INDEX `idx_sys_oper_log_s`(`status` ASC) USING BTREE,
1247 1356
   INDEX `idx_sys_oper_log_ot`(`oper_time` ASC) USING BTREE
1248
-) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志记录' ROW_FORMAT = Dynamic;
1357
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
1358
+
1359
+-- ----------------------------
1360
+-- Records of sys_oper_log
1361
+-- ----------------------------
1249 1362
 
1250 1363
 -- ----------------------------
1251 1364
 -- Table structure for sys_post
@@ -1263,7 +1376,7 @@ CREATE TABLE `sys_post`  (
1263 1376
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1264 1377
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1265 1378
   PRIMARY KEY (`post_id`) USING BTREE
1266
-) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位信息表' ROW_FORMAT = Dynamic;
1379
+) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位信息表' ROW_FORMAT = DYNAMIC;
1267 1380
 
1268 1381
 -- ----------------------------
1269 1382
 -- Records of sys_post
@@ -1290,7 +1403,7 @@ CREATE TABLE `sys_role`  (
1290 1403
   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
1291 1404
   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
1292 1405
   PRIMARY KEY (`role_id`) USING BTREE
1293
-) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic;
1406
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;
1294 1407
 
1295 1408
 -- ----------------------------
1296 1409
 -- Records of sys_role
@@ -1305,7 +1418,11 @@ CREATE TABLE `sys_role_dept`  (
1305 1418
   `role_id` bigint NOT NULL COMMENT '角色ID',
1306 1419
   `dept_id` bigint NOT NULL COMMENT '部门ID',
1307 1420
   PRIMARY KEY (`role_id`, `dept_id`) USING BTREE
1308
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = Dynamic;
1421
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = DYNAMIC;
1422
+
1423
+-- ----------------------------
1424
+-- Records of sys_role_dept
1425
+-- ----------------------------
1309 1426
 
1310 1427
 -- ----------------------------
1311 1428
 -- Table structure for sys_role_menu
@@ -1315,7 +1432,11 @@ CREATE TABLE `sys_role_menu`  (
1315 1432
   `role_id` bigint NOT NULL COMMENT '角色ID',
1316 1433
   `menu_id` bigint NOT NULL COMMENT '菜单ID',
1317 1434
   PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
1318
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = Dynamic;
1435
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;
1436
+
1437
+-- ----------------------------
1438
+-- Records of sys_role_menu
1439
+-- ----------------------------
1319 1440
 
1320 1441
 -- ----------------------------
1321 1442
 -- Table structure for sys_user
@@ -1349,7 +1470,7 @@ CREATE TABLE `sys_user`  (
1349 1470
   `doctor_proficient` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生擅长',
1350 1471
   `doctor_blurb` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '医生简介',
1351 1472
   PRIMARY KEY (`user_id`) USING BTREE
1352
-) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic;
1473
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户信息表' ROW_FORMAT = DYNAMIC;
1353 1474
 
1354 1475
 -- ----------------------------
1355 1476
 -- Records of sys_user
@@ -1364,7 +1485,7 @@ CREATE TABLE `sys_user_post`  (
1364 1485
   `user_id` bigint NOT NULL COMMENT '用户ID',
1365 1486
   `post_id` bigint NOT NULL COMMENT '岗位ID',
1366 1487
   PRIMARY KEY (`user_id`, `post_id`) USING BTREE
1367
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = Dynamic;
1488
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = DYNAMIC;
1368 1489
 
1369 1490
 -- ----------------------------
1370 1491
 -- Records of sys_user_post
@@ -1379,7 +1500,7 @@ CREATE TABLE `sys_user_role`  (
1379 1500
   `user_id` bigint NOT NULL COMMENT '用户ID',
1380 1501
   `role_id` bigint NOT NULL COMMENT '角色ID',
1381 1502
   PRIMARY KEY (`user_id`, `role_id`) USING BTREE
1382
-) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = Dynamic;
1503
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;
1383 1504
 
1384 1505
 -- ----------------------------
1385 1506
 -- Records of sys_user_role