——————————DescriptionStart——————————
运行环境
Java≥8、MySQL≥5.7、Node.js≥14
开发工具
后端:eclipse/idea/myeclipse/sts等均可配置运行
前端:WebStorm/VSCode/HBuilderX等均可
❗没学过node.js的不要搞前后端分离项目
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明







基于javaweb的SpringBoot车辆管理系统(java+springboot+maven+vue+elementui+mysql)
项目介绍
基于SpringBoot Vue的车辆管理系统
角色:管理员、用户、服务人员
管理员:管理员登录进入4S店车辆系统可以查看首页、个人中心、销售员管理、维修员管理、客户管理、供应商信息管理、保险公司管理、车辆信息管理、物资信息管理、车辆销售管理、车辆维修管理、营业统计管理、销售统计管理等功能
销售员:销售员登录进入4S店车辆系统可以查看首页、个人中心、客户管理、供应商信息管理、保险公司管理、车辆信息管理、车辆销售管理等功能,并进行详细操作
维修员:维修员登录进入4S店车辆系统可以查看首页、个人中心、客户管理、供应商信息管理、保险公司管理、物资信息管理、车辆维修管理等功能,并进行详细操作
技术栈
后端:SpringBoot+Mybaits 前端:Vue+ElementUI
——————————CodeStart——————————
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| 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<KehuEntity> wrapper = new EntityWrapper<KehuEntity>(); if(map.get("remindstart")!=null) { wrapper.ge(columnName, map.get("remindstart")); } if(map.get("remindend")!=null) { wrapper.le(columnName, map.get("remindend")); }
int count = kehuService.selectCount(wrapper); return R.ok().put("count", count); }
}
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
@RestController @RequestMapping("/yingyetongji") public class YingyetongjiController { @Autowired private YingyetongjiService yingyetongjiService;
@RequestMapping("/page") public R page(@RequestParam Map<String, Object> params,YingyetongjiEntity yingyetongji, @RequestParam(required = false) @DateTimeFormat(pattern="yyyy-MM-dd") Date tongjiyuefenstart, @RequestParam(required = false) @DateTimeFormat(pattern="yyyy-MM-dd") Date tongjiyuefenend, HttpServletRequest request){ EntityWrapper<YingyetongjiEntity> ew = new EntityWrapper<YingyetongjiEntity>(); if(tongjiyuefenstart!=null) ew.ge("tongjiyuefen", tongjiyuefenstart); if(tongjiyuefenend!=null) ew.le("tongjiyuefen", tongjiyuefenend); PageUtils page = yingyetongjiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yingyetongji), params), params));
return R.ok().put("data", page); }
@IgnoreAuth @RequestMapping("/list") public R list(@RequestParam Map<String, Object> params,YingyetongjiEntity yingyetongji, @RequestParam(required = false) @DateTimeFormat(pattern="yyyy-MM-dd") Date tongjiyuefenstart, @RequestParam(required = false) @DateTimeFormat(pattern="yyyy-MM-dd") Date tongjiyuefenend, HttpServletRequest request){ EntityWrapper<YingyetongjiEntity> ew = new EntityWrapper<YingyetongjiEntity>(); if(tongjiyuefenstart!=null) ew.ge("tongjiyuefen", tongjiyuefenstart); if(tongjiyuefenend!=null) ew.le("tongjiyuefen", tongjiyuefenend); PageUtils page = yingyetongjiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yingyetongji), params), params)); return R.ok().put("data", page);
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| List<String> data = commonService.getOption(params); return R.ok().put("data", data); }
@IgnoreAuth @RequestMapping("/follow/{tableName}/{columnName}") public R getFollowByOption(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName, @RequestParam String columnValue) { Map<String, Object> params = new HashMap<String, Object>(); params.put("table", tableName); params.put("column", columnName); params.put("columnValue", columnValue); Map<String, Object> result = commonService.getFollowByOption(params); return R.ok().put("data", result); }
@RequestMapping("/sh/{tableName}") public R sh(@PathVariable("tableName") String tableName, @RequestBody Map<String, Object> map) { map.put("table", tableName); commonService.sh(map); return R.ok(); }
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
@RestController @RequestMapping("/gongyingshangxinxi") public class GongyingshangxinxiController { @Autowired private GongyingshangxinxiService gongyingshangxinxiService;
@RequestMapping("/page") public R page(@RequestParam Map<String, Object> params,GongyingshangxinxiEntity gongyingshangxinxi, HttpServletRequest request){ EntityWrapper<GongyingshangxinxiEntity> ew = new EntityWrapper<GongyingshangxinxiEntity>(); PageUtils page = gongyingshangxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, gongyingshangxinxi), params), params));
return R.ok().put("data", page); }
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
@RestController @RequestMapping("/wuzixinxi") public class WuzixinxiController { @Autowired private WuzixinxiService wuzixinxiService;
|
——————————PayStart——————————
项目链接:
https://javayms.github.io?id=291524190701201kl
https://javayms.pages.dev?id=291524190701201kl