基于SSM的心理预约咨询管理系统-JAVA.VUE【数据库设计、开题报告】

功能介绍

实现了常见病症管理、常见病症收藏管理、字典管理、心理文章管理、心理文章收藏管理、心理文章留言管理、用户管理、咨询师管理、咨询师收藏管理、咨询师留言管理、咨询师订单管理、管理员管理等功能。

使用技术

开发语言:Java
使用框架:ssm
前端技术:JavaScript、VUE.js(2.X)、css3
数据库:MySQL 5.7
数据库管理工具:Navicat或sqlyog
开发工具:IDEA或Eclipse均可

数据库脚本




/*
SQLyog Ultimate v11.3 (64 bit)
MySQL - 5.7.32-log : Database - xinliyuyuezixunguanlixitong
*********************************************************************
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`xinliyuyuezixunguanlixitong` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `xinliyuyuezixunguanlixitong`;

/*Table structure for table `bingzheng` */

DROP TABLE IF EXISTS `bingzheng`;

CREATE TABLE `bingzheng` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `bingzheng_name` varchar(200) DEFAULT NULL COMMENT '常见病症名称  Search111 ',
  `bingzheng_uuid_number` varchar(200) DEFAULT NULL COMMENT '常见病症编号  Search111 ',
  `bingzheng_photo` varchar(200) DEFAULT NULL COMMENT '常见病症照片',
  `bingzheng_types` int(11) DEFAULT NULL COMMENT '常见病症类型 Search111',
  `bingzheng_zhengzhuang` varchar(200) DEFAULT NULL COMMENT '病症症状 Search111 ',
  `bingzheng_content` text COMMENT '病症详细介绍',
  `shangxia_types` int(11) DEFAULT NULL COMMENT '是否上架 ',
  `bingzheng_delete` int(11) DEFAULT NULL COMMENT '逻辑删除',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show1 show2 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='常见病症';

/*Data for the table `bingzheng` */

insert  into `bingzheng`(`id`,`bingzheng_name`,`bingzheng_uuid_number`,`bingzheng_photo`,`bingzheng_types`,`bingzheng_zhengzhuang`,`bingzheng_content`,`shangxia_types`,`bingzheng_delete`,`create_time`) values (1,'常见病症名称1','165276644796378','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu1.jpg',4,'病症症状1','病症详细介绍1',1,1,'2022-05-17 13:47:27'),(2,'常见病症名称2','165276644796383','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu2.jpg',2,'病症症状2','病症详细介绍2',1,1,'2022-05-17 13:47:27'),(3,'常见病症名称3','165276644796383','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu3.jpg',3,'病症症状3','病症详细介绍3',1,1,'2022-05-17 13:47:27'),(4,'常见病症名称4','16527664479633','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu1.jpg',1,'病症症状4','病症详细介绍4',1,1,'2022-05-17 13:47:27'),(5,'常见病症名称5','165276644796322','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu2.jpg',1,'病症症状5','病症详细介绍5',1,1,'2022-05-17 13:47:27');

/*Table structure for table `bingzheng_collection` */

DROP TABLE IF EXISTS `bingzheng_collection`;

CREATE TABLE `bingzheng_collection` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `bingzheng_id` int(11) DEFAULT NULL COMMENT '常见病症',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `bingzheng_collection_types` int(11) DEFAULT NULL COMMENT '类型',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '收藏时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='常见病症收藏';

/*Data for the table `bingzheng_collection` */

