基于Springboot+Mybatis+mysql+element-vue高校就业管理系统

一、系统介绍

学生 : 个人信息、查看企业岗位信息、简历信息管理、我的应聘

辅导员 : 学生信息管理、三方协议书审核、查看班级就业统计信息

企业 :企业信息、岗位企业信息管理、查看学生简历信息、应聘信息管理

管理员:首页、个人信息管理、用户信息管理、学院专业管理、企业岗位管理、类型信息管理、简历信息管理、学生三方协议书审核、就业统计

运行环境 : idea、mysql、maven

二、功能展示

1.用户登陆注册

在这里插入图片描述

2.个人信息(学生端)

在这里插入图片描述

3.查看企业岗位信息(学生端)

在这里插入图片描述

4.我的应聘(学生端)

在这里插入图片描述

5.学生信息管理(辅导员)

在这里插入图片描述

6.三方协议书审核(辅导员)

在这里插入图片描述

7.查看班级就业统计信息(辅导员)

在这里插入图片描述

8.企业信息(企业)

在这里插入图片描述

9.岗位信息管理(企业)

在这里插入图片描述

10.查看学生简历信息(企业)

查看学生简历信息

11.应聘信息管理(企业)

在这里插入图片描述

12.后台管理(管理员)

在这里插入图片描述

三、代码展示

package com.fang.backgroundapi.controller;

import com.fang.backgroundapi.common.ResponseCode;
import com.fang.backgroundapi.common.ServerResponse;
import com.fang.backgroundapi.exception.MyException;
import com.fang.backgroundapi.pojo.DO.ImageUpload;
import com.fang.backgroundapi.service.impl.ImageUploadServiceImpl;
import com.google.gson.Gson;
import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.Region;
import com.qiniu.storage.UploadManager;
import com.qiniu.storage.model.DefaultPutRet;
import com.qiniu.util.Auth;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author 
 * @Description: OSS对象存储控制器
 * @create 2022/1/16 14:36
 **/
@RestController
@RequestMapping("/oss")
@Api(tags = "OSS对象存储控制器")
@Slf4j
public class OSSController extends BaseController {

    @Autowired
    private ImageUploadServiceImpl imageUploadService;

    private final String ACCESS_KEY = "tz2qyudkdq8-vBpT_U93E3TBZxUXXRCDkSMo5Q9C";
    private final String SECRET_KEY = "5FChEdodFIOUQ4wCNRN8_ZTPMTYGDsC1ShJNnnLS";
    private final String BUCKET = "img9527";

    @PostMapping("/upload")
    @ApiOperation(value = "上传接口", response = ServerResponse.class, httpMethod = "POST")
    public ServerResponse upload(MultipartFile file) throws MyException {
        if (file.isEmpty()) {
            return ServerResponse.error(ResponseCode.FAIL.getCode(), ResponseCode.FAIL.getDesc(), null);
        }
        String authorId = super.getAuthorId();
        //检查格式
        String[] fileType = file.getContentType().split("/");
        log.info("{}---->上传", authorId);
        log.info("上传文件类型:{}", fileType);
        if (!("png".equals(fileType[1]) || "jpeg".equals(fileType[1]))) {
            log.info("不支持上传{}类型", fileType);
            return ServerResponse.error(ResponseCode.FAIL.getCode(), ResponseCode.FAIL.getDesc(), null);
        }
        //文件大小做了整体配置,超过2M无法上传

        // 自检通过,上传到七牛云,这些都是默认配置
        Auth auth = Auth.create(ACCESS_KEY, SECRET_KEY);
        String upToken = auth.uploadToken(BUCKET);
        Region region = new Region.Builder().
                region("z2").
                srcUpHost("up-z2.qiniup.com", "up-dg.qiniup.com", "up-fs.qiniup.com").
                accUpHost("upload-z2.qiniup.com", "upload-dg.qiniup.com", "upload-fs.qiniup.com").
                iovipHost("iovip-z2.qbox.me").
                rsHost("rs-z2.qbox.me").
                rsfHost("rsf-z2.qbox.me").
                apiHost("api-z2.qiniu.com").
                build();
        Configuration cfg = new Configuration(region);

        cfg.useHttpsDomains = false;
        UploadManager uploadManager = new UploadManager(cfg);
        DefaultPutRet putRet = null;
        try {
            Response response = uploadManager.put(file.getInputStream(),null,upToken,null, null);
            //解析上传成功的结果
            putRet = new Gson().fromJson(response.bodyString(), DefaultPutRet.class);
            System.out.println(putRet.key);
            System.out.println(putRet.hash);
        } catch (QiniuException ex) {
            ex.printStackTrace();
            log.error("OSS存储错误-----> {}", ex.getMessage());
            throw new MyException("出错了", 5000, ex);
        } catch (IOException e) {
            e.printStackTrace();
            log.error("OSS存储错误-----> {}", e.getMessage());
            throw new MyException("出错了", 5000, e);
        }

        if (putRet != null){
            // 数据库保存
            ImageUpload imageUpload = new ImageUpload();
            imageUpload.setAuthorId(authorId);
            imageUpload.setOriginalName(file.getOriginalFilename());
            imageUpload.setSize(file.getSize());
            imageUpload.setAddress("http://r96uify9u.hn-bkt.clouddn.com/" + putRet.key);
            imageUpload.setUploader(authorId);
            imageUpload.setType(fileType[1]);
            imageUploadService.save(imageUpload);
            return ServerResponse.success(imageUpload.getAddress());
        }
        return ServerResponse.error(5000,"oss存储失败", "NullPointerException");
    }

}

