项目介绍

本健身房课程预约网站系统是针对目前健身信息交流网站的实际需求,从实际工作出发,对过去的健身网站系统存在的问题进行分析,结合计算机系统的结构、概念、模型、原理、方法,在计算机各种优势的情况下,采用目前最流行的B/S结构和java中流行的MVC三层设计模式和idea编辑器、MySQL 数据库设计并实现的。本健身房课程预约管理系统主要包括系统会员管理模块、课程管理模块、教练管理模块、收藏模块、登录模块、论坛交流模块、订单管理模块、留言管理模块、健身资讯模块、在线客服模块、器材管理模块、退出等多个模块。它帮助健身房课程预约管理系统实现了信息化、网络化,通过测试,实现了系统设计目标,相比传统的管理模式,本系统合理的利用了健身网站数据资源,有效的减少了健身信息交流网站的经济投入,大大提高了健身信息交流网站的效率。

开发环境

开发语言:Java
数据库 :MySQL
系统架构:B/S
后端框架:SpringBoot
前端框架:Vue
开发工具:IDEA或者Eclipse,JDK1.8,Maven

系统截图
















部分代码

package com.controller;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.EquipmentEntity;
import com.service.EquipmentService;
import com.service.YonghuService;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;import javax.servlet.http.HttpServletRequest;
import java.util.Arrays;
import java.util.List;
import java.util.Map;@RestController
@RequestMapping("/equipment")
public class EquipmentController {@Autowiredprivate EquipmentService equipmentService;@Autowiredprivate YonghuService yonghuService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, EquipmentEntity equipment,HttpServletRequest request){EntityWrapper<EquipmentEntity> ew = new EntityWrapper<EquipmentEntity>();PageUtils page = equipmentService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, equipment), params), params));return R.ok().put("data", page);}/*** 查询所有* @param request* @return*/@RequestMapping("/findAll")public R findAll(HttpServletRequest request) {EntityWrapper<EquipmentEntity> ew = new EntityWrapper<EquipmentEntity>();List<EquipmentEntity> equipmentEntityList=equipmentService.selectList(ew);return R.ok().put("data", equipmentEntityList);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params, EquipmentEntity equipment, HttpServletRequest request){EntityWrapper<EquipmentEntity> ew = new EntityWrapper<EquipmentEntity>();PageUtils page = equipmentService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, equipment), params), params));return R.ok().put("data", page);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){EquipmentEntity equipment = equipmentService.selectById(id);return R.ok().put("data", equipment);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){EquipmentEntity equipment = equipmentService.selectById(id);return R.ok().put("data", equipment);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody EquipmentEntity equipment, HttpServletRequest request){equipmentService.insert(equipment);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody EquipmentEntity equipment, HttpServletRequest request){equipmentService.insert(equipment);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody EquipmentEntity equipment, HttpServletRequest request){equipmentService.updateById(equipment);return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){equipmentService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}package com.controller;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.*;
import com.service.*;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;import javax.servlet.http.HttpServletRequest;
import java.util.*;@RestController
@RequestMapping("/course")
public class CourseController {@Autowiredprivate CourseService courseService;@Autowiredprivate YonghuService yonghuService;@Autowiredprivate TeacherService teacherService;@Autowiredprivate FenleiService fenleiService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, CourseEntity course,HttpServletRequest request){EntityWrapper<CourseEntity> ew = new EntityWrapper<CourseEntity>();if(request.getSession().getAttribute("role").toString().equals("教练")) {ew.eq("teacherid",(Long)request.getSession().getAttribute("userId"));}if(request.getSession().getAttribute("role").toString().equals("会员")) {Long yonghuid=(Long)request.getSession().getAttribute("userId");YonghuEntity yonghuEntity=yonghuService.selectById(yonghuid);}PageUtils page = courseService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, course), params), params));for(int i=0;i<page.getList().size();i++){CourseEntity courseEntity= (CourseEntity) page.getList().get(i);TeacherEntity teacherEntity=teacherService.selectById(courseEntity.getTeacherid());courseEntity.setTeacherEntity(teacherEntity);}return R.ok().put("data", page);}/*** 查询所有* @param request* @return*/@RequestMapping("/findAll")public R findAll(HttpServletRequest request) {EntityWrapper<CourseEntity> ew = new EntityWrapper<CourseEntity>();List<CourseEntity> courseEntityList=courseService.selectList(ew);return R.ok().put("data", courseEntityList);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params, CourseEntity course, HttpServletRequest request){EntityWrapper<CourseEntity> ew = new EntityWrapper<CourseEntity>();PageUtils page = courseService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, course), params), params));return R.ok().put("data", page);}/*** 前端智能排序*/@IgnoreAuth@RequestMapping("/autoSort")public R autoSort(@RequestParam Map<String, Object> params,CourseEntity courseEntity, HttpServletRequest request,String pre){EntityWrapper<CourseEntity> ew = new EntityWrapper<CourseEntity>();Map<String, Object> newMap = new HashMap<String, Object>();Map<String, Object> param = new HashMap<String, Object>();Iterator<Map.Entry<String, Object>> it = param.entrySet().iterator();while (it.hasNext()) {Map.Entry<String, Object> entry = it.next();String key = entry.getKey();String newKey = entry.getKey();if (pre.endsWith(".")) {newMap.put(pre + newKey, entry.getValue());} else if (StringUtils.isEmpty(pre)) {newMap.put(newKey, entry.getValue());} else {newMap.put(pre + "." + newKey, entry.getValue());}}params.put("order", "desc");PageUtils page = courseService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, courseEntity), params), params));return R.ok().put("data", page);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){CourseEntity course = courseService.selectById(id);TeacherEntity teacherEntity=teacherService.selectById(course.getTeacherid());course.setTeacherEntity(teacherEntity);return R.ok().put("data", course);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){CourseEntity course = courseService.selectById(id);TeacherEntity teacherEntity=teacherService.selectById(course.getTeacherid());course.setTeacherEntity(teacherEntity);return R.ok().put("data", course);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody CourseEntity course, HttpServletRequest request){if(request.getSession().getAttribute("role").toString().equals("教练")) {course.setTeacherid((Long)request.getSession().getAttribute("userId"));}courseService.insert(course);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody CourseEntity course, HttpServletRequest request){courseService.insert(course);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody CourseEntity course, HttpServletRequest request){courseService.updateById(course);return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){courseService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

基于java+springboot+mybatis+vue+elementui的健身房课程预约管理系统相关推荐

