My_plan_51

Posted anyiz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了My_plan_51相关的知识,希望对你有一定的参考价值。

/*
Navicat mysql Data Transfer

Source Server : plan
Source Server Type : MySQL
Source Server Version : 50717
Source Host : localhost:3306
Source Schema : plan

Target Server Type : MySQL
Target Server Version : 50717
File Encoding : 65001

Date: 29/08/2018 15:31:18
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for cases
-- ----------------------------
DROP TABLE IF EXISTS `cases`;
CREATE TABLE `cases` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘主键‘,
`Belong` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘所属病人‘,
`Rmemoir` varchar(6000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘病人自述‘,
`Ridea` varchar(6000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘医师诊断意见‘,
`Rhistory` varchar(6000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘(废除)既往病史‘,
`Rdate` datetime(0) NULL DEFAULT NULL COMMENT ‘病例创建日期‘,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ‘病例表‘ ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for login
-- ----------------------------
DROP TABLE IF EXISTS `login`;
CREATE TABLE `login` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘主键‘,
`username` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘用户名称‘,
`password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘登陆密码‘,
`createdate` datetime(0) NULL DEFAULT NULL COMMENT ‘创建时间‘,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ‘用户表‘ ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of login
-- ----------------------------
INSERT INTO `login` VALUES (1, ‘123‘, ‘123‘, ‘2018-08-03 10:18:49‘);

-- ----------------------------
-- Table structure for medicine
-- ----------------------------
DROP TABLE IF EXISTS `medicine`;
CREATE TABLE `medicine` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘主键‘,
`Mname` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘药品名称‘,
`Mmoney` double(10, 3) NULL DEFAULT NULL COMMENT ‘价格‘,
`Pin` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘拼音码‘,
`Mdate` datetime(0) NULL DEFAULT NULL COMMENT ‘操作日期‘,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ‘药材表‘ ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for person
-- ----------------------------
DROP TABLE IF EXISTS `person`;
CREATE TABLE `person` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘主键‘,
`Pname` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘病人姓名‘,
`Psex` varchar(5) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘性别‘,
`Paddress` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘病人住址‘,
`PTEL1` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘联系电话1‘,
`PTEL2` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘联系电话2‘,
`Pdate` datetime(0) NULL DEFAULT NULL COMMENT ‘创建日期‘,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ‘病人表‘ ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of person
-- ----------------------------
INSERT INTO `person` VALUES (1, ‘1‘, ‘0‘, ‘1‘, ‘1‘, NULL, ‘2018-08-03 18:31:27‘);
INSERT INTO `person` VALUES (2, ‘1‘, ‘0‘, ‘1‘, ‘1‘, NULL, ‘2018-08-03 18:34:06‘);
INSERT INTO `person` VALUES (3, ‘张帆‘, ‘1‘, ‘山西省忻州市代县‘, ‘15510119814‘, NULL, ‘2018-08-03 18:35:29‘);
INSERT INTO `person` VALUES (4, ‘a‘, ‘0‘, ‘a‘, ‘a‘, NULL, ‘2018-08-06 18:25:01‘);
INSERT INTO `person` VALUES (5, ‘b‘, ‘0‘, ‘b‘, ‘b‘, NULL, ‘2018-08-06 18:25:05‘);
INSERT INTO `person` VALUES (6, ‘c‘, ‘0‘, ‘c‘, ‘c‘, NULL, ‘2018-08-06 18:25:08‘);
INSERT INTO `person` VALUES (7, ‘d‘, ‘0‘, ‘d‘, ‘d‘, NULL, ‘2018-08-06 18:25:10‘);
INSERT INTO `person` VALUES (8, ‘e‘, ‘0‘, ‘e‘, ‘e‘, NULL, ‘2018-08-06 18:25:13‘);
INSERT INTO `person` VALUES (9, ‘f‘, ‘0‘, ‘f‘, ‘f‘, NULL, ‘2018-08-06 18:25:16‘);
INSERT INTO `person` VALUES (10, ‘g‘, ‘0‘, ‘g‘, ‘g‘, NULL, ‘2018-08-06 18:25:18‘);
INSERT INTO `person` VALUES (11, ‘h‘, ‘0‘, ‘h‘, ‘h‘, NULL, ‘2018-08-06 18:25:21‘);
INSERT INTO `person` VALUES (12, ‘l‘, ‘0‘, ‘l‘, ‘l‘, NULL, ‘2018-08-06 18:25:27‘);
INSERT INTO `person` VALUES (13, ‘m‘, ‘0‘, ‘m‘, ‘m‘, NULL, ‘2018-08-06 18:25:30‘);
INSERT INTO `person` VALUES (14, ‘n‘, ‘0‘, ‘n‘, ‘n‘, NULL, ‘2018-08-06 18:25:34‘);
INSERT INTO `person` VALUES (15, ‘o‘, ‘0‘, ‘o‘, ‘o‘, NULL, ‘2018-08-06 18:25:37‘);
INSERT INTO `person` VALUES (16, ‘p‘, ‘0‘, ‘p‘, ‘p‘, NULL, ‘2018-08-06 18:25:40‘);
INSERT INTO `person` VALUES (17, ‘q‘, ‘0‘, ‘q‘, ‘q‘, NULL, ‘2018-08-06 18:25:43‘);
INSERT INTO `person` VALUES (18, ‘r‘, ‘0‘, ‘r‘, ‘r‘, NULL, ‘2018-08-06 18:25:46‘);
INSERT INTO `person` VALUES (19, ‘s‘, ‘0‘, ‘s‘, ‘s‘, NULL, ‘2018-08-06 18:25:50‘);
INSERT INTO `person` VALUES (20, ‘t‘, ‘0‘, ‘t‘, ‘t‘, NULL, ‘2018-08-06 18:25:53‘);
INSERT INTO `person` VALUES (21, ‘u‘, ‘0‘, ‘u‘, ‘u‘, NULL, ‘2018-08-06 18:25:56‘);
INSERT INTO `person` VALUES (22, ‘v‘, ‘0‘, ‘v‘, ‘v‘, NULL, ‘2018-08-06 18:25:59‘);
INSERT INTO `person` VALUES (23, ‘w‘, ‘0‘, ‘w‘, ‘w‘, NULL, ‘2018-08-06 18:26:06‘);
INSERT INTO `person` VALUES (24, ‘x‘, ‘0‘, ‘x‘, ‘x‘, NULL, ‘2018-08-06 18:26:09‘);
INSERT INTO `person` VALUES (25, ‘y‘, ‘0‘, ‘y‘, ‘y‘, NULL, ‘2018-08-06 18:26:12‘);
INSERT INTO `person` VALUES (26, ‘z‘, ‘0‘, ‘z‘, ‘z‘, NULL, ‘2018-08-06 18:26:15‘);
INSERT INTO `person` VALUES (27, ‘AA‘, ‘0‘, ‘AA‘, ‘AA‘, NULL, ‘2018-08-09 14:20:08‘);
INSERT INTO `person` VALUES (28, ‘AAA‘, ‘0‘, ‘AAA‘, ‘AAA‘, NULL, ‘2018-08-09 14:40:28‘);
INSERT INTO `person` VALUES (29, ‘QQ‘, ‘0‘, ‘QQ‘, ‘QQ‘, NULL, ‘2018-08-09 14:46:46‘);
INSERT INTO `person` VALUES (30, ‘WW‘, ‘0‘, ‘WW‘, ‘WW‘, NULL, ‘2018-08-09 14:49:04‘);
INSERT INTO `person` VALUES (31, ‘WW‘, ‘0‘, ‘WW‘, ‘WW‘, NULL, ‘2018-08-09 14:49:12‘);
INSERT INTO `person` VALUES (32, ‘AS‘, ‘0‘, ‘AS‘, ‘As‘, NULL, ‘2018-08-09 14:51:55‘);
INSERT INTO `person` VALUES (33, ‘AZ‘, ‘0‘, ‘AZ‘, ‘AZ‘, NULL, ‘2018-08-09 14:52:37‘);
INSERT INTO `person` VALUES (34, ‘AZ‘, ‘1‘, ‘AZ‘, ‘‘, NULL, ‘2018-08-09 14:52:42‘);
INSERT INTO `person` VALUES (35, ‘AZ‘, ‘1‘, ‘AZ‘, ‘‘, NULL, ‘2018-08-09 14:52:45‘);
INSERT INTO `person` VALUES (36, ‘AZ‘, ‘1‘, ‘AZ‘, ‘‘, NULL, ‘2018-08-09 14:52:45‘);
INSERT INTO `person` VALUES (37, ‘EE‘, ‘0‘, ‘E‘, ‘E‘, NULL, ‘2018-08-09 15:08:56‘);
INSERT INTO `person` VALUES (38, ‘QQ‘, ‘0‘, ‘QQQQ‘, ‘QQ‘, NULL, ‘2018-08-09 16:55:49‘);
INSERT INTO `person` VALUES (39, ‘FFF‘, ‘0‘, ‘FFF‘, ‘FFF‘, NULL, ‘2018-08-09 17:06:15‘);
INSERT INTO `person` VALUES (40, ‘XU‘, ‘0‘, ‘XU‘, ‘XU‘, NULL, ‘2018-08-09 17:07:44‘);
INSERT INTO `person` VALUES (41, ‘GH‘, ‘0‘, ‘GH‘, ‘GH‘, NULL, ‘2018-08-14 15:55:30‘);
INSERT INTO `person` VALUES (42, ‘HH‘, ‘0‘, ‘HH‘, ‘HH‘, NULL, ‘2018-08-14 16:00:48‘);
INSERT INTO `person` VALUES (43, ‘HH‘, ‘0‘, ‘232‘, ‘12312‘, NULL, ‘2018-08-21 17:28:56‘);
INSERT INTO `person` VALUES (44, ‘FF‘, ‘0‘, ‘FFF‘, ‘FF‘, NULL, ‘2018-08-21 17:30:48‘);
INSERT INTO `person` VALUES (45, ‘JJ‘, ‘0‘, ‘JJJJJ‘, ‘JJJJJ‘, NULL, ‘2018-08-21 17:32:34‘);
INSERT INTO `person` VALUES (46, ‘1‘, ‘0‘, ‘1111111‘, ‘12312‘, NULL, ‘2018-08-21 17:34:48‘);
INSERT INTO `person` VALUES (47, ‘XXX‘, ‘1‘, ‘XXXXXX‘, ‘XXX‘, NULL, ‘2018-08-21 17:46:07‘);
INSERT INTO `person` VALUES (48, ‘3‘, ‘0‘, ‘33333‘, ‘33‘, NULL, ‘2018-08-21 17:48:47‘);
INSERT INTO `person` VALUES (49, ‘55‘, ‘0‘, ‘555‘, ‘555‘, NULL, ‘2018-08-21 17:50:42‘);
INSERT INTO `person` VALUES (50, ‘55‘, ‘0‘, ‘555‘, ‘555‘, NULL, ‘2018-08-21 17:50:43‘);
INSERT INTO `person` VALUES (51, ‘3354‘, ‘0‘, ‘35435345‘, ‘3453‘, NULL, ‘2018-08-21 17:53:27‘);
INSERT INTO `person` VALUES (52, ‘77‘, ‘0‘, ‘77777‘, ‘7777‘, NULL, ‘2018-08-21 17:54:27‘);
INSERT INTO `person` VALUES (53, ‘88‘, ‘0‘, ‘888‘, ‘88‘, NULL, ‘2018-08-21 17:56:09‘);
INSERT INTO `person` VALUES (54, ‘99‘, ‘0‘, ‘99‘, ‘99‘, NULL, ‘2018-08-21 17:56:59‘);
INSERT INTO `person` VALUES (55, ‘99‘, ‘1‘, ‘99‘, ‘99‘, NULL, ‘2018-08-21 17:58:57‘);

-- ----------------------------
-- Table structure for prescription
-- ----------------------------
DROP TABLE IF EXISTS `prescription`;
CREATE TABLE `prescription` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT ‘主键‘,
`Rid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘所属病例‘,
`prMedicine` varchar(20000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘处方字段‘,
`prMoney` double(10, 3) NULL DEFAULT NULL COMMENT ‘处方总金额‘,
`prDate` datetime(0) NULL DEFAULT NULL COMMENT ‘处方创建日期‘,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = ‘药方表‘ ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for test
-- ----------------------------
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`a` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

以上是关于My_plan_51的主要内容,如果未能解决你的问题,请参考以下文章

sh habitat_plan_2.sh

Atcoder Grand Contest 018 E - Sightseeing Plan

如何从 Rails 中的枚举中获取整数值?

注册带有Portal功能的DYN365_ENTERPRISE_PLAN1地址

Apollo planning模块

Power Apps Community Plan及一些常见问题