基于JavaWeb的物流管理系统的设计与实现

140 篇文章 15 订阅
139 篇文章 2 订阅

项目描述

临近学期结束,还是毕业设计,你还在做java程序网络编程,期末作业,老师的作业要求觉得大了吗?不知道毕业设计该怎么办?网页功能的数量是否太多?没有合适的类型或系统?等等。这里根据疫情当下,你想解决的问题,今天给大家介绍一篇基于JavaWeb的物流管理系统的设计与实现。

功能需求

现在的物流企业对物流的管理还是不是统一化和集体化,都是各个负责各自模块,不能将信息全程贯通,我们要做的就是将货物的生产开始一直到货物销售到消费者的手中,这一系列的过程我们要全程把控,对每个模块之前的数据都要进行存储和分析。系统一共有管理系统登录时可以分为管理员和员工用户。
员工模块:员工用户主要实现的是客户管理、订单管理、仓储管理、货物调度管理等功能模块。
管理模块:管理员主要实现订单查询模块、财务管理模块、员工管理修改密码等功能模块。

具备以下功能:

针对系统管理员为平台的监管用户,管控生鲜采购物流整个流程和信息,主要针对系统物流订单信息、员工管理、物流财务管理、个人信息维护,正常登录确保系统的安全性.
在这里插入图片描述
系统目的为了实时管控生鲜采购物流信息,确保能够快速精准的物资运送,为物流企业员工开发是货物运输客户信息维护、物资订单管理、物资存储仓储管理、货物调度管理等功能模块。
在这里插入图片描述

系统功能模块框架图

在这里插入图片描述
在这里插入图片描述

部分效果图

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述在这里插入图片描述
在这里插入图片描述在这里插入图片描述

在这里插入图片描述

数据库设计

系统中用到了15张表,针对每个表都进行了设计,下面对部分核心表进行汇总罗列展示。
(1)客户信息表
在这里插入图片描述

(2)订单信息表
在这里插入图片描述

(3)车辆信息表
在这里插入图片描述

(4)用户信息表
在这里插入图片描述

(5)调度信息表
在这里插入图片描述

(6)仓库信息表
在这里插入图片描述

部分代码
//车辆列表
	public String chelianglist() {
		HttpServletRequest request = ServletActionContext.getRequest();
		int currentpage = 1;
		int pagesize =20;
		if(request.getParameter("pageNum")!=null){
			currentpage = Integer.parseInt(request.getParameter("pageNum"));
			pagesize = Integer.parseInt(request.getParameter("numPerPage"));
		}
		String where = " where chelianglock=0   order by id desc "; 
		String where2 = " where chelianglock=0   ";
		int total = cheliangDao.selectBeanCount( where2);
		request.setAttribute("list", cheliangDao.selectBeanList((currentpage - 1) * pagesize, pagesize, where));
		request.setAttribute("totalCount", total);
		request.setAttribute("ps", pagesize);
		request.setAttribute("pn", currentpage);
		request.setAttribute("url", "diaodumethod!chelianglist");
		this.setUrl("cheliang/chelianglist.jsp");
		return SUCCESS;
	}
	//删除车辆操作
	public void cheliangdelete() throws IOException {
		HttpServletRequest request = ServletActionContext.getRequest();
		Cheliang bean = cheliangDao.selectBean(" where id= "+request.getParameter("id"));
		bean.setChepai(bean.getChepai()+"_delete");
		bean.setChelianglock(1);
		cheliangDao.updateBean(bean);
		HttpServletResponse response = ServletActionContext.getResponse();
		response.setCharacterEncoding("utf-8");
		PrintWriter out = response.getWriter();
		out.print(Util.tiaozhuan2("操作成功", "diaodumethod!chelianglist","chelianglist"));
		out.flush();
		out.close();
	}
	//跳转到添加车辆页面
	public String cheliangadd() {
		this.setUrl("cheliang/cheliangadd.jsp");
		return SUCCESS;
	}
//添加车辆操作
	public void cheliangadd2() throws IOException {
		HttpServletRequest request = ServletActionContext.getRequest();
		String chengyungongsi = request.getParameter("chengyungongsi");
		String chepai = request.getParameter("chepai");
		String chexing = request.getParameter("chexing");
		String guihao = request.getParameter("guihao");
		Cheliang  bean = cheliangDao.selectBean(" where chepai= '"+chepai+"'");
		if(bean==null){
			bean = new Cheliang();
			bean.setChengyungongsi(chengyungongsi);
			bean.setChepai(chepai);
			bean.setChexing(chexing);
			bean.setCreatetime(new Date());
			bean.setGuihao(guihao);
			bean.setDiaoduzhuangtai("未调度");
			cheliangDao.insertBean(bean);
			HttpServletResponse resp = ServletActionContext.getResponse();
			resp.setCharacterEncoding("utf-8");
			PrintWriter out = resp.getWriter();
			out.print(Util.tiaozhuan("操作成功", "diaodumethod!chelianglist","chelianglist"));
			out.flush();
			out.close();
		}else{
			HttpServletResponse resp = ServletActionContext.getResponse();
			resp.setCharacterEncoding("utf-8");
			PrintWriter out = resp.getWriter();
			out.print(Util.tiaozhuan("操作失败,该车牌号已经存在", "diaodumethod!chelianglist","chelianglist"));
			out.flush();
			out.close();
		}
	}
	//跳转到更新车辆页面
	public String cheliangupdate() {
		HttpServletRequest request = ServletActionContext.getRequest();
		Cheliang bean = cheliangDao.selectBean(" where id= "+request.getParameter("id"));
		request.setAttribute("bean", bean);
		this.setUrl("cheliang/cheliangupdate.jsp");
		return SUCCESS;
	}
	//更新车辆操作
	public void cheliangupdate2() throws IOException {
		HttpServletRequest request = ServletActionContext.getRequest();
		Cheliang bean = cheliangDao.selectBean(" where id= "+request.getParameter("id"));
		String chengyungongsi = request.getParameter("chengyungongsi");
		String chexing = request.getParameter("chexing");
		String guihao = request.getParameter("guihao");
		bean.setChengyungongsi(chengyungongsi);
		bean.setChexing(chexing);
		bean.setGuihao(guihao);
		cheliangDao.updateBean(bean);
		HttpServletResponse response = ServletActionContext.getResponse();
		response.setCharacterEncoding("utf-8");
		PrintWriter out = response.getWriter();
		out.print(Util.tiaozhuan("操作成功", "diaodumethod!chelianglist","chelianglist"));
		out.flush();
		out.close();
	}
	
安装部署需求

eclipse运行启动

系统部署

系统开发后,在生产环境配置项目运行环境,具体步骤如下:
安装linux或者windows10操作系统;
安装JDK1.8并配置环境变量;
安装MySQL5.7版本以上版本数据库,创建数据库并执行脚本创建表;
在eclipse中运行打包;

本项目用到的技术和框架

1.开发语言:Java
2.开发模式:B/S
3.数据库:MySQL
4.框架:jsp+SSH

本项目中的关键点

此系统的开发采用java语言开发,基于B/S结构,这些开发环境使系统更加完善。使用到的工具和技术都是开源免费的。

环境工具

开发工具 Eclipse
语言 JDK1.8 、jsp、CSS、SSH
硬件:笔记本电脑;
软件:Tomcat8.0 Web服务器、Navicat数据库客户端、MySQL;
操作系统:Windows 10;
其它软件:截图工具、常用浏览器;

  • 10
    点赞
  • 85
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 15
    评论
评论 15
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序猿麦小七

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值