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






基于javaweb的SpringBoot精美物流管理系统(java+springboot+vue+maven+mysql)
一、项目简述
本系统功能包括: 数据统计、收件录入、发件录入、到件录入、派件录入、问题件录入、退件录入、留仓录入、装车录入、发车录入、到车录入、卸车录入、运单录入、运单编辑、运单查询、数据导入、签收录入、签收查询、快件跟踪、自定义跟踪、问题件跟踪、预付款管理、财务报表明细、现金账单、月结账单、代收货款、业务员提成、订单分配、订单查询、物品名维护、入库、出库、库存、物料、角色管理、用户管理、系统设置、员工维护、客户维护、网点维护、报价维护、其他维护、收发记录、到件预报。
二、项目运行 环境配置:
Jdk1.8 + Mysql + HBuilderX(Webstorm也行)+ Eclispe(IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持)。
项目技术:
Springboot + Maven + mybatis+ Vue 等等组成,B/S模式 + Maven管理等等。
——————————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
| logistics.setSstatus("已签收"); this.logisticsService.updateById(logistics); }
@RequestMapping("findPage2") public IPage<Logistics> findPage2(@RequestBody PageDto pageDto){ Page page=new Page(1,4); if(pageDto!=null&&pageDto.getCurrent()!=null&& pageDto.getSize()!=null){ page.setCurrent(pageDto.getCurrent()); page.setSize(pageDto.getSize()); } IPage<Logistics> list=this.logisticsService.findPage2(page,pageDto); return list; }
} package com.wl.web.controller;
@CrossOrigin @RestController @RequestMapping("gw") public class GwController { @Autowired GwService gwService;
@RequestMapping("findById") public Gw findById(Integer id){ return this.gwService.findGwById(id); }
|
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
| this.employeeService.save(employee); return employee; }
@RequestMapping("findGwAll") public List<Gw> findGwAll(){ return this.gwService.list(); }
@RequestMapping("findEmpBid") public Employee findEmpBid(int empid){ return this.employeeService.getById(empid); }
@RequestMapping("updateEmp") public Employee updateEmp(@RequestBody Employee employee){ this.employeeService.updateById(employee); return employee; } } package com.wl.controller;
@RestController @RequestMapping("/branch") public class BranchControllers { @Autowired private BranchService branchService;
@RequestMapping("findBranch") public List<Branch> findBranch(){ return this.branchService.findBranch(); }
@RequestMapping("findBranchAll") public List<Branch> findBranchAll(){ return this.branchService.list(); }
|
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
| userInfo.setResources(this.sysResourceService.user_res(userInfo.getId().intValue())); return userInfo; }
@RequestMapping("user_res") public List<SysResource> user_res(){ try {
} catch (Exception e) { e.printStackTrace(); } return null; } @RequestMapping("selectRoleAll") public IPage<SysRole> selectRoleAll(@RequestBody Page page){ return this.sysRoleService.page(page); } @RequestMapping("addRole") public SysRole addRole(@RequestBody SysRole role){ this.sysRoleService.save(role); return role; } @RequestMapping("updateRole") public SysRole updateRole(@RequestBody SysRole role){ this.sysRoleService.updateById(role); return role; }
@RequestMapping("delRole") public Boolean delRole(int roleid){ return this.sysRoleService.removeById(roleid); }
@RequestMapping("selectRes") public List<SysResource> selectRes(){ return this.sysResourceService.resAll();
|
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
|
} package com.wl.controller;
@RestController @RequestMapping("problem") public class Problemtypecontroller { @Autowired private ProblemtypeService service;
@RequestMapping("save") public MsgDto save(@RequestBody Problemtype problem){ this.service.save(problem); return new MsgDto("保存成功",true,problem); } @RequestMapping("dele") public MsgDto dele(Integer pbid){ this.service.removeById(pbid); return new MsgDto("删除成功",true,pbid); } @RequestMapping("upda") public MsgDto upda(@RequestBody Problemtype prob){ this.service.updateById(prob); return new MsgDto("修改成功",true,prob); }
@RequestMapping("findpage") public IPage<Problemtype> findpage(PageStu stu){ return this.service.page(stu); }
|
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
| if (pageDto != null && pageDto.getCurrent() != null && pageDto.getSize() != null) { page.setCurrent(pageDto.getCurrent()); page.setSize(pageDto.getSize()); } IPage<Gw> list=this.gwService.selectGwPage(page,pageDto); return list; } } package com.wl.web.controller;
@RestController @RequestMapping("rulesorder") public class RulesorderController { @Autowired RulesorderService rulesorderService;
@RequestMapping("findPage") public IPage<Rulesorder> findPage(@RequestBody PageDto pageDto){ Page page=new Page(1,4); if(pageDto!=null&&pageDto.getCurrent()!=null&& pageDto.getSize()!=null){ page.setCurrent(pageDto.getCurrent()); page.setSize(pageDto.getSize()); } IPage<Rulesorder> list=this.rulesorderService.selectPage(page,pageDto); return list; }
@RequestMapping("updateRulesorder") public MsgDto updateCar(@RequestBody Rulesorder rulesorder){ this.rulesorderService.updateRulesorder(rulesorder); return new MsgDto("修改成功",true,rulesorder); }
@RequestMapping("deleteRulesorderById") public void deleteCar(Integer roid){
|
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
| gw.setIntime(new Date()); this.gwService.saveGW(gw); return new MsgDto("保存成功",true,gw); } @RequestMapping("selectAll") public List<Gw> selectAll(){ List<Gw> list=this.gwService.list(); return list; }
@RequestMapping("deleteGw") public MsgDto deleteGw(Integer id){ this.gwService.delectGW(id); return new MsgDto("删除成功",true,id); } @RequestMapping("deletefor") public boolean deletefor(@RequestParam List<Integer> ids){ boolean i=this.gwService.removeByIds(ids); return i; }
@RequestMapping("selectGwPages") public IPage<Gw> selectGwPage(@RequestBody PageDto pageDto) { Page page = new Page(1,2); if (pageDto != null && pageDto.getCurrent() != null && pageDto.getSize() != null) { page.setCurrent(pageDto.getCurrent()); page.setSize(pageDto.getSize()); } IPage<Gw> list=this.gwService.selectGwPage(page,pageDto); return list; } } package com.wl.web.controller;
|
——————————PayStart——————————
项目链接:
https://javayms.github.io?id=191222062008200wr
https://javayms.pages.dev?id=191222062008200wr