parent
d58e17363b
commit
31a0e487cb
3 changed files with 140 additions and 0 deletions
@ -0,0 +1,51 @@ |
||||
/* |
||||
Navicat Premium Data Transfer |
||||
|
||||
Source Server : localhost mysql |
||||
Source Server Type : MySQL |
||||
Source Server Version : 80033 (8.0.33) |
||||
Source Host : localhost:3306 |
||||
Source Schema : ynxbd_wx |
||||
|
||||
Target Server Type : MySQL |
||||
Target Server Version : 80033 (8.0.33) |
||||
File Encoding : 65001 |
||||
|
||||
Date: 16/08/2023 17:13:08 |
||||
*/ |
||||
|
||||
SET NAMES utf8mb4; |
||||
SET FOREIGN_KEY_CHECKS = 0; |
||||
|
||||
-- ---------------------------- |
||||
-- Table structure for chronic |
||||
-- ---------------------------- |
||||
DROP TABLE IF EXISTS `chronic`; |
||||
CREATE TABLE `chronic` ( |
||||
`ChronicId` int NOT NULL AUTO_INCREMENT, |
||||
`ApplyName` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '申请人', |
||||
`ApplyTime` datetime DEFAULT NULL COMMENT '申请时间', |
||||
`PatientId` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '患者Id', |
||||
`ReserveTime` varchar(100) DEFAULT NULL COMMENT '预约时间', |
||||
`OpenId` varchar(50) DEFAULT NULL, |
||||
`Idcard` varchar(18) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '身份证', |
||||
`TreatId` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '住院号/门诊号', |
||||
`PatientType` int DEFAULT NULL COMMENT '患者类型', |
||||
`DiagProve` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '诊断证明', |
||||
`IdcardFont` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '身份证正面', |
||||
`IdcardBack` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '身份证反面', |
||||
`InHospProve` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '住院证明', |
||||
`ChronicName` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '病种名称', |
||||
`ChronicCode` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '病种代码', |
||||
`CheckTime` datetime DEFAULT NULL COMMENT '审核时间', |
||||
`Checker` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '审核人', |
||||
`Reply` varchar(2000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '回复', |
||||
`DeleteTime` datetime DEFAULT NULL COMMENT '取消时间', |
||||
`Phone` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '电话号码', |
||||
`Address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '地址', |
||||
`RejectTime` datetime DEFAULT NULL COMMENT '拒绝时间', |
||||
`Rejecter` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '拒绝人', |
||||
PRIMARY KEY (`ChronicId`) |
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3; |
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1; |
@ -0,0 +1,42 @@ |
||||
/* |
||||
Navicat Premium Data Transfer |
||||
|
||||
Source Server : localhost mysql |
||||
Source Server Type : MySQL |
||||
Source Server Version : 80033 (8.0.33) |
||||
Source Host : localhost:3306 |
||||
Source Schema : ynxbd_wx |
||||
|
||||
Target Server Type : MySQL |
||||
Target Server Version : 80033 (8.0.33) |
||||
File Encoding : 65001 |
||||
|
||||
Date: 16/08/2023 17:13:25 |
||||
*/ |
||||
|
||||
SET NAMES utf8mb4; |
||||
SET FOREIGN_KEY_CHECKS = 0; |
||||
|
||||
-- ---------------------------- |
||||
-- Table structure for dict_chronic |
||||
-- ---------------------------- |
||||
DROP TABLE IF EXISTS `dict_chronic`; |
||||
CREATE TABLE `dict_chronic` ( |
||||
`ChronicId` int NOT NULL AUTO_INCREMENT, |
||||
`ChronicName` varchar(200) DEFAULT NULL, |
||||
`ChronicTip` varchar(500) DEFAULT NULL, |
||||
`ChronicType` int DEFAULT NULL COMMENT '门诊/住院\n1.门诊\n2.住院', |
||||
PRIMARY KEY (`ChronicId`) |
||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3; |
||||
|
||||
-- ---------------------------- |
||||
-- Records of dict_chronic |
||||
-- ---------------------------- |
||||
BEGIN; |
||||
INSERT INTO `dict_chronic` (`ChronicId`, `ChronicName`, `ChronicTip`, `ChronicType`) VALUES (1, '高血压', NULL, 1); |
||||
INSERT INTO `dict_chronic` (`ChronicId`, `ChronicName`, `ChronicTip`, `ChronicType`) VALUES (2, '肝炎', NULL, 1); |
||||
INSERT INTO `dict_chronic` (`ChronicId`, `ChronicName`, `ChronicTip`, `ChronicType`) VALUES (3, '抑郁症', NULL, 1); |
||||
INSERT INTO `dict_chronic` (`ChronicId`, `ChronicName`, `ChronicTip`, `ChronicType`) VALUES (4, '甲亢', NULL, 1); |
||||
COMMIT; |
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1; |
@ -0,0 +1,47 @@ |
||||
/* |
||||
Navicat Premium Data Transfer |
||||
|
||||
Source Server : localhost mysql |
||||
Source Server Type : MySQL |
||||
Source Server Version : 80033 (8.0.33) |
||||
Source Host : localhost:3306 |
||||
Source Schema : ynxbd_wx |
||||
|
||||
Target Server Type : MySQL |
||||
Target Server Version : 80033 (8.0.33) |
||||
File Encoding : 65001 |
||||
|
||||
Date: 16/08/2023 17:13:40 |
||||
*/ |
||||
|
||||
SET NAMES utf8mb4; |
||||
SET FOREIGN_KEY_CHECKS = 0; |
||||
|
||||
-- ---------------------------- |
||||
-- Table structure for record |
||||
-- ---------------------------- |
||||
DROP TABLE IF EXISTS `record`; |
||||
CREATE TABLE `record` ( |
||||
`RecordId` int NOT NULL AUTO_INCREMENT, |
||||
`ApplyTime` datetime DEFAULT NULL COMMENT '申请时间', |
||||
`ApplyName` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '申请人', |
||||
`Idcard` varchar(18) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '身份证号', |
||||
`PatientId` varchar(20) DEFAULT NULL, |
||||
`OpenId` varchar(40) DEFAULT NULL, |
||||
`IdcardFront` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '身份证正面照片 base64', |
||||
`IdcardBack` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '身份证反面照片 base64', |
||||
`TreatId` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '住院号', |
||||
`InHospProve` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci COMMENT '住院证明照片 base64', |
||||
`Use` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '用途', |
||||
`GetWay` int DEFAULT NULL COMMENT '获取方式 1.邮寄 2.自取', |
||||
`Address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '地址', |
||||
`Phone` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '电话号码', |
||||
`CheckTime` datetime DEFAULT NULL COMMENT '审核时间', |
||||
`Checker` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '审核人', |
||||
`DeleteTime` datetime DEFAULT NULL COMMENT '取消申请时间', |
||||
`RejectTime` datetime DEFAULT NULL, |
||||
`Rejecter` varchar(40) DEFAULT NULL, |
||||
PRIMARY KEY (`RecordId`) |
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; |
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1; |
Loading…
Reference in new issue