基于SpringBoot+Vue的学生毕业离校管理系统设计与实现毕设(文档+源码)

        

目录

一、项目介绍

二、开发环境

三、功能介绍

四、核心代码

五、效果图

六、源码获取:


        大家好呀,我是一个混迹在java圈的码农。今天要和大家分享的是 一款基于SpringBoot+Vue的学生毕业离校管理系统,项目源码请点击文章末尾联系我哦~目前有各类成品 毕设 JavaWeb  SSM SpringBoot等等项目框架,源码丰富,欢迎咨询。 

一、项目介绍

        学生毕业离校系统的开发过程中,采用B / S架构,主要使用Java技术进行开发,结合最新流行的springboot框架。中间件服务器是Tomcat服务器,使用Mysql数据库和Eclipse开发环境。该学生毕业离校系统包括管理员、学生和教师。其主要功能包括管理员:首页、个人中心、学生管理、教师管理、离校信息管理、费用结算管理、论文审核管理、管理员管理、留言板管理、系统管理等,前台首页;首页、离校信息、网站公告、留言反馈、个人中心、后台管理等,学生:首页、个人中心、费用结算管理、论文审核管理、我的收藏管理、等,教师:首页、个人中心、学生管理、离校信息管理、费用结算管理、论文审核管理等功能。

        本论文对学生毕业离校系统的发展背景进行详细的介绍,并且对系统开发技术进行介绍,然后对系统进行需求分析,对学生毕业离校系统业务信息、系统结构以及数据都进行详细说明。学生可根据关键字进行信息的查找自己心仪的信息等。

关键词:学生毕业离校系统,Mysql数据库,Java技术 springboot框架

二、开发环境

开发系统:Windows
JDK版本:Java JDK1.8(推荐)
开发工具:IDEA/MyEclipse(推荐IDEA)
数据库版本: mysql8.0(推荐)
数据库可视化工具: navicat
服务器:SpringBoot自带 apache tomcat
框架:springboot,vue

三、功能介绍

        学生毕业离校系统,在系统首页可以查看首页、离校信息、网站公告、留言反馈、个人中心、后台管理等内容。学生登录,通过填写学号、密码、角色等信息,输入完成后选择登录即可进入毕业离校系统。教师登录,通过填写工号、密码、角色等信息,输入完成后选择登录即可进入毕业离校系统。管理员登录,通过填写账号、密码、角色等信息,输入完成后选择登录即可进入毕业离校系统。

四、核心代码


/**
 * 费用结算
 * 后端接口
 * @author 
 * @email 
 */
@RestController
@RequestMapping("/feiyongjiesuan")
public class FeiyongjiesuanController {
    @Autowired
    private FeiyongjiesuanService feiyongjiesuanService;
    


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,FeiyongjiesuanEntity feiyongjiesuan, HttpServletRequest request){
		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("xuesheng")) {
			feiyongjiesuan.setXuehao((String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("jiaoshi")) {
			feiyongjiesuan.setJiaoshigonghao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<FeiyongjiesuanEntity> ew = new EntityWrapper<FeiyongjiesuanEntity>();
		PageUtils page = feiyongjiesuanService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, feiyongjiesuan), params), params));

        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,FeiyongjiesuanEntity feiyongjiesuan, HttpServletRequest request){
        EntityWrapper<FeiyongjiesuanEntity> ew = new EntityWrapper<FeiyongjiesuanEntity>();
		PageUtils page = feiyongjiesuanService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, feiyongjiesuan), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( FeiyongjiesuanEntity feiyongjiesuan){
       	EntityWrapper<FeiyongjiesuanEntity> ew = new EntityWrapper<FeiyongjiesuanEntity>();
      	ew.allEq(MPUtil.allEQMapPre( feiyongjiesuan, "feiyongjiesuan")); 
        return R.ok().put("data", feiyongjiesuanService.selectListView(ew));
    }

	 /**
     * 查询
     */
    @RequestMapping("/query")
    public R query(FeiyongjiesuanEntity feiyongjiesuan){
        EntityWrapper< FeiyongjiesuanEntity> ew = new EntityWrapper< FeiyongjiesuanEntity>();
 		ew.allEq(MPUtil.allEQMapPre( feiyongjiesuan, "feiyongjiesuan")); 
		FeiyongjiesuanView feiyongjiesuanView =  feiyongjiesuanService.selectView(ew);
		return R.ok("查询费用结算成功").put("data", feiyongjiesuanView);
    }
	
    /**
     * 后端详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        FeiyongjiesuanEntity feiyongjiesuan = feiyongjiesuanService.selectById(id);
        return R.ok().put("data", feiyongjiesuan);
    }

    /**
     * 前端详情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        FeiyongjiesuanEntity feiyongjiesuan = feiyongjiesuanService.selectById(id);
        return R.ok().put("data", feiyongjiesuan);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody FeiyongjiesuanEntity feiyongjiesuan, HttpServletRequest request){
    	feiyongjiesuan.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(feiyongjiesuan);
        feiyongjiesuanService.insert(feiyongjiesuan);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody FeiyongjiesuanEntity feiyongjiesuan, HttpServletRequest request){
    	feiyongjiesuan.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(feiyongjiesuan);
        feiyongjiesuanService.insert(feiyongjiesuan);
        return R.ok();
    }

    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody FeiyongjiesuanEntity feiyongjiesuan, HttpServletRequest request){
        //ValidatorUtils.validateEntity(feiyongjiesuan);
        feiyongjiesuanService.updateById(feiyongjiesuan);//全部更新
        return R.ok();
    }
    

    /**
     * 删除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        feiyongjiesuanService.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 Map<String, 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));
			}
		}
		
		Wrapper<FeiyongjiesuanEntity> wrapper = new EntityWrapper<FeiyongjiesuanEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("xuesheng")) {
			wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("jiaoshi")) {
			wrapper.eq("jiaoshigonghao", (String)request.getSession().getAttribute("username"));
		}

		int count = feiyongjiesuanService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
	


}

五、效果图

 

六、源码获取:

👇🏻获取联系方式在文章末尾👇🏻
有需要的伙伴可以点击下方名片,与我联系哦~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值