IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码

这篇具有很好参考价值的文章主要介绍了IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。


一、系统介绍

随着时代和科技的进步,人们的生活水平越来越高,私家车的数量不断上涨,随之产生了一些问题,其中就包括停车难,很多地方人们根本找不到停车位,经常有司机为了找停车位转来转去,走了很多弯路,更重要的是浪费了大量的时间。
而停车场车位管理系统可以使司机清楚明了的看到自己所在位置附近的停车状况,以便于迅速找到合适的停车位
本系统实现了停车位管理系统源码,pc端用户可以登录,注册,个人信息,修改密码,我的订单,我的留言,查车位,管理端实现了管理员登录,管理员登录,公告列表,车位列表,订单列表, 积分排行,留言列表,管理员列表,用户列表,修改密码

1.环境配置

JDK版本:1.8
Mysql:5.7

二、系统展示

1.登录

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

2.注册

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

3.个人信息

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

4.修改密码

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

5.我的订单

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

6.我的留言

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

7.查车位

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

8.管理员登录

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot
账号:admin 密码:admin

9.公告列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

10.车位列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

11. 订单列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

12. 积分排行

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

13. 留言列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

14.管理员列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

15. 用户列表

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

16.修改密码

IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码,资源下载,spring,intellij-idea,spring boot

三、部分代码

UserMapper.java

package com.module.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import com.imust.entity.Users;
@Mapper
public interface UserMapper {
	
	//添加信息
	@Insert("insert into User(name,phone,plate_num,password,createDate,stauts) values(#{name},#{phone},#{plate_num},#{password},SYSDATE(),0)")
    public void insertUsers(Users users);
	
	//删除信息
	@Delete("delete from User where id=#{id}")
	public void deleteUserById(int id);
	
	//修改信息
	@Update("update user set stauts=#{stauts} where id=#{id}")
	public void updateUserStauts(@Param("id") int id,@Param("stauts") int stauts);
	
	@Update("update user set point=#{point} where id=#{id}")
	public void updateUserPoint(Users user);
	
	@Update("update user set phone=#{phone},plate_num=#{plate_num} where id=#{id}")
	public void updateUser(Users user);
	@Update("update user set password=#{password} where id=#{id}")
	public void updateUserPwd(Users user);
	//查询信息
	@Select("select * from user where name like #{name}")
	List<Users> findByName(@Param("name") String name);
	
	@Select("select * from user")
	List<Users> findAllUser();
	
	@Select("select * from user where id=#{id}")
	Users findUserById(@Param("id") int id);
	
	@Select("select * from user order by point desc")
	List<Users> findAllPoint();
	
	@Select("select * from user where name like #{name} order by point desc")
	List<Users> findPointByName(@Param("name") String name);
	
	//登陆使用
	@Select("select * from user where name=#{name} and password = #{password}")
	List<Users> findUserByNameAndPwd(@Param("name") String adminName,@Param("password") String password);
}

ArticleController.java

package com.module.controller;


import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.imust.entity.Message;
import com.imust.entity.Users;
import com.imust.service.MessageService;

@Controller
@RequestMapping("/message")
public class MessageController {
	@Autowired
	private MessageService messageService;
	
	//添加留言
	@RequestMapping("/message-save")
	public String saveMessage(HttpSession session,@ModelAttribute("message") Message message,Model model){
		Users user = (Users)session.getAttribute("LogUser");
		message.setUser_id(user.getId());
		message.setUser_name(user.getName());
		messageService.addMessage(message);
		List<Message> messageList = messageService.getMyMessage(user.getId());
		model.addAttribute("messageList", messageList);
		return "myMessage";
	}
	
	//用户删除
	@RequestMapping("/delMsg")
	public String delMsg(HttpSession session,@RequestParam("id") int id,Model model){
		messageService.delMessage(id);
		Users user = (Users)session.getAttribute("LogUser");
		List<Message> messageList = messageService.getMyMessage(user.getId());
		model.addAttribute("messageList", messageList);
		return "myMessage";
	}
	
	
	@RequestMapping("/myMessage")
	public String myMessage(@RequestParam("id") int id,Model model){
		List<Message> messageList = messageService.getMyMessage(id);
		model.addAttribute("messageList", messageList);
		return "myMessage";
	}
}

Users.java


import java.util.Date;