  1. 基于java+springboot+mybatis+vue+elementui的B2C购物电商平台设计与实现

    项目介绍 随着信息科技的发展,电子商务已经存在了我们生活的每一个角落,通过网络购物可以给人们的生活带来极大的便利,人们只需通过PC或者手机下单自己所需的商品,物流就会将购买的商品送到客户的手上,这极大 ...

  2. 基于java+springboot+mybatis+vue+elementui的农机机械设备租赁平台

    项目介绍 我国是一个农业大国,全国有大部分人是农民,作为农民最需要是的就是掌握最新的农业资讯,通过网络和世界同步,让自己在辛苦劳作的同时能够更好的创收,从而提高全国国名经济. 现如今,农机租赁平台是当 ...

  3. 基于java+springboot+mybatis+vue+elementui的小区停车位租赁网站

    项目介绍 自从改革开放以来,我国的经济建设的步伐和科学发展水平在不停的提高,与此同时人们的生活水平也在飞速的提升.相比15年前,现在的家庭私家车的保有量可以说是翻了几倍,私家车的大量普及也带来了许许多 ...

  4. 基于java+springboot+mybatis+vue+elementui的网上书籍购买商城

    项目介绍 网上书籍购买商城可以实现人们远程逛逛书店和购买图书的愿望.本系统主的功能是帮助经营实物书店的人们扩大市场和增加知名度.基本功能包括用户注册会员.登录.图书展示.图书查询.在线浏览图书.远程购 ...

