网上有兼职做数据网站,网站建设与营销经验,wordpress合并主题,html个人网站模版ssmvue高校实验室管理系统源码和论文081 开发工具#xff1a;idea 数据库mysql5.7 数据库链接工具#xff1a;navcat,小海豚等 技术#xff1a;ssm 一#xff0e;毕业设计的内容
本高校实验室管理系统采用Java语言、MySQL数据库#xff0c;基于SSM框架进行开发设计vue高校实验室管理系统源码和论文081 开发工具idea 数据库mysql5.7 数据库链接工具navcat,小海豚等 技术ssm 一毕业设计的内容
本高校实验室管理系统采用Java语言、MySQL数据库基于SSM框架进行开发设计系统主要实现了管理员模块、教师模块以及学生模块三大部分具体如下
管理员模块1、管理员登录 2、管理注册用户信息教师、学生包含学号/工号、密码、联系方式3、实验室资源管理实验室的增删改查4、掌握实验室分配使用情况查看实验室是否被预订查看实验室当前课程信息5、管理任课教师的课程安排和学生的预订信息审核预约信息、管理计费系统对学生个人实验室使用依据时长计费。合理即可
教师模块1、注册工号、密码、联系方式、登录不需验证码2、用户信息查看与修改3、查看空闲实验室4、预约某个实验室5、查看实验课程日程安排自己预约过的实验室信息、课程信息包括上课时间、课程名6、处理学生反馈信息学生给教师留言的信息
学生模块1、注册工号、密码、联系方式、登录不需验证码2、用户信息查看与修改3、查看空闲实验室和剩余机位数量。4、完成实验选课选取任课老师预订的课程5、反馈实验信息给任课老师6、预约实验自己课外时间去实验的要收费预约一个机位7、实验计时收费
二毕业设计的意义
目前许多学校部门都基本应用了相应的信息管理手段例如学生宿舍管理信息系统教务信息管理系统等。如今不管是什么性质的单位面对大量的数据信息都要能够进行有效的管理需要有一个全面统筹的系统提供对这些海量信息数据的管理因此高校实验室管理方面开发设计实验室管理系统的发展空间是相当大的对高校的发展有着巨大的意义与实用性。
对实验室的各种资源设备实现维护与监管充分发挥其使用效益实现资源的合理调配与共享建立科学规范的实验室低值耗材管理模式对实验室实行开放管理统筹安排最大限度地满足师生的实验需求可使实验室管理人员有更多的时间去维护仪器设备从本质上提高高校实验室管理的工作效率促进实验室的规范化管理从而大大提高实验室利用效率。高校实验室管理系统的建立不仅是对资源的一种共享,而且是对低效重复性工作的解放 package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.JiaoshiEntity;
import com.entity.view.JiaoshiView;import com.service.JiaoshiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;/*** 教师* 后端接口* author * email * date 2021-04-19 16:46:14*/
RestController
RequestMapping(/jiaoshi)
public class JiaoshiController {Autowiredprivate JiaoshiService jiaoshiService;Autowiredprivate TokenService tokenService;/*** 登录*/IgnoreAuthRequestMapping(value /login)public R login(String username, String password, String captcha, HttpServletRequest request) {JiaoshiEntity user jiaoshiService.selectOne(new EntityWrapperJiaoshiEntity().eq(gonghao, username));if(usernull || !user.getMima().equals(password)) {return R.error(账号或密码不正确);}String token tokenService.generateToken(user.getId(), username,jiaoshi, 教师 );return R.ok().put(token, token);}/*** 注册*/IgnoreAuthRequestMapping(/register)public R register(RequestBody JiaoshiEntity jiaoshi){//ValidatorUtils.validateEntity(jiaoshi);JiaoshiEntity user jiaoshiService.selectOne(new EntityWrapperJiaoshiEntity().eq(gonghao, jiaoshi.getGonghao()));if(user!null) {return R.error(注册用户已存在);}Long uId new Date().getTime();jiaoshi.setId(uId);jiaoshiService.insert(jiaoshi);return R.ok();}/*** 退出*/RequestMapping(/logout)public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok(退出成功);}/*** 获取用户的session用户信息*/RequestMapping(/session)public R getCurrUser(HttpServletRequest request){Long id (Long)request.getSession().getAttribute(userId);JiaoshiEntity user jiaoshiService.selectById(id);return R.ok().put(data, user);}/*** 密码重置*/IgnoreAuthRequestMapping(value /resetPass)public R resetPass(String username, HttpServletRequest request){JiaoshiEntity user jiaoshiService.selectOne(new EntityWrapperJiaoshiEntity().eq(gonghao, username));if(usernull) {return R.error(账号不存在);}user.setMima(123456);jiaoshiService.updateById(user);return R.ok(密码已重置为123456);}/*** 后端列表*/RequestMapping(/page)public R page(RequestParam MapString, Object params,JiaoshiEntity jiaoshi, HttpServletRequest request){EntityWrapperJiaoshiEntity ew new EntityWrapperJiaoshiEntity();PageUtils page jiaoshiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiaoshi), params), params));return R.ok().put(data, page);}/*** 前端列表*/RequestMapping(/list)public R list(RequestParam MapString, Object params,JiaoshiEntity jiaoshi, HttpServletRequest request){EntityWrapperJiaoshiEntity ew new EntityWrapperJiaoshiEntity();PageUtils page jiaoshiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiaoshi), params), params));return R.ok().put(data, page);}/*** 列表*/RequestMapping(/lists)public R list( JiaoshiEntity jiaoshi){EntityWrapperJiaoshiEntity ew new EntityWrapperJiaoshiEntity();ew.allEq(MPUtil.allEQMapPre( jiaoshi, jiaoshi)); return R.ok().put(data, jiaoshiService.selectListView(ew));}/*** 查询*/RequestMapping(/query)public R query(JiaoshiEntity jiaoshi){EntityWrapper JiaoshiEntity ew new EntityWrapper JiaoshiEntity();ew.allEq(MPUtil.allEQMapPre( jiaoshi, jiaoshi)); JiaoshiView jiaoshiView jiaoshiService.selectView(ew);return R.ok(查询教师成功).put(data, jiaoshiView);}/*** 后端详情*/RequestMapping(/info/{id})public R info(PathVariable(id) Long id){JiaoshiEntity jiaoshi jiaoshiService.selectById(id);return R.ok().put(data, jiaoshi);}/*** 前端详情*/RequestMapping(/detail/{id})public R detail(PathVariable(id) Long id){JiaoshiEntity jiaoshi jiaoshiService.selectById(id);return R.ok().put(data, jiaoshi);}/*** 后端保存*/RequestMapping(/save)public R save(RequestBody JiaoshiEntity jiaoshi, HttpServletRequest request){jiaoshi.setId(new Date().getTime()new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(jiaoshi);JiaoshiEntity user jiaoshiService.selectOne(new EntityWrapperJiaoshiEntity().eq(gonghao, jiaoshi.getGonghao()));if(user!null) {return R.error(用户已存在);}jiaoshi.setId(new Date().getTime());jiaoshiService.insert(jiaoshi);return R.ok();}/*** 前端保存*/RequestMapping(/add)public R add(RequestBody JiaoshiEntity jiaoshi, HttpServletRequest request){jiaoshi.setId(new Date().getTime()new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(jiaoshi);JiaoshiEntity user jiaoshiService.selectOne(new EntityWrapperJiaoshiEntity().eq(gonghao, jiaoshi.getGonghao()));if(user!null) {return R.error(用户已存在);}jiaoshi.setId(new Date().getTime());jiaoshiService.insert(jiaoshi);return R.ok();}/*** 修改*/RequestMapping(/update)public R update(RequestBody JiaoshiEntity jiaoshi, HttpServletRequest request){//ValidatorUtils.validateEntity(jiaoshi);jiaoshiService.updateById(jiaoshi);//全部更新return R.ok();}/*** 删除*/RequestMapping(/delete)public R delete(RequestBody Long[] ids){jiaoshiService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/RequestMapping(/remind/{columnName}/{type})public R remindCount(PathVariable(columnName) String columnName, HttpServletRequest request, PathVariable(type) String type,RequestParam MapString, Object map) {map.put(column, columnName);map.put(type, type);if(type.equals(2)) {SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);Calendar c Calendar.getInstance();Date remindStartDate null;Date remindEndDate null;if(map.get(remindstart)!null) {Integer remindStart Integer.parseInt(map.get(remindstart).toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate c.getTime();map.put(remindstart, sdf.format(remindStartDate));}if(map.get(remindend)!null) {Integer remindEnd Integer.parseInt(map.get(remindend).toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate c.getTime();map.put(remindend, sdf.format(remindEndDate));}}WrapperJiaoshiEntity wrapper new EntityWrapperJiaoshiEntity();if(map.get(remindstart)!null) {wrapper.ge(columnName, map.get(remindstart));}if(map.get(remindend)!null) {wrapper.le(columnName, map.get(remindend));}int count jiaoshiService.selectCount(wrapper);return R.ok().put(count, count);}}package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.ShiyanshiEntity;
import com.entity.view.ShiyanshiView;import com.service.ShiyanshiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;/*** 实验室* 后端接口* author * email * date 2021-04-19 16:46:14*/
RestController
RequestMapping(/shiyanshi)
public class ShiyanshiController {Autowiredprivate ShiyanshiService shiyanshiService;/*** 后端列表*/RequestMapping(/page)public R page(RequestParam MapString, Object params,ShiyanshiEntity shiyanshi, HttpServletRequest request){EntityWrapperShiyanshiEntity ew new EntityWrapperShiyanshiEntity();PageUtils page shiyanshiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, shiyanshi), params), params));return R.ok().put(data, page);}/*** 前端列表*/RequestMapping(/list)public R list(RequestParam MapString, Object params,ShiyanshiEntity shiyanshi, HttpServletRequest request){EntityWrapperShiyanshiEntity ew new EntityWrapperShiyanshiEntity();PageUtils page shiyanshiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, shiyanshi), params), params));return R.ok().put(data, page);}/*** 列表*/RequestMapping(/lists)public R list( ShiyanshiEntity shiyanshi){EntityWrapperShiyanshiEntity ew new EntityWrapperShiyanshiEntity();ew.allEq(MPUtil.allEQMapPre( shiyanshi, shiyanshi)); return R.ok().put(data, shiyanshiService.selectListView(ew));}/*** 查询*/RequestMapping(/query)public R query(ShiyanshiEntity shiyanshi){EntityWrapper ShiyanshiEntity ew new EntityWrapper ShiyanshiEntity();ew.allEq(MPUtil.allEQMapPre( shiyanshi, shiyanshi)); ShiyanshiView shiyanshiView shiyanshiService.selectView(ew);return R.ok(查询实验室成功).put(data, shiyanshiView);}/*** 后端详情*/RequestMapping(/info/{id})public R info(PathVariable(id) Long id){ShiyanshiEntity shiyanshi shiyanshiService.selectById(id);return R.ok().put(data, shiyanshi);}/*** 前端详情*/RequestMapping(/detail/{id})public R detail(PathVariable(id) Long id){ShiyanshiEntity shiyanshi shiyanshiService.selectById(id);return R.ok().put(data, shiyanshi);}/*** 后端保存*/RequestMapping(/save)public R save(RequestBody ShiyanshiEntity shiyanshi, HttpServletRequest request){shiyanshi.setId(new Date().getTime()new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(shiyanshi);shiyanshiService.insert(shiyanshi);return R.ok();}/*** 前端保存*/RequestMapping(/add)public R add(RequestBody ShiyanshiEntity shiyanshi, HttpServletRequest request){shiyanshi.setId(new Date().getTime()new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(shiyanshi);shiyanshiService.insert(shiyanshi);return R.ok();}/*** 修改*/RequestMapping(/update)public R update(RequestBody ShiyanshiEntity shiyanshi, HttpServletRequest request){//ValidatorUtils.validateEntity(shiyanshi);shiyanshiService.updateById(shiyanshi);//全部更新return R.ok();}/*** 删除*/RequestMapping(/delete)public R delete(RequestBody Long[] ids){shiyanshiService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/RequestMapping(/remind/{columnName}/{type})public R remindCount(PathVariable(columnName) String columnName, HttpServletRequest request, PathVariable(type) String type,RequestParam MapString, Object map) {map.put(column, columnName);map.put(type, type);if(type.equals(2)) {SimpleDateFormat sdf new SimpleDateFormat(yyyy-MM-dd);Calendar c Calendar.getInstance();Date remindStartDate null;Date remindEndDate null;if(map.get(remindstart)!null) {Integer remindStart Integer.parseInt(map.get(remindstart).toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate c.getTime();map.put(remindstart, sdf.format(remindStartDate));}if(map.get(remindend)!null) {Integer remindEnd Integer.parseInt(map.get(remindend).toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate c.getTime();map.put(remindend, sdf.format(remindEndDate));}}WrapperShiyanshiEntity wrapper new EntityWrapperShiyanshiEntity();if(map.get(remindstart)!null) {wrapper.ge(columnName, map.get(remindstart));}if(map.get(remindend)!null) {wrapper.le(columnName, map.get(remindend));}int count shiyanshiService.selectCount(wrapper);return R.ok().put(count, count);}} 文章转载自: http://www.morning.tgts.cn.gov.cn.tgts.cn http://www.morning.kjrp.cn.gov.cn.kjrp.cn http://www.morning.zhnyj.cn.gov.cn.zhnyj.cn http://www.morning.mqzcn.cn.gov.cn.mqzcn.cn http://www.morning.rswtz.cn.gov.cn.rswtz.cn http://www.morning.mslsn.cn.gov.cn.mslsn.cn http://www.morning.kyfnh.cn.gov.cn.kyfnh.cn http://www.morning.rswtz.cn.gov.cn.rswtz.cn http://www.morning.rjfr.cn.gov.cn.rjfr.cn http://www.morning.gqjqf.cn.gov.cn.gqjqf.cn http://www.morning.jtcq.cn.gov.cn.jtcq.cn http://www.morning.iqcge.com.gov.cn.iqcge.com http://www.morning.ynlpy.cn.gov.cn.ynlpy.cn http://www.morning.qqbw.cn.gov.cn.qqbw.cn http://www.morning.zdsqb.cn.gov.cn.zdsqb.cn http://www.morning.ndzhl.cn.gov.cn.ndzhl.cn http://www.morning.qrmyd.cn.gov.cn.qrmyd.cn http://www.morning.dwtdn.cn.gov.cn.dwtdn.cn http://www.morning.rdgb.cn.gov.cn.rdgb.cn http://www.morning.mftdq.cn.gov.cn.mftdq.cn http://www.morning.dpqqg.cn.gov.cn.dpqqg.cn http://www.morning.tllws.cn.gov.cn.tllws.cn http://www.morning.qpnb.cn.gov.cn.qpnb.cn http://www.morning.gtnyq.cn.gov.cn.gtnyq.cn http://www.morning.fqlxg.cn.gov.cn.fqlxg.cn http://www.morning.svtxeu.com.gov.cn.svtxeu.com http://www.morning.ymwcs.cn.gov.cn.ymwcs.cn http://www.morning.dgfpp.cn.gov.cn.dgfpp.cn http://www.morning.xfjwm.cn.gov.cn.xfjwm.cn http://www.morning.cfrz.cn.gov.cn.cfrz.cn http://www.morning.ntzbr.cn.gov.cn.ntzbr.cn http://www.morning.dkzwx.cn.gov.cn.dkzwx.cn http://www.morning.pnntx.cn.gov.cn.pnntx.cn http://www.morning.jpydf.cn.gov.cn.jpydf.cn http://www.morning.gwkjg.cn.gov.cn.gwkjg.cn http://www.morning.rqjfm.cn.gov.cn.rqjfm.cn http://www.morning.bpmdg.cn.gov.cn.bpmdg.cn http://www.morning.gwzfj.cn.gov.cn.gwzfj.cn http://www.morning.dmchips.com.gov.cn.dmchips.com http://www.morning.qkgwz.cn.gov.cn.qkgwz.cn http://www.morning.rtsd.cn.gov.cn.rtsd.cn http://www.morning.lcbnb.cn.gov.cn.lcbnb.cn http://www.morning.nwwzc.cn.gov.cn.nwwzc.cn http://www.morning.gkktj.cn.gov.cn.gkktj.cn http://www.morning.qxycf.cn.gov.cn.qxycf.cn http://www.morning.lxbml.cn.gov.cn.lxbml.cn http://www.morning.mmclj.cn.gov.cn.mmclj.cn http://www.morning.qjghx.cn.gov.cn.qjghx.cn http://www.morning.wjwfj.cn.gov.cn.wjwfj.cn http://www.morning.rtryr.cn.gov.cn.rtryr.cn http://www.morning.ryxyz.cn.gov.cn.ryxyz.cn http://www.morning.gwqcr.cn.gov.cn.gwqcr.cn http://www.morning.lrplh.cn.gov.cn.lrplh.cn http://www.morning.ldgqh.cn.gov.cn.ldgqh.cn http://www.morning.xjmpg.cn.gov.cn.xjmpg.cn http://www.morning.xdmsq.cn.gov.cn.xdmsq.cn http://www.morning.rymb.cn.gov.cn.rymb.cn http://www.morning.mnbcj.cn.gov.cn.mnbcj.cn http://www.morning.fhykt.cn.gov.cn.fhykt.cn http://www.morning.ndpzm.cn.gov.cn.ndpzm.cn http://www.morning.ndcjq.cn.gov.cn.ndcjq.cn http://www.morning.jtkfm.cn.gov.cn.jtkfm.cn http://www.morning.znnsk.cn.gov.cn.znnsk.cn http://www.morning.dodoking.cn.gov.cn.dodoking.cn http://www.morning.qnjcx.cn.gov.cn.qnjcx.cn http://www.morning.alwpc.cn.gov.cn.alwpc.cn http://www.morning.trfh.cn.gov.cn.trfh.cn http://www.morning.gnzsd.cn.gov.cn.gnzsd.cn http://www.morning.bqwsz.cn.gov.cn.bqwsz.cn http://www.morning.lxqkt.cn.gov.cn.lxqkt.cn http://www.morning.hzryl.cn.gov.cn.hzryl.cn http://www.morning.drkk.cn.gov.cn.drkk.cn http://www.morning.clbgy.cn.gov.cn.clbgy.cn http://www.morning.mprky.cn.gov.cn.mprky.cn http://www.morning.kqglp.cn.gov.cn.kqglp.cn http://www.morning.zpstm.cn.gov.cn.zpstm.cn http://www.morning.clybn.cn.gov.cn.clybn.cn http://www.morning.hqzmz.cn.gov.cn.hqzmz.cn http://www.morning.jxwhr.cn.gov.cn.jxwhr.cn http://www.morning.zrfwz.cn.gov.cn.zrfwz.cn