代宇航用户管理并推送

王健旭材料管理
喻廷屿材料出入库管理
孙佳兴预约管理并测试
赵文博实验室管理
main
your-name 1 week ago
parent 87b86bdccc
commit 2fb094bc7c

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
</web-app>

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 1. 用户管理模块 - User Beansetter注入 -->
<bean id="user" class="com.ssm.di.User">
<property name="username" value="daiyuhang"/>
<property name="userpass" value="123456"/>
<property name="truename" value="代宇航"/>
<property name="age" value="20"/>
<property name="role" value="管理员"/>
</bean>
<!-- 2. 材料管理模块 - Material Beansetter注入 -->
<bean id="material" class="com.ssm.di.Material">
<property name="materialId" value="M001"/>
<property name="materialName" value="试管"/>
<property name="type" value="玻璃耗材"/>
<property name="stock" value="100"/>
<property name="unit" value="个"/>
</bean>
<!-- 用于注入日期的工具Bean -->
<bean id="nowDate" class="java.util.Date"/>
<bean id="startDate" class="java.util.Date"/>
<bean id="endDate" class="java.util.Date"/>
<!-- 3. 材料出入库管理模块 - MaterialRecord Beansetter注入 -->
<bean id="materialRecord" class="com.ssm.di.MaterialRecord">
<property name="recordId" value="R001"/>
<property name="materialId" value="M001"/>
<property name="operator" value="喻廷屿"/>
<property name="nums" value="20"/>
<property name="operateDate" ref="nowDate"/>
<property name="type" value="入库"/>
</bean>
<!-- 4. 预约管理模块 - Appointment Beansetter注入 -->
<bean id="appointment" class="com.ssm.di.Appointment">
<property name="appointmentId" value="A001"/>
<property name="username" value="孙佳兴"/>
<property name="labId" value="L001"/>
<property name="startTime" ref="startDate"/>
<property name="endTime" ref="endDate"/>
<property name="purpose" value="化学实验"/>
</bean>
<!-- 5. 实验室管理模块 - Laboratory Beansetter注入 -->
<bean id="laboratory" class="com.ssm.di.Laboratory">
<property name="labId" value="L001"/>
<property name="labName" value="化学实验室1号"/>
<property name="location" value="实验楼3楼"/>
<property name="capacity" value="30"/>
<property name="status" value="空闲"/>
</bean>
</beans>

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 这里是 Spring 配置,不是界面布局 -->
</beans>

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 用户 -->
<bean id="user" class="com.ssm.ioc.User">
<property name="username" value="daiyuhang"/>
<property name="userpass" value="123456"/>
<property name="truename" value="代宇航"/>
<property name="age" value="20"/>
<property name="role" value="管理员"/>
</bean>
<!-- 材料 -->
<bean id="material" class="com.ssm.ioc.Material">
<property name="materialId" value="M001"/>
<property name="materialName" value="试管"/>
<property name="type" value="玻璃耗材"/>
<property name="stock" value="100"/>
<property name="unit" value="个"/>
</bean>
<!-- 材料记录 -->
<bean id="materialRecord" class="com.ssm.ioc.MaterialRecord">
<property name="recordId" value="R001"/>
<property name="materialId" value="M001"/>
<property name="operator" value="喻廷屿"/>
<property name="nums" value="20"/>
<property name="operateDate" ref="nowDate"/>
<property name="type" value="入库"/>
</bean>
<bean id="nowDate" class="java.util.Date"/>
<!-- 预约 -->
<bean id="appointment" class="com.ssm.ioc.Appointment">
<property name="appointmentId" value="A001"/>
<property name="username" value="孙佳兴"/>
<property name="labId" value="L001"/>
<property name="startTime" ref="startDate"/>
<property name="endTime" ref="endDate"/>
<property name="purpose" value="化学实验"/>
</bean>
<bean id="startDate" class="java.util.Date"/>
<bean id="endDate" class="java.util.Date"/>
<!-- 实验室 -->
<bean id="laboratory" class="com.ssm.ioc.Laboratory">
<property name="labId" value="L001"/>
<property name="labName" value="化学实验室1号"/>
<property name="location" value="实验楼3楼"/>
<property name="capacity" value="30"/>
<property name="status" value="空闲"/>
</bean>
</beans>

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 1. 用户管理模块 - User Beansetter注入 -->
<bean id="user" class="com.ssm.di.User">
<property name="username" value="daiyuhang"/>
<property name="userpass" value="123456"/>
<property name="truename" value="代宇航"/>
<property name="age" value="20"/>
<property name="role" value="管理员"/>
</bean>
<!-- 2. 材料管理模块 - Material Beansetter注入 -->
<bean id="material" class="com.ssm.di.Material">
<property name="materialId" value="M001"/>
<property name="materialName" value="试管"/>
<property name="type" value="玻璃耗材"/>
<property name="stock" value="100"/>
<property name="unit" value="个"/>
</bean>
<!-- 用于注入日期的工具Bean -->
<bean id="nowDate" class="java.util.Date"/>
<bean id="startDate" class="java.util.Date"/>
<bean id="endDate" class="java.util.Date"/>
<!-- 3. 材料出入库管理模块 - MaterialRecord Beansetter注入 -->
<bean id="materialRecord" class="com.ssm.di.MaterialRecord">
<property name="recordId" value="R001"/>
<property name="materialId" value="M001"/>
<property name="operator" value="喻廷屿"/>
<property name="nums" value="20"/>
<property name="operateDate" ref="nowDate"/>
<property name="type" value="入库"/>
</bean>
<!-- 4. 预约管理模块 - Appointment Beansetter注入 -->
<bean id="appointment" class="com.ssm.di.Appointment">
<property name="appointmentId" value="A001"/>
<property name="username" value="孙佳兴"/>
<property name="labId" value="L001"/>
<property name="startTime" ref="startDate"/>
<property name="endTime" ref="endDate"/>
<property name="purpose" value="化学实验"/>
</bean>
<!-- 5. 实验室管理模块 - Laboratory Beansetter注入 -->
<bean id="laboratory" class="com.ssm.di.Laboratory">
<property name="labId" value="L001"/>
<property name="labName" value="化学实验室1号"/>
<property name="location" value="实验楼3楼"/>
<property name="capacity" value="30"/>
<property name="status" value="空闲"/>
</bean>
</beans>

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 用户 -->
<bean id="user" class="com.ssm.ioc.User">
<property name="username" value="daiyuhang"/>
<property name="userpass" value="123456"/>
<property name="truename" value="代宇航"/>
<property name="age" value="20"/>
<property name="role" value="管理员"/>
</bean>
<!-- 材料 -->
<bean id="material" class="com.ssm.ioc.Material">
<property name="materialId" value="M001"/>
<property name="materialName" value="试管"/>
<property name="type" value="玻璃耗材"/>
<property name="stock" value="100"/>
<property name="unit" value="个"/>
</bean>
<!-- 材料记录 -->
<bean id="materialRecord" class="com.ssm.ioc.MaterialRecord">
<property name="recordId" value="R001"/>
<property name="materialId" value="M001"/>
<property name="operator" value="喻廷屿"/>
<property name="nums" value="20"/>
<property name="operateDate" ref="nowDate"/>
<property name="type" value="入库"/>
</bean>
<bean id="nowDate" class="java.util.Date"/>
<!-- 预约 -->
<bean id="appointment" class="com.ssm.ioc.Appointment">
<property name="appointmentId" value="A001"/>
<property name="username" value="孙佳兴"/>
<property name="labId" value="L001"/>
<property name="startTime" ref="startDate"/>
<property name="endTime" ref="endDate"/>
<property name="purpose" value="化学实验"/>
</bean>
<bean id="startDate" class="java.util.Date"/>
<bean id="endDate" class="java.util.Date"/>
<!-- 实验室 -->
<bean id="laboratory" class="com.ssm.ioc.Laboratory">
<property name="labId" value="L001"/>
<property name="labName" value="化学实验室1号"/>
<property name="location" value="实验楼3楼"/>
<property name="capacity" value="30"/>
<property name="status" value="空闲"/>
</bean>
</beans>
Loading…
Cancel
Save