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


    项目描述

    临近学期结束,还是毕业设计,你还在做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();
    	}
    	
    
    • 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
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    安装部署需求

    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;
    其它软件:截图工具、常用浏览器;

  • 相关阅读:
    Python爬虫教程:如何爬取教育漏洞报告平台中的漏洞报告?
    hadoop伪分布式搭建前期工作
    8Base集团通过SmokeLoader部署新的Phobos勒索软件变种
    微信小程序——组件、API
    5.7w字?GitHub标星120K的Java面试知识点总结,真就物超所值了
    基于大数据的工业设备故障诊断模型设计
    Springboot集成整合Redis-哨兵集群(4)
    MySQL5.7版本在CentOS系统安装
    金融行业借力泛微今承达,合同统一数字化管理、风险全过程把控
    主成分分析用于ERP研究的实用教程-机遇和挑战(附代码)
  • 原文地址:https://blog.csdn.net/mxg74110/article/details/128018335