  5. 基于java+springboot+mybatis+vue+elementui的灯具购物商城网站

    项目介绍 近年来,随着Internet的迅速崛起,互联网技术得到前所未有的发展,成为收集.提供信息的最佳渠道,并逐步进入传统的流通领域.电子商铺也悄然兴起,它的出现及发展,不仅是市场经济以及相应技术发 ...

  6. 基于java+springboot+mybatis+vue+elementui的古玩玉器交易系统

    项目介绍 随着中国互联网的发展.上网的网民越来越多.拥有网络购物习惯的网民也越来越多.网上购物平台纷拥而出.如淘宝网.京东商城.拉手网等众多购物平台. 古玩玉器行业龙头公司也纷纷踏足网络购物平台.利用 ...

  7. 基于java+springboot+mybatis+vue+elementui的准妈妈孕期交流平台

    项目介绍 随着科学技术的飞速发展,社会的方方面面.各行各业都在努力与现代的先进技术接轨,通过科技手段来提高自身的优势,准妈妈孕期交流平台当然也不能排除在外.准妈妈孕期交流平台是以实际运用为开发背景,运 ...

  8. 基于java+springboot+mybatis+vue+elementui的旧物置换网站

    项目介绍 随着时代的不进步,旧物也成人们的烦恼,许多平台网站都在推广自已的产品像天猫.咸鱼.京东.拼多多.所以开发出一套关于旧物置换网站非常有必要.旧物置换网站主要是借助计算机,通过对用户进行管理.为 ...

  9. 基于java+springboot+mybatis+vue+elementui的眼镜商城系统

    项目介绍 随着科技的迅速发展,计算机技术已应用到社会的各个领域.但任何事物都有两面性,随着时代的发展,近视患者数量渐渐上升,因此,本人设计了网上眼镜商城.本文描述的是商品购物网站的设计与实现,使用了J ...

最新文章

  1. python求平方根的代码_Python求平方根(附带源码)
  2. cv2.rectangle()画出矩形的用法
  3. 换系统后mysql环境不见了_电脑重装系统后如何恢复Mysql数据库
  4. 彻底卸载vscode Linux,ubuntu如何卸载vscode
  5. python职业发展方向_59秒看懂IT运维的发展方向及职业规划
  6. Controller接口控制器(2)
  7. Java设计模式学习总结(13)——结构型模式之享元模式
  8. 【报告分享】抖音品牌主页运营官方指导手册.pdf(附下载链接)
  9. repeat mysql翻译_MySQL数据库中系统函数repeat有哪些功能呢?
  10. 《Linux内核分析》第三周笔记 构造一个简单的Linux系统MenuOS
  11. linux shell sort多字段排序
  12. matlab能不能求不定积分,matlab求不定积分定积分
  13. html5页面制作成品,dw网页设计成品代码
  14. Android studio基础练习02【监听器实现下拉菜单】
  15. 串口通信的隔离传输方案记录
  16. Django搭建在线教育平台(一)
  17. CentOS7安装nfdump+nfsen+sflow 实现流量监控
  18. h5 /web 手机端 实现保存图片 到本地相册 uni-app
  19. 如何用数据分析的概念制作简单Excel报表?
  20. Android把图片保存为pdf文件(附带iTextpdf.jar)

热门文章

  1. 界面超漂亮的桌面时钟
  2. 女性英文名字大全,还有来历、释义
  3. 《征途》是怎样赚钱的? .
  4. SAP UI5-关于“ESLint:(linebreak-style)Expected linebreaks to be ‘LF‘ but found ‘CRLF“
  5. 谈谈vue的ssr方案
  6. excel透视表计数去重_Excel数据透视表中的唯一计数
  7. 一课时计算机基础教案模板,计算机基础电子教案_初中信息技术教案_模板
  8. 只是记录一下电脑重装的过程(一)
  9. Java深克隆基础讲解,通俗易懂
  10. 搜狗2017校园招聘笔试题