insert  into `bingzheng_collection`(`id`,`bingzheng_id`,`yonghu_id`,`bingzheng_collection_types`,`insert_time`,`create_time`) values (1,1,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(2,2,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,3,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(4,4,3,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(5,5,1,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(6,4,1,1,'2022-05-17 14:31:45','2022-05-17 14:31:45');

/*Table structure for table `config` */

DROP TABLE IF EXISTS `config`;

CREATE TABLE `config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(100) NOT NULL COMMENT '配置参数名称',
  `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='配置文件';

/*Data for the table `config` */

insert  into `config`(`id`,`name`,`value`) values (1,'轮播图1','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/config1.jpg'),(2,'轮播图2','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/config2.jpg'),(3,'轮播图3','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/config3.jpg');

/*Table structure for table `dictionary` */

DROP TABLE IF EXISTS `dictionary`;

CREATE TABLE `dictionary` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `dic_code` varchar(200) DEFAULT NULL COMMENT '字段',
  `dic_name` varchar(200) DEFAULT NULL COMMENT '字段名',
  `code_index` int(11) DEFAULT NULL COMMENT '编码',
  `index_name` varchar(200) DEFAULT NULL COMMENT '编码名字  Search111 ',
  `super_id` int(11) DEFAULT NULL COMMENT '父字段id',
  `beizhu` varchar(200) DEFAULT NULL COMMENT '备注',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8 COMMENT='字典';

/*Data for the table `dictionary` */

insert  into `dictionary`(`id`,`dic_code`,`dic_name`,`code_index`,`index_name`,`super_id`,`beizhu`,`create_time`) values (1,'shangxia_types','上下架',1,'上架',NULL,NULL,'2022-05-17 13:47:12'),(2,'shangxia_types','上下架',2,'下架',NULL,NULL,'2022-05-17 13:47:12'),(3,'wenzhang_types','心理文章类型',1,'心理文章类型1',NULL,NULL,'2022-05-17 13:47:12'),(4,'wenzhang_types','心理文章类型',2,'心理文章类型2',NULL,NULL,'2022-05-17 13:47:12'),(5,'wenzhang_types','心理文章类型',3,'心理文章类型3',NULL,NULL,'2022-05-17 13:47:12'),(6,'wenzhang_types','心理文章类型',4,'心理文章类型4',NULL,NULL,'2022-05-17 13:47:12'),(7,'wenzhang_collection_types','收藏表类型',1,'收藏',NULL,NULL,'2022-05-17 13:47:12'),(8,'wenzhang_collection_types','收藏表类型',2,'赞',NULL,NULL,'2022-05-17 13:47:12'),(9,'wenzhang_collection_types','收藏表类型',3,'踩',NULL,NULL,'2022-05-17 13:47:12'),(10,'bingzheng_types','常见病症类型',1,'常见病症类型1',NULL,NULL,'2022-05-17 13:47:12'),(11,'bingzheng_types','常见病症类型',2,'常见病症类型2',NULL,NULL,'2022-05-17 13:47:12'),(12,'bingzheng_types','常见病症类型',3,'常见病症类型3',NULL,NULL,'2022-05-17 13:47:12'),(13,'bingzheng_types','常见病症类型',4,'常见病症类型4',NULL,NULL,'2022-05-17 13:47:12'),(14,'bingzheng_collection_types','收藏表类型',1,'收藏',NULL,NULL,'2022-05-17 13:47:12'),(15,'sex_types','性别类型',1,'男',NULL,NULL,'2022-05-17 13:47:13'),(16,'sex_types','性别类型',2,'女',NULL,NULL,'2022-05-17 13:47:13'),(17,'zixunshi_collection_types','收藏表类型',1,'收藏',NULL,NULL,'2022-05-17 13:47:13'),(18,'zixunshi_order_types','订单类型',1,'已预约',NULL,NULL,'2022-05-17 13:47:13'),(19,'zixunshi_order_types','订单类型',2,'已取消预约',NULL,NULL,'2022-05-17 13:47:13'),(20,'zixunshi_order_types','订单类型',3,'已使用',NULL,NULL,'2022-05-17 13:47:13'),(21,'shijianduan_types','时间段',1,'08:00-09:00',NULL,NULL,'2022-05-17 13:47:13'),(22,'shijianduan_types','时间段',2,'09:00-10:00',NULL,NULL,'2022-05-17 13:47:13'),(23,'shijianduan_types','时间段',3,'10:00-11:00',NULL,NULL,'2022-05-17 13:47:13'),(24,'shijianduan_types','时间段',4,'11:00-12:00',NULL,NULL,'2022-05-17 13:47:13'),(25,'shijianduan_types','时间段',5,'14:00-15:00',NULL,NULL,'2022-05-17 13:47:13'),(26,'shijianduan_types','时间段',6,'15:00-16:00',NULL,NULL,'2022-05-17 13:47:13'),(27,'shijianduan_types','时间段',7,'16:00-17:00',NULL,NULL,'2022-05-17 13:47:13'),(28,'shijianduan_types','时间段',8,'17:00-18:00',NULL,NULL,'2022-05-17 13:47:13'),(29,'wenzhang_types','心理文章类型',5,'心理文章类型5',NULL,'','2022-05-17 15:15:52');

/*Table structure for table `token` */

DROP TABLE IF EXISTS `token`;

CREATE TABLE `token` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `tablename` varchar(100) DEFAULT NULL COMMENT '表名',
  `role` varchar(100) DEFAULT NULL COMMENT '角色',
  `token` varchar(200) NOT NULL COMMENT '密码',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  `expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='token表';

/*Data for the table `token` */

insert  into `token`(`id`,`userid`,`username`,`tablename`,`role`,`token`,`addtime`,`expiratedtime`) values (1,6,'admin','users','管理员','agahf8ppfyr2b01wq28932v7d4ebvtkk','2022-05-17 13:52:23','2022-05-17 16:19:42'),(2,1,'a1','yonghu','用户','xjg5tqeg3i8pwvmp5wh187yb0yhjnbrw','2022-05-17 14:18:34','2022-05-17 16:16:44'),(3,1,'a1','zixunshi','咨询师','4dvbq9wnic185ag1nt0kgwnjcxbc61sm','2022-05-17 15:09:48','2022-05-17 16:16:18');

/*Table structure for table `users` */

DROP TABLE IF EXISTS `users`;

CREATE TABLE `users` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `password` varchar(100) NOT NULL COMMENT '密码',
  `role` varchar(100) DEFAULT '管理员' COMMENT '角色',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='管理员';

/*Data for the table `users` */

insert  into `users`(`id`,`username`,`password`,`role`,`addtime`) values (6,'admin','admin','管理员','2022-05-02 14:51:13');

/*Table structure for table `wenzhang` */

DROP TABLE IF EXISTS `wenzhang`;

CREATE TABLE `wenzhang` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键 ',
  `wenzhang_name` varchar(200) DEFAULT NULL COMMENT '心理文章名称  Search111 ',
  `wenzhang_uuid_number` varchar(200) DEFAULT NULL COMMENT '心理文章编号  Search111 ',
  `wenzhang_photo` varchar(200) DEFAULT NULL COMMENT '心理文章照片',
  `wenzhang_types` int(11) DEFAULT NULL COMMENT '心理文章类型 Search111',
  `wenzhang_clicknum` int(11) DEFAULT NULL COMMENT '文章热度 ',
  `zan_number` int(11) DEFAULT NULL COMMENT '赞数量 ',
  `cai_number` int(11) DEFAULT NULL COMMENT '踩数量 ',
  `wenzhang_content` text COMMENT '心理文章内容',
  `shangxia_types` int(11) DEFAULT NULL COMMENT '是否上架 ',
  `wenzhang_delete` int(11) DEFAULT NULL COMMENT '逻辑删除',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show1 show2 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='心理文章';

/*Data for the table `wenzhang` */

insert  into `wenzhang`(`id`,`wenzhang_name`,`wenzhang_uuid_number`,`wenzhang_photo`,`wenzhang_types`,`wenzhang_clicknum`,`zan_number`,`cai_number`,`wenzhang_content`,`shangxia_types`,`wenzhang_delete`,`create_time`) values (1,'心理文章名称1','165276644797418','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu1.jpg',3,476,412,480,'心理文章内容1',1,1,'2022-05-17 13:47:27'),(2,'心理文章名称2','16527664479748','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu2.jpg',2,148,378,314,'心理文章内容2',1,1,'2022-05-17 13:47:27'),(3,'心理文章名称3','165276644797481','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu3.jpg',4,100,36,36,'心理文章内容3',1,1,'2022-05-17 13:47:27'),(4,'心理文章名称4','165276644797424','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu1.jpg',2,76,291,117,'心理文章内容4',1,1,'2022-05-17 13:47:27'),(5,'心理文章名称5','165276644797488','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu2.jpg',2,329,166,172,'心理文章内容5',1,1,'2022-05-17 13:47:27');

/*Table structure for table `wenzhang_collection` */

DROP TABLE IF EXISTS `wenzhang_collection`;

CREATE TABLE `wenzhang_collection` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `wenzhang_id` int(11) DEFAULT NULL COMMENT '心理文章',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `wenzhang_collection_types` int(11) DEFAULT NULL COMMENT '类型',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '收藏时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='心理文章收藏';

/*Data for the table `wenzhang_collection` */

insert  into `wenzhang_collection`(`id`,`wenzhang_id`,`yonghu_id`,`wenzhang_collection_types`,`insert_time`,`create_time`) values (1,1,1,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(2,2,1,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,3,3,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(4,4,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(5,5,1,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(6,5,1,2,'2022-05-17 14:31:34','2022-05-17 14:31:34'),(7,2,1,2,'2022-05-17 15:13:47','2022-05-17 15:13:47');

/*Table structure for table `wenzhang_liuyan` */

DROP TABLE IF EXISTS `wenzhang_liuyan`;

CREATE TABLE `wenzhang_liuyan` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `wenzhang_id` int(11) DEFAULT NULL COMMENT '心理文章',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `wenzhang_liuyan_text` text COMMENT '留言内容',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '留言时间',
  `reply_text` text COMMENT '回复内容',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '回复时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='心理文章留言';

/*Data for the table `wenzhang_liuyan` */

insert  into `wenzhang_liuyan`(`id`,`wenzhang_id`,`yonghu_id`,`wenzhang_liuyan_text`,`insert_time`,`reply_text`,`update_time`,`create_time`) values (1,1,2,'留言内容1','2022-05-17 13:47:27','回复信息1','2022-05-17 13:47:27','2022-05-17 13:47:27'),(2,2,1,'留言内容2','2022-05-17 13:47:27','回复信息2','2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,3,3,'留言内容3','2022-05-17 13:47:27','回复信息3','2022-05-17 13:47:27','2022-05-17 13:47:27'),(4,4,1,'留言内容4','2022-05-17 13:47:27','回复信息4','2022-05-17 13:47:27','2022-05-17 13:47:27'),(5,5,3,'留言内容5','2022-05-17 13:47:27','回复信息5','2022-05-17 13:47:27','2022-05-17 13:47:27'),(6,5,1,'ddd','2022-05-17 14:31:39',NULL,NULL,'2022-05-17 14:31:39'),(7,2,1,'rddg','2022-05-17 15:13:50','打得过','2022-05-17 15:16:03','2022-05-17 15:13:50');

/*Table structure for table `yonghu` */

DROP TABLE IF EXISTS `yonghu`;

CREATE TABLE `yonghu` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(200) DEFAULT NULL COMMENT '账户',
  `password` varchar(200) DEFAULT NULL COMMENT '密码',
  `yonghu_uuid_number` varchar(200) DEFAULT NULL COMMENT '用户唯一编号 Search111 ',
  `yonghu_name` varchar(200) DEFAULT NULL COMMENT '用户姓名 Search111 ',
  `yonghu_phone` varchar(200) DEFAULT NULL COMMENT '用户手机号',
  `yonghu_id_number` varchar(200) DEFAULT NULL COMMENT '用户身份证号',
  `yonghu_photo` varchar(200) DEFAULT NULL COMMENT '用户头像',
  `sex_types` int(11) DEFAULT NULL COMMENT '性别',
  `yonghu_email` varchar(200) DEFAULT NULL COMMENT '电子邮箱',
  `new_money` decimal(10,2) DEFAULT NULL COMMENT '余额 ',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '注册日期',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='用户';

/*Data for the table `yonghu` */

insert  into `yonghu`(`id`,`username`,`password`,`yonghu_uuid_number`,`yonghu_name`,`yonghu_phone`,`yonghu_id_number`,`yonghu_photo`,`sex_types`,`yonghu_email`,`new_money`,`insert_time`,`create_time`) values (1,'a1','123456','165276644798324','用户姓名1','17703786901','410224199610232001','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu1.jpg',1,'1@qq.com','266.09','2022-05-17 13:47:27','2022-05-17 13:47:27'),(2,'a2','123456','165276644798363','用户姓名2','17703786902','410224199610232002','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu2.jpg',1,'2@qq.com','353.58','2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,'a3','123456','165276644798317','用户姓名3','17703786903','410224199610232003','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/yonghu3.jpg',2,'3@qq.com','24.97','2022-05-17 13:47:27','2022-05-17 13:47:27');

/*Table structure for table `zixunshi` */

DROP TABLE IF EXISTS `zixunshi`;

CREATE TABLE `zixunshi` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(200) DEFAULT NULL COMMENT '账户',
  `password` varchar(200) DEFAULT NULL COMMENT '密码',
  `zixunshi_uuid_number` varchar(200) DEFAULT NULL COMMENT '咨询师编号 Search111 ',
  `zixunshi_name` varchar(200) DEFAULT NULL COMMENT '咨询师姓名 Search111 ',
  `zixunshi_phone` varchar(200) DEFAULT NULL COMMENT '咨询师手机号',
  `zixunshi_id_number` varchar(200) DEFAULT NULL COMMENT '咨询师身份证号',
  `zixunshi_photo` varchar(200) DEFAULT NULL COMMENT '咨询师头像',
  `sex_types` int(11) DEFAULT NULL COMMENT '性别',
  `zixunshi_email` varchar(200) DEFAULT NULL COMMENT '电子邮箱',
  `zixunshi_shanchang` varchar(200) DEFAULT NULL COMMENT '擅长',
  `guahaofei` decimal(10,2) DEFAULT NULL COMMENT '挂号费用 ',
  `zuoye_content` text COMMENT '咨询师详细介绍 ',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间  show1 show2 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='咨询师';

/*Data for the table `zixunshi` */

insert  into `zixunshi`(`id`,`username`,`password`,`zixunshi_uuid_number`,`zixunshi_name`,`zixunshi_phone`,`zixunshi_id_number`,`zixunshi_photo`,`sex_types`,`zixunshi_email`,`zixunshi_shanchang`,`guahaofei`,`zuoye_content`,`create_time`) values (1,'a1','123456','16527664479852','咨询师姓名1','17703786901','410224199610232001','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/zixunshi1.jpg',1,'1@qq.com','擅长1','67.66','<p>咨询师详细介绍1</p>','2022-05-17 13:47:27'),(2,'a2','123456','165276644799270','咨询师姓名2','17703786902','410224199610232002','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/zixunshi2.jpg',2,'2@qq.com','擅长2','85.38','咨询师详细介绍2','2022-05-17 13:47:27'),(3,'a3','123456','165276644799261','咨询师姓名3','17703786903','410224199610232003','http://localhost:8080/xinliyuyuezixunguanlixitong/upload/zixunshi3.jpg',1,'3@qq.com','擅长3','529.24','咨询师详细介绍3','2022-05-17 13:47:27');

/*Table structure for table `zixunshi_collection` */

DROP TABLE IF EXISTS `zixunshi_collection`;

CREATE TABLE `zixunshi_collection` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `zixunshi_id` int(11) DEFAULT NULL COMMENT '咨询师',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `zixunshi_collection_types` int(11) DEFAULT NULL COMMENT '类型',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '收藏时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3 photoShow',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='咨询师收藏';

/*Data for the table `zixunshi_collection` */

insert  into `zixunshi_collection`(`id`,`zixunshi_id`,`yonghu_id`,`zixunshi_collection_types`,`insert_time`,`create_time`) values (1,1,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,3,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(4,3,2,1,'2022-05-17 13:47:27','2022-05-17 13:47:27'),(6,1,1,1,'2022-05-17 14:37:12','2022-05-17 14:37:12'),(8,3,1,1,'2022-05-17 15:14:52','2022-05-17 15:14:52');

/*Table structure for table `zixunshi_liuyan` */

DROP TABLE IF EXISTS `zixunshi_liuyan`;

CREATE TABLE `zixunshi_liuyan` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `zixunshi_id` int(11) DEFAULT NULL COMMENT '咨询师',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `zixunshi_liuyan_text` text COMMENT '留言内容',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '咨询时间',
  `reply_text` text COMMENT '回复内容',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '回复时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='咨询师留言';

/*Data for the table `zixunshi_liuyan` */

insert  into `zixunshi_liuyan`(`id`,`zixunshi_id`,`yonghu_id`,`zixunshi_liuyan_text`,`insert_time`,`reply_text`,`update_time`,`create_time`) values (1,2,2,'留言内容1','2022-05-17 13:47:27','回复信息1','2022-05-17 13:47:27','2022-05-17 13:47:27'),(2,1,2,'留言内容2','2022-05-17 13:47:27','回复信息2','2022-05-17 13:47:27','2022-05-17 13:47:27'),(3,1,1,'留言内容3','2022-05-17 13:47:27','回复信息3','2022-05-17 13:47:27','2022-05-17 13:47:27'),(4,1,1,'留言内容4','2022-05-17 13:47:27','回复信息4','2022-05-17 13:47:27','2022-05-17 13:47:27'),(5,3,3,'留言内容5','2022-05-17 13:47:27','回复信息5','2022-05-17 13:47:27','2022-05-17 13:47:27'),(6,1,1,'发发发发发','2022-05-17 15:15:00','dddg','2022-05-17 15:16:29','2022-05-17 15:15:00');

/*Table structure for table `zixunshi_order` */

DROP TABLE IF EXISTS `zixunshi_order`;

CREATE TABLE `zixunshi_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `zixunshi_order_uuid_number` varchar(200) DEFAULT NULL COMMENT '预约流水号 Search111 ',
  `zixunshi_id` int(11) DEFAULT NULL COMMENT '咨询师',
  `yonghu_id` int(11) DEFAULT NULL COMMENT '用户',
  `zixunshi_order_true_price` decimal(10,2) DEFAULT NULL COMMENT '实付金额',
  `yuyue_time` timestamp NULL DEFAULT NULL COMMENT '预约日期 Search111 ',
  `shijianduan_types` int(11) DEFAULT NULL COMMENT '预约时间段 Search111 ',
  `zixunshi_order_types` int(11) DEFAULT NULL COMMENT '预约状态 Search111 ',
  `insert_time` timestamp NULL DEFAULT NULL COMMENT '预约时间',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间 show3',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='咨询师订单';

/*Data for the table `zixunshi_order` */

insert  into `zixunshi_order`(`id`,`zixunshi_order_uuid_number`,`zixunshi_id`,`yonghu_id`,`zixunshi_order_true_price`,`yuyue_time`,`shijianduan_types`,`zixunshi_order_types`,`insert_time`,`create_time`) values (1,'1652769026457',1,1,'67.66','2022-05-26 00:00:00',7,2,'2022-05-17 14:30:34','2022-05-17 14:30:34'),(2,'1652769439662',2,1,'85.38','2022-05-27 00:00:00',3,1,'2022-05-17 14:37:24','2022-05-17 14:37:24'),(3,'1652771638454',2,1,'85.38','2022-05-26 00:00:00',4,2,'2022-05-17 15:14:04','2022-05-17 15:14:04'),(4,'1652771660146',1,1,'67.66','2022-06-09 00:00:00',4,3,'2022-05-17 15:14:26','2022-05-17 15:14:26');

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;



项目截图

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值