基于SSM的疫情物资管理系统

大家好,2020疫情大爆发,所以没法出门了,就随手做一个疫情管理系统,虽然不是太完美,但是基本功能还是具备的,下面是整理的功能和一些实现。

人员管理、物资分类、物资采购、入库登记、物资统计、申领管理、财务报销,大致就这几个模块

**

  • 先看几张图吧,下面这个是登录,包含四个角色,分别是管理员、采购员、 后勤处,财务处
    **

这是
**

  • 下面是管理员的首页

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

  • 物资分类,包含口罩、消毒液、防疫服等等

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

  • 用户可以申领防疫物品

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

  • 统计物资,这里使用的是ECharts进行图形化展示

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

  • 下面就算采购员的功能,修改个人信息

**
在这里插入图片描述
就先分享上面这些吧,下面就算项目的结构,因为是SSM项目,所以就按照这种架构做的。

在这里插入图片描述
**

  • 下面是SpringMVC的配置

**

<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:mvc="http://www.springframework.org/schema/mvc"
  xmlns:context="http://www.springframework.org/schema/context"
  xmlns:tx="http://www.springframework.org/schema/tx"
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
  http://www.springframework.org/schema/beans/spring-beans-4.3.xsd 
  http://www.springframework.org/schema/mvc 
  http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd 
  http://www.springframework.org/schema/context 
  http://www.springframework.org/schema/context/spring-context-4.3.xsd">
	<!-- 配置包扫描器,扫描@Controller注解的类 -->
	<context:component-scan base-package="com.ssm.mty.controller" />
	<!-- 加载注解驱动 -->
	<mvc:annotation-driven />

	<!--配置静态资源的访问映射,此配置中的文件,将不被前端控制器拦截 -->
	<mvc:resources location="/js/" mapping="/js/**"/>
	<mvc:resources location="/css/" mapping="/css/**"/>
	<mvc:resources location="/fonts/" mapping="/fonts/**"/>
	<mvc:resources location="/images/" mapping="/images/**"/>
	<mvc:resources location="/lib/" mapping="/lib/**"/>
	<mvc:resources location="/login/" mapping="/login/**"/>
	<mvc:resources location="/layui_exts/" mapping="/layui_exts/**"/>

	<!-- 配置视图解析器 -->
	<bean class=
    "org.springframework.web.servlet.view.InternalResourceViewResolver">
		<property name="prefix" value="/WEB-INF/jsp/" />
		<property name="suffix" value=".jsp" />
	</bean>
</beans>

**

  • 数据库如下,使用6张表,用户都在user中,用状态区分不同的角色

**

在这里插入图片描述
好了,上面就是疫情系统的实现,如果大家有什么问题,可以私信交流学习。

猜你喜欢

转载自blog.csdn.net/mtyedu/article/details/113047264