基于JSP的JSP+MYSQL人才招聘系统hrm系统是一个综合的员工管理系统,系统主页面左边由导航树构成,分为:部门管理、员工管理、招聘管理、培训管理、薪资管理、以及系统设置模块,
模块功能主要包含CRUD操作,详情查看等操作。

后台管理具体描述如下:网站新闻资讯管理|--添加新闻资讯;|--修改新闻资讯;|--删除新闻资讯个人会员管理|--查看个人会员|--删除个人会员企业会员管理|--查看企业会员|--删除企业会员在线留言管理|--查看在线留言|--删除在线留言

系统用户管理

|--系统用户的录入,包括用户名、密码等信息|--修改自己的密码|--用户信息查看|--登录日志查看 招聘信息管理求职信息管理求职信息审核

个人会员

|--注册个人用户|--个人用户修改自己的密码|--个人用户发布自己的求职信息|--个人用户修改自己的求职信息|--个人用户上传自己的照片|--发送求职申请和个人简历|--接收用人单位的面试通知

企业会员|--注册企业用户|--企业用户修改自己的密码|--企业用户发布自己的招聘信息|--企业用户修改自己的招聘信息|--企业用户向求职者发送面试通知|--为所有求职人员设置人才库数据库(hibernate 的c3p0连接数据库使用说明)

com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/hrm
root
123456
true
true
org.hibernate.dialect.MySQL5Dialect   
org.springframework.orm.hibernate4.SpringSessionContext "

package com.csl.controller;

import com.alibaba.fastjson.JSON;
import com.csl.domain.*;
import com.csl.serviceImpl.GoodsServiceImpl;
import com.csl.serviceImpl.ImageServiceImpl;
import com.csl.serviceImpl.UserServiceImpl;
import com.google.gson.Gson;
import com.qiniu.common.QiniuException;
import com.qiniu.common.Zone;
import com.qiniu.http.Response;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.UploadManager;
import com.qiniu.storage.model.DefaultPutRet;
import com.qiniu.util.Auth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;

import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.UUID;

/**
 * Created by csl on 2017/4/18.
 */