四、其它

1.其他系统实现

Java+Swing实现学生选课管理系统
Java+Swing实现学校教务管理系统
Java+Swing+sqlserver学生成绩管理系统
Java+Swing用户信息管理系统
Java+Swing实现的五子棋游戏
基于JavaSwing 银行管理系统
Java+Swing+mysql仿QQ聊天工具
Java+Swing 聊天室
Java+Swing+dat文件存储实现学生选课管理系统
Java+Swing可视化图像处理软件
Java+Swing学生信息管理系统
Java+Swing图书管理系统
Java+Swing图书管理系统2.0
基于java+swing+mysql图书管理系统3.0
大作业-基于java+swing+mysql北方传统民居信息管理系统

五.获取源码

点击下载
基于Springboot+Mybatis+mysql+element-vue高校就业管理系统

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
实现院系、专业、毕业生信息管理(设有就业标志,初值为‘待业’); 实现职业类型、职业信息(职业号、类型号、需求数量、聘用数量、用 人单位)登记; 实现毕业生就业登记(学号、职业号),自动修改相应学生的就业标志 和职业的聘用数量,并保证聘用数量不大于需求数量; 创建存储过程查询毕业生的人数、待业人数、就业人数和就业率; 创建存储过程查询各专业的毕业生就业率; 创建 check 约束限制毕业生性别必须为‘男’或‘女’; 建立表间关系。 二、需求分析 2.1高校就业管理系统 高校就业管理系统化可以完成对学生信息的修改、查询(就业率,已就业信息,未就业信息,公司信息)、添加(学生基本信息,院系信息,公司信息)、退出功能。初步完成了对高校就业信息的管理,界面设计简洁,使用简单。 2.2高校就业管理系统数据流图实现院系、专业、毕业生信息管理(设有就业标志,初值为‘待业’); 实现职业类型、职业信息(职业号、类型号、需求数量、聘用数量、用 人单位)登记; 实现毕业生就业登记(学号、职业号),自动修改相应学生的就业标志 和职业的聘用数量,并保证聘用数量不大于需求数量; 创建存储过程查询毕业生的人数、待业人数、就业人数和就业率; 创建存储过程查询各专业的毕业生就业率; 创建 check 约束限制毕业生性别必须为‘男’或‘女’; 建立表间关系。 二、需求分析 2.1高校就业管理系统 高校就业管理系统化可以完成对学生信息的修改、查询(就业率,已就业信息,未就业信息,公司信息)、添加(学生基本信息,院系信息,公司信息)、退出功能。初步完成了对高校就业信息的管理,界面设计简洁,使用简单。 2.2高校就业管理系统数据流图

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

五星资源

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值