public class Users {
	private int id;
	private String name;
	private String phone;
	private String plate_num;
	private String password;
	private Date createDate;
	private int stauts;
	private int point;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getPlate_num() {
		return plate_num;
	}
	public void setPlate_num(String plate_num) {
		this.plate_num = plate_num;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public int getStauts() {
		return stauts;
	}
	public void setStauts(int stauts) {
		this.stauts = stauts;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	
}

四、其他

获取源码

点击以下链接获取源码。
IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码
IDEA+Spring Boot+MyBatis+shiro+Layui+Mysql智能平台管理系统
Java+Swing+Mysql实现学生宿舍管理系统

Java+Swing+Txt实现自助款机系统

Java+Swing+Mysql自助存取款机系统

Java+Swing+mysql5实现学生成绩管理系统(带分页)

Java+Swing+Mysql实现超市商品管理系统源码

Java+Swing+Mysql实现通讯录管理系统源码

Java+Swing+Mysql实现图书管理系统源码文章来源地址https://www.toymoban.com/news/detail-520825.html

到了这里,关于IDEA+spring boot+mybatis+spring mvc+bootstrap+Mysql停车位管理系统源码的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • IDEA+SpringBoot + Mybatis + Shiro+Bootstrap+Mysql智慧仓库系统

    本系统实现了智慧仓库系统源码,管理端实现了管理员登录、 主页、货位一览、入库单、库存明细、呆滞过期报表、转库记录、入库记录、出库记录、出库单、物料信息、仓库设置、用户管理、操作员管理、角色管理、账户别名、服务地址、子库管理、计划时间、菜单管理、

    2024年02月15日
    浏览(30)
  • IDEA+SpringBoot+mybatis+bootstrap+jquery+Mysql车险理赔管理系统

    本系统实现了车险理赔管理系统,管理端实现了管理员登录、编辑个人信息、用户管理、添加用户、申请理赔管理、赔偿金发放管理,勘察员端实现了待调查事故保单、已调查记录、现场勘察管理、勘察记录,用户端实现了我的保险管理,我的理赔管理 JDK版本:1.8 Mysql:5.7 账号

    2024年02月13日
    浏览(25)
  • IDEA+SpringBoot + Mybatis + Shiro+Bootstrap+Mysql资产设备管理系统

    本系统实现了资产设备管理系统,管理端实现了管理员登录、用户新增、用户设置、岗位管理、审批节点、人员查询、组织设置、人员调整、角色设置、角色模块映射、模块设置、应用模块、光纤交换机、服务器、网络设备、存储设备、安全设备、机房设备、网点设备、资产

    2024年02月16日
    浏览(29)
  • 探索Java中最常用的框架:Spring、Spring MVC、Spring Boot、MyBatis和Netty

    🎉欢迎来到Java面试技巧专栏~探索Java中最常用的框架:Spring、Spring MVC、Spring Boot、MyBatis和Netty ☆* o(≧▽≦)o *☆嗨~我是IT·陈寒🍹 ✨博客主页:IT·陈寒的博客 🎈该系列文章专栏:Java面试技巧 📜其他专栏:Java学习路线 Java面试技巧 Java实战项目 AIGC人工智能 数据结构学习

    2024年02月08日
    浏览(42)
  • SUMO 创建带有停车位的充电站 在停车位上充电

    SUMO提供的Charging Station是没有停车位的,车辆只有在通过充电站区域或者停在充电站区域内时才能被充电,这时充电的车辆就会占用道路。然而,真实世界中的情况通常是充电站设在路边,且提供一定量的车位用于停车,而不会占用道路。下面介绍创建这种带有停车位的充电

    2024年02月12日
    浏览(28)
  • 共享停车位小程序,微信小程序停车场车位,微信小程序停车场系统毕设作品

      目的 :首先,在社会上“停车难”是一个众所周知的问题,每个小区,每个大厦都有自己的停车场,但是在没有进入停车场之前,我们没办法知道是否有空车位,空车位在哪个地方。为了解决这个问题我们打算做一个停车场车位预约小程序,来解决车主在进入停车场之前了

    2024年02月08日
    浏览(59)
  • 停车位共享系统|基于微信小程序的停车位共享系统设计与实现(附项目源码+论文)

    一、摘要 随着互联网技术的不断发展,互联网已经渗透到我们生活的方方面面。随着移动设备的普及,我们的生活发生了翻天覆地的变化,这也对我们的日常生活产生了深远的影响。微信是腾讯于2011年发布的实时通信软件。随着互联网技术的不断发展,微信的功能也在不断

    2024年04月11日
    浏览(35)
  • opencv实战项目-停车位计数

    手势识别系列文章目录 手势识别是一种人机交互技术,通过识别人的手势动作,从而实现对计算机、智能手机、智能电视等设备的操作和控制。 1.  opencv实现手部追踪(定位手部关键点) 2.opencv实战项目 实现手势跟踪并返回位置信息(封装调用) 3.手势识别-手势音量控制(

    2024年02月12日
    浏览(19)
  • 微信智慧共享停车位小程序系统设计与实现

    目的 :首先,在社会上“停车难”是一个众所周知的问题,每个小区,每个大厦都有自己的停车场,但是在没有进入停车场之前,我们没办法知道是否有空车位,空车位在哪个地方。为了解决这个问题我们打算做一个停车场车位预约小程序,来解决车主在进入停车场之前了解

    2024年02月10日
    浏览(30)
  • 计算机竞赛 基于机器视觉的停车位识别检测

    简介 你是不是经常在停车场周围转来转去寻找停车位。如果你的车辆能准确地告诉你最近的停车位在哪里,那是不是很爽?事实证明,基于深度学习和OpenCV解决这个问题相对容易,只需获取停车场的实时视频即可。 该项目较为新颖,适合作为竞赛课题方向,学长非常推荐!

    2024年02月11日
    浏览(37)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包