本系统后台基于springboot开发的在线点餐系统,系统以Java作为编程语言,采用Mysql数据库作为后台数据库。

系统分为商家和普通用户两大角色功能
商家后台功能如下:商家后台管理、菜单管理、订单管理、评论管理、商家信息管理
前台用户功能:点餐、菜单管理、订单管理、评论管理、个人中心(个人信息和我的钱包)

详情查看扣:2835777178

# 服务配置信息
server:port: 8080addr: http://127.0.0.1:${server.port}
spring:datasource:username: rootpassword: rooturl: jdbc:mysql://localhost:3306/orderSystem?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2b8driver-class-name: com.mysql.cj.jdbc.Drivertype: com.alibaba.druid.pool.DruidDataSource#Spring Boot 默认是不注入这些属性值的,需要自己绑定#druid 数据源专有配置initialSize: 5minIdle: 5maxActive: 20maxWait: 60000timeBetweenEvictionRunsMillis: 60000minEvictableIdleTimeMillis: 300000validationQuery: SELECT 1 FROM DUALtestWhileIdle: truetestOnBorrow: falsetestOnReturn: falsepoolPreparedStatements: truefilters: stat,wall,log4jmaxPoolPreparedStatementPerConnectionSize: 20useGlobalDataSourceStat: trueconnectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500thymeleaf:cache: false
mybatis:mapper-locations: classpath*:com/order/mapper/*.xmltype-aliases-package: com.order.pojoconfiguration:map-underscore-to-camel-case: true

-- ----------------------------
-- Table structure for category_table
-- ----------------------------
DROP TABLE IF EXISTS `category_table`;
CREATE TABLE `category_table` (
  `category_num` int(11) DEFAULT NULL,
  `category_name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of category_table
-- ----------------------------
INSERT INTO `category_table` VALUES ('1', '荤菜');
INSERT INTO `category_table` VALUES ('2', '素菜');
INSERT INTO `category_table` VALUES ('3', '盖码饭');
INSERT INTO `category_table` VALUES ('4', '面食');
INSERT INTO `category_table` VALUES ('5', '米粉');
INSERT INTO `category_table` VALUES ('6', '酒水');
INSERT INTO `category_table` VALUES ('7', '夜宵');
INSERT INTO `category_table` VALUES ('8', '其他');

-- ----------------------------
-- Table structure for comment_table
-- ----------------------------
DROP TABLE IF EXISTS `comment_table`;
CREATE TABLE `comment_table` (
  `user_id` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `grading` double DEFAULT NULL,
  `comment_content` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `order_id` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `creation_time` datetime DEFAULT NULL,
  `comment_num` int(11) DEFAULT NULL,
  `anonymous` varchar(255) COLLATE utf8_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of comment_table
-- ----------------------------
INSERT INTO `comment_table` VALUES ('10001', '5', '挺好吃的,干净卫生', '9722 5144 2900 7162 8', '2021-03-15 23:07:01', null, '匿名');

-- ----------------------------
-- Table structure for menu_table
-- ----------------------------
DROP TABLE IF EXISTS `menu_table`;
CREATE TABLE `menu_table` (
  `dish_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `dish_price` double DEFAULT NULL,
  `dish_stock` int(11) DEFAULT NULL,
  `dish_num` int(11) DEFAULT '0',
  `category_num` int(11) DEFAULT NULL,
  `dish_describe` varchar(255) COLLATE utf8_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of menu_table
-- ----------------------------
INSERT INTO `menu_table` VALUES ('酸辣土豆丝', '6.5', '10', '0', '2', '被评为人间至味的土豆丝,它有多种配方,却只有酸辣的让我最开胃');
INSERT INTO `menu_table` VALUES ('辣子鸡', '15', '20', '0', '1', '千里之行,始于足下');
INSERT INTO `menu_table` VALUES ('梅菜扣肉', '16', '10', '0', '1', '这道菜的精华主要在梅菜上,吸收了猪肉的香味,让人赞不绝口');
INSERT INTO `menu_table` VALUES ('辣椒炒肉', '15', '10', '0', '1', '不管是城市还是农村,南方还是北方,都会有一道自己的小炒肉');
INSERT INTO `menu_table` VALUES ('西红柿盖饭', '14', '10', '0', '3', '好看的皮囊万里挑房,有趣的灵魂200多斤');
INSERT INTO `menu_table` VALUES ('猪肉面', '10', '10', '0', '4', '好看又好吃');

-- ----------------------------
-- Table structure for moneylog_table
-- ----------------------------
DROP TABLE IF EXISTS `moneylog_table`;
CREATE TABLE `moneylog_table` (
  `user_id` varchar(35) COLLATE utf8_bin NOT NULL,
  `transaction_num` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `transaction_amount` double DEFAULT NULL,
  `transaction_type` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `transaction_time` datetime DEFAULT NULL,
  `transaction_remarks` varchar(255) COLLATE utf8_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of moneylog_table
-- ----------------------------
INSERT INTO `moneylog_table` VALUES ('10001', '9722 5144 2900 7162 8', '9.5', '消费', '2021-03-15 23:01:49', null);
INSERT INTO `moneylog_table` VALUES ('10001', '3808 9316 4329 4200 9', '16', '消费', '2021-03-16 09:35:09', null);
INSERT INTO `moneylog_table` VALUES ('10001', '97317510-4690-472d-ad92-15bd7e5b8ee0', '100', '充值', '2021-03-16 09:49:17', null);
INSERT INTO `moneylog_table` VALUES ('10001', 'PMUCEvWiRFQ', '100', '提现', '2021-03-16 09:49:32', '我要提现');

-- ----------------------------
-- Table structure for order_details
-- ----------------------------
DROP TABLE IF EXISTS `order_details`;
CREATE TABLE `order_details` (
  `order_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `dish_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `total_amount` double DEFAULT NULL,
  `dish_num` int(11) DEFAULT NULL,
  `dish_amount` int(11) DEFAULT NULL,
  `dish_money` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of order_details
-- ----------------------------
INSERT INTO `order_details` VALUES ('9722 5144 2900 7162 8', '酸辣土豆丝', null, '0', '1', '6.5');
INSERT INTO `order_details` VALUES ('3808 9316 4329 4200 9', '酸辣土豆丝', null, '0', '2', '13');

-- ----------------------------
-- Table structure for order_table
-- ----------------------------
DROP TABLE IF EXISTS `order_table`;
CREATE TABLE `order_table` (
  `order_id` varchar(255) COLLATE utf8_bin NOT NULL,
  `user_id` varchar(20) COLLATE utf8_bin NOT NULL,
  `order_type` varchar(255) COLLATE utf8_bin NOT NULL,
  `order_state` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `user_telephone` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `user_address` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `total_amount` double DEFAULT NULL,
  `meal_code` int(11) DEFAULT NULL,
  `creation_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of order_table
-- ----------------------------
INSERT INTO `order_table` VALUES ('9722 5144 2900 7162 8', '10001', '外卖', '订单完成', '18711828322', '湖南长沙', '9.5', '3161', '2021-03-15 23:01:49', '2021-03-15 23:01:49');
INSERT INTO `order_table` VALUES ('3808 9316 4329 4200 9', '10001', '外卖', '等待接单', '18711828322', '湖南长沙', '16', '1896', '2021-03-16 09:35:09', '2021-03-16 09:35:09');

-- ----------------------------
-- Table structure for restaurant_table
-- ----------------------------
DROP TABLE IF EXISTS `restaurant_table`;
CREATE TABLE `restaurant_table` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `store_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `store_account` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `store_pwd` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `store_introduce` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `store_score` double DEFAULT NULL,
  `payment_account` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of restaurant_table
-- ----------------------------
INSERT INTO `restaurant_table` VALUES ('1', 'haoren', 'haoren', 'haoren', '专做酸辣粉,百年老店,吃了再也忘不了。', null, null);

-- ----------------------------
-- Table structure for shopping_cart
-- ----------------------------
DROP TABLE IF EXISTS `shopping_cart`;
CREATE TABLE `shopping_cart` (
  `user_id` int(11) NOT NULL,
  `dish_num` int(11) NOT NULL,
  `dish_name` varchar(255) COLLATE utf8_bin NOT NULL,
  `dish_amount` int(11) DEFAULT NULL,
  `dish_price` double DEFAULT NULL,
  `dish_money` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of shopping_cart
-- ----------------------------

-- ----------------------------
-- Table structure for user_table
-- ----------------------------
DROP TABLE IF EXISTS `user_table`;
CREATE TABLE `user_table` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(255) COLLATE utf8_bin NOT NULL,
  `user_name` varchar(20) COLLATE utf8_bin NOT NULL,
  `user_pwd` varchar(255) COLLATE utf8_bin NOT NULL,
  `user_email` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `user_telephone` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `user_address` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `user_balance` int(11) DEFAULT NULL,
  `user_account` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Records of user_table
-- ----------------------------
INSERT INTO `user_table` VALUES ('1', '10001', '张三', '123456', '12345@qq.com', '18711828322', '湖南长沙', '475', 'zhangsan');

基于springboot框架开发的在线点餐系统相关推荐

  1. 基于Python的Flask框架开发的在线电影网站系统(附源码)

    来源丨网络 今天给大家分享的是基于Python的Flask框架开发的在线电影网站系统. 项目介绍 项目介绍:网站前端采用HTML5编写,使用Bootstrap前端开发框架,后端使用Python3语言编 ...

  2. php源码 拼车网顺风车_基于ThinkPHP框架开发的在线微信拼车系统完整PHP源码+支付微信支付...

    源码介绍 基于ThinkPHP框架开发的在线微信拼车系统主要是基于微信的在线拼车系统,也是一款不错的微信号管理系统,该微信拼车系统主要是基于ThinkPHP3.2.3框架开发,主要功能有发布租车信息. ...

  3. 微信会员php源码,基于ThinkPHP框架开发的在线微信拼车系统完整PHP源码-深蓝源码会员专享...

    源码介绍 基于ThinkPHP框架开发的在线微信拼车系统主要是/基于微信的在线拼车系统,也是/一款不错的微信号管理系统,该微信拼车系统主要是/基于ThinkPHP3.2.3框架开发,主要功能有发布租车 ...

  4. 基于springboot框架开发的作业提交与批改系统

    此系统是基于springboot框架开发的作业提交与批改系统,系统项目是maven项目,项目层次分离,易于二次开发和学习, 系统功能 分为教师,学生两类用户,每一角色具有不同的功能权限. 教师功能权限 ...

  5. 基于springboot框架开发的OA办公自动化系统

    OA办公自动化系统,使用Maven进行项目管理,基于springboot框架开发的项目,mysql底层数据库,前端采用freemarker模板引擎,Bootstrap作为前端UI框架, 集成了jpa. ...

  6. 基于springboot框架开发的办公自动化OA系统

    项目描述 本系统是一个OA办公自动化系统,使用Maven进行项目管理,基于springboot框架开发的项目,mysql底层数据库,前端采用freemarker模板引擎,Bootstrap作为前端UI ...

  7. java基于springboot框架开发的办公自动化OA系统

    项目描述 本系统是一个OA办公自动化系统,使用Maven进行项目管理,基于springboot框架开发的项目,mysql底层数据库,前端采用freemarker模板引擎,Bootstrap作为前端UI ...

  8. 基于SpringBoot框架和VUE的求职招聘系统

    今天给大家介绍的是一个求职招聘系统,话不多说,先看图: 项目前后端分离,后端是基于springboot框架,前端是Vue. 系统分为三种角色:管理员.求职者和企业用户. 管理员:实现了对求职者和企业用 ...

  9. 基于SpringBoot+Mybatis开发的前后端ERP系统Saas平台

    源码介绍 基于SpringBoot+Mybatis开发的前后端ERP系统Saas平台 ,专注于中小微企业的ERP软件.进销存系统,是一套基于SpringBoot2.2.0, Mybatis, JWT, ...

最新文章

  1. 软件开发过程中遇到的问题
  2. iMeta:青岛大学苏晓泉组开发跨平台可交互的微生物组分析套件PMS(全文翻译,PPT,视频)...
  3. 【Android 逆向】selinux 进程保护 ( selinux 进程保护 | 宽容模式 Permissive | 强制模式 Enforcing )
  4. JavaScript实现MergeSort归并排序算法(附完整源码)
  5. 13.配置 influxDB 鉴权及 HTTP API 写数据的方法
  6. Gearman 启动日志文件提示协议出错的BUG
  7. twitter.common.concurrent deadline and defer
  8. c语言解析字符串报文,传递字符串数组报文和解析
  9. R语言ETL工程:集合运算(intersect/union/setdiff)
  10. 拓端tecdat|matlab使用长短期记忆(LSTM)神经网络对序列数据进行分类
  11. mac上安装和启动kafka
  12. Python爬虫—BeautifulSoup
  13. 2022年docker面试题大全(持续更新中)
  14. 计算机底层知识之内存
  15. 四、Hibernate框架的API (三)-- Session对象
  16. 贝壳找房2018算法笔试
  17. mac字体或windows字体安装到linux,解决linux服务器word文档生成pdf文档出现乱码
  18. AsyncTask介绍
  19. LeetCode221117_125、904. 水果成篮
  20. 用vulkan写个引擎 (一)综述

热门文章

  1. libjpeg安装和使用
  2. OpenCV python 提取图像内的三色
  3. Python判断Excel是否处于打开状态的方法
  4. 网站使用新浪微博登录
  5. Jsp+Ssm+Mysql实现图书馆预约占座管理系统项目源码
  6. 读者写者问题浅析(代码实现)
  7. 解决vim E492 Not an editor command M
  8. surface pro linux服务器,Surface Pro平板电脑上安装Linux / Ubuntu的技巧
  9. 案例七 、jquery模仿微信聊天界面
  10. R语言ggplot2教程 十张图带你入门ggplot2