@Controller
@RequestMapping(value = "/goods")
public class GoodsController {
    @Autowired
    private GoodsServiceImpl goodsService;
    @Autowired
    private UserServiceImpl userService;
    @Autowired
    private ImageServiceImpl imageService;

private String imageUrl = "";

@RequestMapping(value = "/goodsSpecific/{goodsID}&{userID}", method = RequestMethod.GET)
    public ModelAndView goodsSpecific(@PathVariable("goodsID") String goodsID, @PathVariable String userID) {
        GoodsDO goodsDO = this.goodsService.getByID(goodsID, userID);
        UserDO userDO = this.userService.getOwner(goodsID);
        ModelAndView modelAndView = new ModelAndView("GoodsSpecific");
        modelAndView.addObject("goods", goodsDO);
        modelAndView.addObject("user", userDO);
        return modelAndView;
    }

@RequestMapping(value = "/attentionGoods", method = RequestMethod.POST)
    @ResponseBody
    public int attentionGoods(String goodsID, String userID, boolean isAttention) {
        try {
            if (isAttention) {
                this.goodsService.attentionGoods(userID, goodsID);
                return 1;
            } else {
                this.goodsService.removeAttention(userID, goodsID);
                return 2;
            }
        } catch (Exception exception) {

}
        return -1;
    }

@RequestMapping(value = "/getTop5", method = RequestMethod.GET)
    @ResponseBody
    public List<GoodsDO> getTop5(String userID) {
        return this.goodsService.getTop5(userID);
    }

@RequestMapping(value = "/viewCollection", method = RequestMethod.GET)
    public ModelAndView viewCollection() {
        return new ModelAndView("UserCollection");
    }

@RequestMapping(value = "/getCollection")
    @ResponseBody
    public List<GoodsDO> getCollection(String userID) {
        return this.goodsService.getGoodsByUserID(userID, ActionPage.attention);
    }

@RequestMapping(value = "/viewRepository", method = RequestMethod.GET)
    public ModelAndView viewRepository() {
        return new ModelAndView("GoodsRepository");
    }

@RequestMapping(value = "/getRepository", method = RequestMethod.GET)
    @ResponseBody
    public List<GoodsDO> getRepository(String userID) {
        return this.goodsService.getGoodsByUserID(userID, ActionPage.own);
    }

@RequestMapping(value = "/editGoods/{goodsID}", method = RequestMethod.GET)
    public ModelAndView editGoods(@PathVariable String goodsID) {
        GoodsDO goodsDO = this.goodsService.find(goodsID);
        ModelAndView modelAndView = new ModelAndView("GoodsEdit");
        modelAndView.addObject("goods", goodsDO);
        modelAndView.addObject("pageType", "edit");
        return modelAndView;
    }

@RequestMapping(value = "/update", method = RequestMethod.GET)
    @ResponseBody
    public boolean update(String goodsJSON) {
        GoodsDO goodsDO = JSON.parseObject(goodsJSON, GoodsDO.class);
        if (goodsDO.getImageUrl() == "") {
            goodsDO.setImageUrl(this.imageUrl);
        }
        return this.goodsService.update(goodsDO);
    }

@RequestMapping(value = "/remove", method = RequestMethod.GET)
    @ResponseBody
    public boolean remove(String goodsID, int type) {
        boolean result = true;
        switch (type) {
            case 1:
                result = this.goodsService.remove(goodsID);
                break;
            case 2:
                result = this.goodsService.removeSoldGoods(goodsID);
                break;
            default:
                break;
        }
        return result;
    }

@RequestMapping(value = "/createGoods", method = RequestMethod.GET)
    public ModelAndView createGoods() {
        GoodsDO goodsDO = new GoodsDO();
        goodsDO.setID(UUID.randomUUID().toString());
        ModelAndView modelAndView = new ModelAndView("GoodsEdit");
        modelAndView.addObject("goods", goodsDO);
        modelAndView.addObject("pageType", "create");
        return modelAndView;
    }

@RequestMapping(value = "/friendGoods/{twoID}", method = RequestMethod.GET)
    public ModelAndView friendGoods(@PathVariable("twoID") String twoID) {
        ModelAndView modelAndView = new ModelAndView("FriendGoods");
        modelAndView.addObject("twoID", twoID);
        return new ModelAndView("FriendGoods");
    }

@RequestMapping(value = "/upImage", method = RequestMethod.POST)
    @ResponseBody
    public boolean upImage(@RequestParam("file") MultipartFile imageFile) {
        try {
            this.imageUrl = this.imageService.upImage(imageFile.getBytes());
        } catch (Exception exception) {

}
        return true;
    }

@RequestMapping(value = "/addGoods", method = RequestMethod.GET)
    @ResponseBody
    public boolean addGoods(String goodsJSON, String userID) {
        GoodsDO goodsDO = JSON.parseObject(goodsJSON, GoodsDO.class);
        goodsDO.setImageUrl(this.imageUrl);
        goodsDO.setStatus(GoodsStatus.unsold.name());
        return this.goodsService.save(goodsDO, userID);
    }

@RequestMapping(value = "/updateStatus", method = RequestMethod.GET)
    @ResponseBody
    public boolean updateStatus(String goodsID, String status) {
        return this.goodsService.updateStatus(goodsID, GoodsStatus.valueOf(status));
    }

@RequestMapping(value = "/search", method = RequestMethod.GET)
    @ResponseBody
    public List<GoodsDO> search(String userID, String text) {
        return null;
    }
}
package com.csl.controller;

import com.csl.domain.FinalValue;
import com.csl.domain.UserDO;
import com.csl.domain.ValidateCodeMap;
import com.csl.serviceImpl.MailServiceImpl;
import com.csl.serviceImpl.UserServiceImpl;
import com.csl.utility.ValidateCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

import java.awt.image.BufferedImage;
import java.util.*;

