汽车出租管理系统

文章目录

  • 汽车出租管理系统
    • 一、系统演示
    • 二、项目介绍
    • 三、系统部分功能截图
    • 四、部分代码展示
    • 五、底部获取项目源码(9.9¥带走)

汽车出租管理系统

一、系统演示

汽车租赁系统

二、项目介绍

语言:java
框架:SpringBoot、Vue
数据库:MySQL

两个角色:管理员和客户

用户:注册、登录、车辆信息浏览、系统公告、租车、个人中心、车辆信息管理、租赁订单管理、还车记录管理

管理员:首页、车辆信息、系统公告、个人中心、用户管理、车辆品牌管理、车辆信息管理、租赁订单列表管理、还车记录管理、我的收藏管理等

三、系统部分功能截图

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

四、部分代码展示

package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.CheliangpinpaiEntity;
import com.entity.view.CheliangpinpaiView;import com.service.CheliangpinpaiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;@RestController
@RequestMapping("/cheliangpinpai")
public class CheliangpinpaiController {@Autowiredprivate CheliangpinpaiService cheliangpinpaiService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,CheliangpinpaiEntity cheliangpinpai,HttpServletRequest request){EntityWrapper<CheliangpinpaiEntity> ew = new EntityWrapper<CheliangpinpaiEntity>();PageUtils page = cheliangpinpaiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, cheliangpinpai), params), params));return R.ok().put("data", page);}/*** 前端列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,CheliangpinpaiEntity cheliangpinpai, HttpServletRequest request){EntityWrapper<CheliangpinpaiEntity> ew = new EntityWrapper<CheliangpinpaiEntity>();PageUtils page = cheliangpinpaiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, cheliangpinpai), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( CheliangpinpaiEntity cheliangpinpai){EntityWrapper<CheliangpinpaiEntity> ew = new EntityWrapper<CheliangpinpaiEntity>();ew.allEq(MPUtil.allEQMapPre( cheliangpinpai, "cheliangpinpai")); return R.ok().put("data", cheliangpinpaiService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(CheliangpinpaiEntity cheliangpinpai){EntityWrapper< CheliangpinpaiEntity> ew = new EntityWrapper< CheliangpinpaiEntity>();ew.allEq(MPUtil.allEQMapPre( cheliangpinpai, "cheliangpinpai")); CheliangpinpaiView cheliangpinpaiView =  cheliangpinpaiService.selectView(ew);return R.ok("查询车辆品牌成功").put("data", cheliangpinpaiView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){CheliangpinpaiEntity cheliangpinpai = cheliangpinpaiService.selectById(id);return R.ok().put("data", cheliangpinpai);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){CheliangpinpaiEntity cheliangpinpai = cheliangpinpaiService.selectById(id);return R.ok().put("data", cheliangpinpai);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody CheliangpinpaiEntity cheliangpinpai, HttpServletRequest request){cheliangpinpai.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(cheliangpinpai);cheliangpinpaiService.insert(cheliangpinpai);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody CheliangpinpaiEntity cheliangpinpai, HttpServletRequest request){cheliangpinpai.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(cheliangpinpai);cheliangpinpaiService.insert(cheliangpinpai);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody CheliangpinpaiEntity cheliangpinpai, HttpServletRequest request){//ValidatorUtils.validateEntity(cheliangpinpai);cheliangpinpaiService.updateById(cheliangpinpai);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){cheliangpinpaiService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<CheliangpinpaiEntity> wrapper = new EntityWrapper<CheliangpinpaiEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}int count = cheliangpinpaiService.selectCount(wrapper);return R.ok().put("count", count);}}
package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.ZulindingdanliebiaoEntity;
import com.entity.view.ZulindingdanliebiaoView;import com.service.ZulindingdanliebiaoService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;@RestController
@RequestMapping("/zulindingdanliebiao")
public class ZulindingdanliebiaoController {@Autowiredprivate ZulindingdanliebiaoService zulindingdanliebiaoService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,ZulindingdanliebiaoEntity zulindingdanliebiao,HttpServletRequest request){String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {zulindingdanliebiao.setZhanghao((String)request.getSession().getAttribute("username"));}EntityWrapper<ZulindingdanliebiaoEntity> ew = new EntityWrapper<ZulindingdanliebiaoEntity>();PageUtils page = zulindingdanliebiaoService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, zulindingdanliebiao), params), params));return R.ok().put("data", page);}/*** 前端列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,ZulindingdanliebiaoEntity zulindingdanliebiao, HttpServletRequest request){EntityWrapper<ZulindingdanliebiaoEntity> ew = new EntityWrapper<ZulindingdanliebiaoEntity>();PageUtils page = zulindingdanliebiaoService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, zulindingdanliebiao), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( ZulindingdanliebiaoEntity zulindingdanliebiao){EntityWrapper<ZulindingdanliebiaoEntity> ew = new EntityWrapper<ZulindingdanliebiaoEntity>();ew.allEq(MPUtil.allEQMapPre( zulindingdanliebiao, "zulindingdanliebiao")); return R.ok().put("data", zulindingdanliebiaoService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(ZulindingdanliebiaoEntity zulindingdanliebiao){EntityWrapper< ZulindingdanliebiaoEntity> ew = new EntityWrapper< ZulindingdanliebiaoEntity>();ew.allEq(MPUtil.allEQMapPre( zulindingdanliebiao, "zulindingdanliebiao")); ZulindingdanliebiaoView zulindingdanliebiaoView =  zulindingdanliebiaoService.selectView(ew);return R.ok("查询租赁订单列表成功").put("data", zulindingdanliebiaoView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){ZulindingdanliebiaoEntity zulindingdanliebiao = zulindingdanliebiaoService.selectById(id);return R.ok().put("data", zulindingdanliebiao);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){ZulindingdanliebiaoEntity zulindingdanliebiao = zulindingdanliebiaoService.selectById(id);return R.ok().put("data", zulindingdanliebiao);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody ZulindingdanliebiaoEntity zulindingdanliebiao, HttpServletRequest request){zulindingdanliebiao.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(zulindingdanliebiao);zulindingdanliebiaoService.insert(zulindingdanliebiao);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody ZulindingdanliebiaoEntity zulindingdanliebiao, HttpServletRequest request){zulindingdanliebiao.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(zulindingdanliebiao);zulindingdanliebiaoService.insert(zulindingdanliebiao);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody ZulindingdanliebiaoEntity zulindingdanliebiao, HttpServletRequest request){//ValidatorUtils.validateEntity(zulindingdanliebiao);zulindingdanliebiaoService.updateById(zulindingdanliebiao);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){zulindingdanliebiaoService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<ZulindingdanliebiaoEntity> wrapper = new EntityWrapper<ZulindingdanliebiaoEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {wrapper.eq("zhanghao", (String)request.getSession().getAttribute("username"));}int count = zulindingdanliebiaoService.selectCount(wrapper);return R.ok().put("count", count);}}
package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.CheliangyanseEntity;
import com.entity.view.CheliangyanseView;import com.service.CheliangyanseService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
@RestController
@RequestMapping("/cheliangyanse")
public class CheliangyanseController {@Autowiredprivate CheliangyanseService cheliangyanseService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,CheliangyanseEntity cheliangyanse,HttpServletRequest request){EntityWrapper<CheliangyanseEntity> ew = new EntityWrapper<CheliangyanseEntity>();PageUtils page = cheliangyanseService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, cheliangyanse), params), params));return R.ok().put("data", page);}/*** 前端列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,CheliangyanseEntity cheliangyanse, HttpServletRequest request){EntityWrapper<CheliangyanseEntity> ew = new EntityWrapper<CheliangyanseEntity>();PageUtils page = cheliangyanseService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, cheliangyanse), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( CheliangyanseEntity cheliangyanse){EntityWrapper<CheliangyanseEntity> ew = new EntityWrapper<CheliangyanseEntity>();ew.allEq(MPUtil.allEQMapPre( cheliangyanse, "cheliangyanse")); return R.ok().put("data", cheliangyanseService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(CheliangyanseEntity cheliangyanse){EntityWrapper< CheliangyanseEntity> ew = new EntityWrapper< CheliangyanseEntity>();ew.allEq(MPUtil.allEQMapPre( cheliangyanse, "cheliangyanse")); CheliangyanseView cheliangyanseView =  cheliangyanseService.selectView(ew);return R.ok("查询车辆颜色成功").put("data", cheliangyanseView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){CheliangyanseEntity cheliangyanse = cheliangyanseService.selectById(id);return R.ok().put("data", cheliangyanse);}/*** 前端详情*/@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){CheliangyanseEntity cheliangyanse = cheliangyanseService.selectById(id);return R.ok().put("data", cheliangyanse);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody CheliangyanseEntity cheliangyanse, HttpServletRequest request){cheliangyanse.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(cheliangyanse);cheliangyanseService.insert(cheliangyanse);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody CheliangyanseEntity cheliangyanse, HttpServletRequest request){cheliangyanse.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(cheliangyanse);cheliangyanseService.insert(cheliangyanse);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody CheliangyanseEntity cheliangyanse, HttpServletRequest request){//ValidatorUtils.validateEntity(cheliangyanse);cheliangyanseService.updateById(cheliangyanse);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){cheliangyanseService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<CheliangyanseEntity> wrapper = new EntityWrapper<CheliangyanseEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}int count = cheliangyanseService.selectCount(wrapper);return R.ok().put("count", count);}}

五、底部获取项目源码(9.9¥带走)

有问题,或者需要协助调试运行项目的也可以

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/678873.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Zabbix报警机制、配置钉钉机器人、自动发现、主动监控概述、配置主动监控、zabbix拓扑图、nginx监控实例

目录 配置告警 用户数超过50&#xff0c;发送告警邮件 实施 验证告警配置 配置钉钉机器人告警 创建钉钉机器人 编写脚本并测试 添加报警媒介类型 为用户添加报警媒介 创建触发器 创建动作 验证 自动发现 配置自动发现 主动监控 配置web2使用主动监控 修改配置文…

《统计学简易速速上手小册》第5章:回归分析(2024 最新版)

文章目录 5.1 线性回归基础5.1.1 基础知识5.1.2 主要案例&#xff1a;员工薪资预测5.1.3 拓展案例 1&#xff1a;广告支出与销售额关系5.1.4 拓展案例 2&#xff1a;房价与多个因素的关系 5.2 多元回归分析5.2.1 基础知识5.2.2 主要案例&#xff1a;企业收益与多因素关系分析5.…

Linux上MySQL安装部署

准备工作 在/opt/software目录下创建mysql目录用来存放MySQL安装包: 链接&#xff1a;https://pan.baidu.com/s/1pjc-w6MSNlpptUjsZXNEdQ?pwd6666 cd /opt/softwaremkdir mysql 将安装包上传到mysql目录 安装部署 &#xff08;1&#xff09;卸载MySQL依赖&#xff0c;虽…

Java图形化界面编程——弹球游戏 笔记

Java也可用于开发一些动画。所谓动画&#xff0c;就是间隔一定的时间(通常小于0 . 1秒 )重新绘制新的图像&#xff0c;两次绘制的图像之间差异较小&#xff0c;肉眼看起来就成了所谓的动画 。 ​ 为了实现间隔一定的时间就重新调用组件的 repaint()方法&#xff0c;可以借助于…

C++ 贪心 区间问题 区间分组

给定 N 个闭区间 [ai,bi] &#xff0c;请你将这些区间分成若干组&#xff0c;使得每组内部的区间两两之间&#xff08;包括端点&#xff09;没有交集&#xff0c;并使得组数尽可能小。 输出最小组数。 输入格式 第一行包含整数 N &#xff0c;表示区间数。 接下来 N 行&…

Linux cp命令注意事项

目录 一. 基本语法二. 文件复制到文件夹时的路径存在问题三. 文件复制到文件夹时&#xff0c;记得给文件夹路径加上/ 一. 基本语法 -r&#xff1a;递归地复制目录及其内容。-p&#xff1a;保留源文件或目录的属性&#xff08;包括权限、所有者、组、时间戳等&#xff09;。 c…

Hugging Face 刚刚推出了一款开源的 AI 助手制造工具,直接向 OpenAI 的定制 GPT 挑战

每周跟踪AI热点新闻动向和震撼发展 想要探索生成式人工智能的前沿进展吗&#xff1f;订阅我们的简报&#xff0c;深入解析最新的技术突破、实际应用案例和未来的趋势。与全球数同行一同&#xff0c;从行业内部的深度分析和实用指南中受益。不要错过这个机会&#xff0c;成为AI领…

Linux——动静态库

基础知识:动vs静 类型动静加载时机运行时编译时可复用性多个文件只需要加载一份库文件每个文件都需要加载一份文件性能链接次数越多越有优势链接次数越少越有优势 代码编写 静态库 生成静态库 libmath.a:add.o sub.oar -rc $ $^%.o:%.cgcc -c $<使用静态库 头文件和工…

《动手学深度学习(PyTorch版)》笔记8.6

注&#xff1a;书中对代码的讲解并不详细&#xff0c;本文对很多细节做了详细注释。另外&#xff0c;书上的源代码是在Jupyter Notebook上运行的&#xff0c;较为分散&#xff0c;本文将代码集中起来&#xff0c;并加以完善&#xff0c;全部用vscode在python 3.9.18下测试通过&…

数据结构(2) 线性表

线性表 线性表的定义线性表的基本操作lnitList(&L)DestroyList(&L)Listlnsert(&L,i,e)ListDelete(&L,i,&e)LocateElem(L,e)GetElem(L,i)Length(L)PrintList(L)Empty(L)Tips:引用值 小结 根据数据结构的三要素–逻辑结构、数据的运算、存储结构&#xff0c;…

GeoServer 2.11.1升级解决Eclipse Jetty 的一系列安全漏洞问题

Eclipse Jetty 资源管理错误漏洞(CVE-2021-28165) Eclipse Jetty HTTP请求走私漏洞(CVE-2017-7656) Eclipse Jetty HTTP请求走私漏洞(CVE-2017-7657) Eclipse Jetty HTTP请求走私漏洞(CVE-2017-7658) Jetty 信息泄露漏洞(CVE-2017-9735) Eclipse Jetty 安全漏洞(CVE-2022-20…

Javaweb之SpringBootWeb案例之事务进阶的详细解析

1.3 事务进阶 前面我们通过spring事务管理注解Transactional已经控制了业务层方法的事务。接下来我们要来详细的介绍一下Transactional事务管理注解的使用细节。我们这里主要介绍Transactional注解当中的两个常见的属性&#xff1a; 异常回滚的属性&#xff1a;rollbackFor 事…

项目02《游戏-14-开发》Unity3D

基于 项目02《游戏-13-开发》Unity3D &#xff0c; 任务&#xff1a;战斗系统之击败怪物与怪物UI血条信息 using UnityEngine; public abstract class Living : MonoBehaviour{ protected float hp; protected float attack; protected float define; …

Linux网络编程——tcp套接字

文章目录 主要代码关于构造listen监听accepttelnet测试读取信息掉线重连翻译服务器演示 本章Gitee仓库&#xff1a;tcp套接字 主要代码 客户端&#xff1a; #pragma once#include"Log.hpp"#include<iostream> #include<cstring>#include<sys/wait.h…

第73左侧菜单实现

layout下面新建menu layout index.vue导入menu import Menu from /views/layout/menu菜单实现&#xff1a; <template><el-menuactive-text-color"#ffd04b"background-color"#2d3a4b"class"el-menu-vertical-demo"default-active&quo…

灰度发布浅见

在之前的稳定性生产文章中有一项对于研发人员比较重要的措施是变更管控&#xff0c;关于变更管控其实在实际生产活动中有很多措施&#xff0c;因为对于不太的行业&#xff0c;其行业特点和稳定性生产的要求也不一样&#xff0c;例如下图&#xff0c;我们可以看到信通院调研的不…

【开源】SpringBoot框架开发APK检测管理系统

目录 一、摘要1.1 项目介绍1.2 项目录屏 二、功能模块2.1 数据中心模块2.2 开放平台模块2.3 软件档案模块2.4 软件检测模块2.5 软件举报模块 三、系统设计3.1 用例设计3.2 数据库设计3.2.1 开放平台表3.2.2 软件档案表3.2.3 软件检测表3.2.4 软件举报表 四、系统展示五、核心代…

【el-tree 文字过长处理方案】

文字过长处理方案 一、示例代码二、关键代码三、效果图 一、示例代码 <divstyle"height: 600px;overflow: auto"class"text item"><el-treeref"tree":data"treeData":props"defaultProps"class"filter-tree&…

计算机网络——05Internet结构和ISP

Internet结构和ISP 互连网络结构&#xff1a;网络的网络 端系统通过接入ISPs连接到互连网 住宅、公司和大学的ISPs 接入ISPs相应的必须是互联的 因此任何2个端系统可相互发送分组到对方 导致的“网络的网络”非常复杂 发展和演化是通过经济的和国家的政策来驱动的 问题&…

课堂秩序要求有哪些内容

你是否曾经疑惑&#xff0c;为什么有些课堂总是秩序井然&#xff0c;而有些则混乱不堪&#xff1f;作为一位经验丰富的老师&#xff0c;我想告诉你&#xff0c;课堂秩序不仅仅是学生安静听讲那么简单&#xff0c;它背后涉及到许多关键因素&#xff0c;直接影响着教学质量和学习…