/**
* Created by csl on 2017/3/30.
*/
@Controller
@RequestMapping(value = "/user")
public class UserController {
  @Autowired
  private UserServiceImpl userService;
  @Autowired
  private MailServiceImpl mailService;
  private String validateCode = "";
  private ValidateCode validateCoder = ValidateCode.getInstance();
  private int validateIndex = 0;
  private ArrayList<ValidateCodeMap> validateMapList = new ArrayList<ValidateCodeMap>();

@RequestMapping(value = "/getUserByEmail", method = RequestMethod.GET)
  @ResponseBody
  public UserDO getUserByEmail(String email) {
    return this.userService.getUserByEmail(email);
  }

@RequestMapping(value = "/getUserByID", method = RequestMethod.GET)
  @ResponseBody
  public UserDO getUserByID(String ID) {
    return this.userService.getUserByID(ID);
  }

@RequestMapping(value = "/validateUser", method = RequestMethod.GET)
  @ResponseBody
  public boolean validateUser(String email, String password) {
    return this.userService.isRightUser(email, password);
  }

@RequestMapping(value = "/getValidateCode", method = RequestMethod.GET)
  @ResponseBody
  public String getValidateCode() {
    String result = "";
    if (this.validateMapList != null && this.validateMapList.size() == 0) {
      this.validateMapList = this.validateCoder.getValidateMap();
    }
    int index = new Random().nextInt(this.validateMapList.size());
    while (index == this.validateIndex) {
      index = new Random().nextInt(this.validateMapList.size());
    }
    this.validateIndex = index;
    result = FinalValue.filePath + this.validateMapList.get(index).getName() + ".PNG";
    return result;
  }

@RequestMapping(value = "/checkValidateCode", method = RequestMethod.GET)
  @ResponseBody
  public boolean checkValidateCode(String validateCode, int kind) {
    boolean result = true;
    switch (kind) {
      case 1:
        result = validateCode.equals(this.validateMapList.get(validateIndex).getResult());
        ;
        break;
      case 2:
        result = this.validateCode != "" && this.validateCode.equals(validateCode);
        break;
      default:
        break;
    }
    return result;
  }

@RequestMapping(value = "/checkEmail", method = RequestMethod.GET)
  @ResponseBody
  public boolean checkEmail(String userEmail) {
    return this.userService.checkEmail(userEmail);
  }

@RequestMapping(value = "/checkName", method = RequestMethod.GET)
  @ResponseBody
  public boolean checkName(String userName) {
    return this.userService.checkName(userName);
  }

@RequestMapping(value = "/checkTelephone", method = RequestMethod.GET)
  @ResponseBody
  public boolean checkTelephone(String telephone) {
    return this.userService.checkTelephone(telephone);
  }

@RequestMapping(value = "/registerAccount", method = RequestMethod.POST)
  @ResponseBody
  public UserDO registerAccount(UserDO userDO) {
    userDO.setID(UUID.randomUUID().toString());
    try {
      boolean result = this.userService.registerAccount(userDO);
      if (result) {
        return userDO;
      }
    } catch (Exception exception) {

}
    return null;
  }

@RequestMapping(value = "/sendValidateCode", method = RequestMethod.GET)
  @ResponseBody
  public boolean sendValidateCode(String email) {
    boolean result = true;
    try {
      this.validateCode = this.mailService.sendValidateCode(email);
    } catch (Exception exception) {
      result = false;
    }
    return result;
  }

@RequestMapping(value = "/updateAccount", method = RequestMethod.POST)
  @ResponseBody
  public UserDO updateAccount(String email, String password) {
    try {
      boolean result = this.userService.resetPassword(email, password);
      if (result) {
        return this.userService.getUserByEmail(email);
      }
    } catch (Exception exception) {

}
    return null;
  }

@RequestMapping(value = "/modifyMessage", method = RequestMethod.POST)
  @ResponseBody
  public boolean modifyMessage(String ID, String telephone) {
    return this.userService.changeMessage(ID, telephone);
  }

@RequestMapping(value = "/getOwner", method = RequestMethod.GET)
  @ResponseBody
  public UserDO getOwner(String goodsID) {
    return this.userService.getOwner(goodsID);
  }

@RequestMapping(value = "/getFiveCity", method = RequestMethod.GET)
  @ResponseBody
  public List<String> getFiveCity() {
    return this.userService.getFiveCity();
  }

@RequestMapping(value = "/addFriend", method = RequestMethod.POST)
  @ResponseBody
  public boolean addFriend(String oneID, String twoID, String name) {
    return this.userService.addFriend(oneID, twoID, name);
  }

@RequestMapping(value = "/getAllFriends", method = RequestMethod.POST)
  @ResponseBody
  public List<UserDO> getAllFriends(String oneID) {
    return this.userService.getAllFriends(oneID);
  }

@RequestMapping(value = "/checkFriend", method = RequestMethod.POST)
  @ResponseBody
  public boolean checkFriend(String oneID, String twoID) {
    return this.userService.checkFriend(oneID, twoID);
  }

@RequestMapping(value = "/removeFriend", method = RequestMethod.POST)
  @ResponseBody
  public boolean removeFriend(String oneID, String twoID) {
    return this.userService.removeFriend(oneID, twoID);
  }
}

Javaweb人才招聘系统相关推荐

  1. 基于Javaweb的在线人才招聘系统求职兼职应聘

    博主介绍:✌在职Java研发工程师.专注于程序设计.源码分享.技术交流.专注于Java技术领域和毕业设计✌ 项目名称 基于Javaweb的在线人才招聘系统求职兼职应聘 视频效果 https://www ...

  2. 基于JavaWeb的公司人才招聘系统 课程论文+流程图及源文件+项目源码

    资源下载地址:https://download.csdn.net/download/sheziqiong/85731113 资源下载地址:https://download.csdn.net/downl ...

  3. javaweb网上人才招聘系统案例

    项目描述: 网上人才招聘系统分为前台管理和后台管理.前台管理包括浏览招聘信息.流动流程查询.查看人才政策.维护个人信息和维护用户信息等功能.后台管理包括招聘信息管理.人才政策管理.流动流程信息管理和司 ...

  4. javaweb网上人才招聘系统

    项目描述: 网上人才招聘系统分为前台管理和后台管理.前台管理包括浏览招聘信息.流动流程查询.查看人才政策.维护个人信息和维护用户信息等功能.后台管理包括招聘信息管理.人才政策管理.流动流程信息管理和司 ...

  5. java计算机毕业设计人才招聘系统智能化管理MyBatis+系统+LW文档+源码+调试部署

    java计算机毕业设计人才招聘系统智能化管理MyBatis+系统+LW文档+源码+调试部署 java计算机毕业设计人才招聘系统智能化管理MyBatis+系统+LW文档+源码+调试部署 本源码技术栈: ...

  6. php人才招聘系统描述,基于ThinkPHP框架的人才招聘网站系统PHP源码

    源码介绍 骑士cms人才系统是一项基于ThinPHP框架为核心开发的一套免费 + 开源专业人才招聘系统.软件具执行效率高.模板自由切换.后台管理功能方便等诸多优秀特点.全部代码都为骑士网络原创,有着完 ...

  7. springboot毕设项目基于的人才招聘系统6czpy(java+VUE+Mybatis+Maven+Mysql)

    springboot毕设项目基于的人才招聘系统6czpy(java+VUE+Mybatis+Maven+Mysql) 项目运行 环境配置: Jdk1.8 + Tomcat8.5 + Mysql + H ...

  8. 网上人才招聘系统(php+mysql)

    网上人才招聘系统(php+mysql)    (毕业论文14842字以上,共61页,程序代码,MySQL数据库) 全套代码下载 [项目包含内容] [文档包含内容] [项目功能介绍] 该课题主要利用PH ...

  9. YUN人才招聘系统PHP源码v5.1.2

    简介: PHPYUN人才招聘系统是一个采用 PHP 和 MySQL 数据库构建的高效开源的人才与企业求职招.聘解决方案,在尊重版权的前提下能极大的满足站长对于网站程序进行二次开发.PHP云人才系统作为 ...

最新文章

  1. 聊聊三维重建-双目立体视觉原理
  2. Revisiting Salient Object Detection: Simultaneous Detection, Ranking, and Subitizing of Multiple Sal
  3. 【SQL 代码】Sql分页(自用)
  4. Python自动化开发学习13-堡垒机开发
  5. 网络编程懒人入门(六):史上最通俗的集线器、交换机、路由器功能原理入门
  6. 在Android中使用GIF图片
  7. 结束 txt进程_Python多进程抓取拉钩网十万数据
  8. zabbix mysql 平台_监控平台-zabbix
  9. I.MX6UL核心模块tf卡启动linux的实现
  10. 批量导入AD账户批量启用Exchange 账户步骤
  11. PyTorch中文教程 | (11) 聊天机器人教程
  12. 2022年新版青龙面板对接企业微信应用实现定时推送日志
  13. Input输入框的失焦
  14. 基于k-means聚类算法对NBA球员数据的一次聚类分析
  15. 【问题】loadrunner运行场景时,用户卡在run状态,且退出时卡在gradual exiting状态
  16. 二叉树——前序和中序得到后序
  17. Ray在蚂蚁大规模生成落地中的优化与实践
  18. 跳转指令: JMP、JECXZ、JA、JB、JG、JL、JE、JZ、JS、JC、JO、JP 等
  19. 步进电机基础(8.1)-步进电机的问题解决方案-增加动态转矩的解决方法
  20. 南加州大学计算机专业研究生录取,南加州大学研究生录取案例分享

热门文章

  1. H3C基本实验:PPP、FR配置实验
  2. python3--最新google_trans_new超时报错JSONDecodeError解决
  3. php 字符串中插入字符,PHP字符串中插入子字符串方法总结[原创]_php技巧
  4. java jms clust,activeMQ使用总结 (集群方案)
  5. [计算机网络] 网络安全
  6. 智慧海洋建设-Task1地理数据分析常用工具
  7. 1510 出纳员问题
  8. 精美的android ui框架,Android酷炫实用的开源框架(UI框架)
  9. 下一代网络安全竞赛系统(理论、CTF、AWD)开发与设计
  10. 2018秋季前端面试问题总结