首页 前端知识 基于javaweb mysql的ssm求职招聘管理系统(java ssm jsp jquery h-ui mysql)

基于javaweb mysql的ssm求职招聘管理系统(java ssm jsp jquery h-ui mysql)

2024-04-20 17:04:20 前端知识 前端哥 118 607 我要收藏

基于javaweb+mysql的ssm求职招聘管理系统(java+ssm+jsp+jquery+h-ui+mysql)

私信源码获取及调试交流

运行环境

Java≥8、MySQL≥5.7、Tomcat≥8

开发工具

eclipse/idea/myeclipse/sts等均可配置运行

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

基于javaweb+mysql的SSM求职招聘管理系统(java+ssm+jsp+jquery+h-ui+mysql)

项目介绍

该求职招聘网站基于B/S架构,采用SSM框架,运用JSP网页开发技术,并结合MySQL数据库,为招聘者和求职者搭建了一个高效、便捷的招聘平台。

本系统分别为前台求职招聘和后台系统管理,功能如下: 1.前台求职招聘 前台首页、用户注册、用户登录、新闻公告、求职须知、求职信息、发布招聘信息、申请职位、个人中心、发布招聘信息、发布求职信息、求职申请、我的求职、意见反馈等功能。 2.后台系统管理 系统后台登陆、管理员管理、用户管理、新闻公告管理、职位类型管理、招聘职位管理、个人求职管理、求职申请管理、意见反馈管理等功能。

环境需要

1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。 2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA; 3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可 4.硬件环境:windows 7/8/10 1G内存以上;或者 Mac OS; 5.是否Maven项目: 否;查看源码目录中是否包含pom.xml;若包含,则为maven项目,否则为非maven项目 6.数据库:MySql 5.7/8.0等版本均可;

技术栈

后台框架:Spring、SpringMVC、MyBatis UI界面:JSP、jQuery 、H-ui 数据库:MySQL

使用说明

  1. 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件;

  2. 使用IDEA/Eclipse/MyEclipse导入项目,修改配置,运行项目;

@Autowired

private JobService jobService;

@RequiresRoles("admin")

@PostMapping("/add")

@ResponseBody

public ServerResponse add(JobDTO dto) {

try {

dto.setCreateTime(new Date());

jobMapper.insertSelective(dto);

} catch (Exception e) {

return ServerResponse.buildErrorMsg("添加失败");

return ServerResponse.buildSuccessMsg("添加成功");

@RequiresRoles("admin")

@DeleteMapping("/delete/{id}")


model.addAttribute("user",serverResponse.getData());

return "manage/user";

@RequiresRoles("admin")

@PostMapping("/admin/add")

@ResponseBody

public ServerResponse addUser(User user){

return userService.addUser(user);

@RequiresRoles("admin")

@PostMapping("/admin/query")

@ResponseBody

public ServerResponse query(String name,

@RequestParam(value = "pageIndex",defaultValue = "1",required = false)int  pageIndex,


return positionService.findByKeyWord(condition,pageIndex,pageSize,0);

//管理员的权限

@RequiresRoles("admin")

@PostMapping("/admin/add")

@ResponseBody

public ServerResponse add(Positions positions,HttpSession session){

String username =(String) session.getAttribute("username");

if (StringUtils.isEmpty(username)){

return ServerResponse.buildErrorMsg("请登录");

return positionService.insert(positions);

@GetMapping("/admin/getById/{id}")

@ResponseBody


if (StringUtils.isNotBlank(arr[i])){

if (arr[i].contains(".")){ //说明是分类

//去掉“.”

int index = arr[i].lastIndexOf(".");

String a = arr[i].substring(0,index);

pClassify.add(a.trim());

}else { //是地址

workSite.add(arr[i]);

ServerResponse serverResponse = positionService.findByCondiction(pClassify,workSite,null,flag,keyWord,pageIndex,pageSize);

return serverResponse;

//关键字搜索

public String getDetail(@RequestParam("pName")String pName,

Model model){

ServerResponse serverResponse = positionService.getDeatils(pName,flag);

model.addAttribute("detail",serverResponse.getData());

serverResponse = positionService.findByRandom(flag);

model.addAttribute("positions",serverResponse.getData());

return "www/detail";

@GetMapping("/findByCondiction")

@ResponseBody

public ServerResponse findByCondiction(@RequestParam(value = "condition",required = false,defaultValue = "") String condition,

@RequestParam(value = "keyWord",required = false,defaultValue = "")String keyWord,

@RequestParam(value = "pageIndex",defaultValue = "1",required = false)int pageIndex,

@RequestParam(value = "pageSize",defaultValue = "5",required = false)int pageSize,


@RequestParam(value = "pageIndex",defaultValue = "1",required = false)int  pageIndex,

@RequestParam(value = "pageSize",defaultValue = "8",required = false)int pageSize){

return userService.queryUserByName(name,pageIndex,pageSize);

@RequiresRoles("admin")

@PostMapping("/admin/changeRole")

@ResponseBody

public ServerResponse changeRole(String name,int roleId){

return userService.changeRole(name,roleId);

@RequiresRoles("admin")

@DeleteMapping("/admin/delete/{id}")

@ResponseBody

public class JobController {

@Autowired

private JobMapper jobMapper;

@Autowired

private JobService jobService;

@RequiresRoles("admin")

@PostMapping("/add")

@ResponseBody

public ServerResponse add(JobDTO dto) {

try {

dto.setCreateTime(new Date());

jobMapper.insertSelective(dto);

} catch (Exception e) {

@PostMapping("/apply")

@ResponseBody

public ServerResponse apply(HttpSession session,int pId,int resumeId){

String username =(String) session.getAttribute("username");

if (StringUtils.isEmpty(username)){

return ServerResponse.buildErrorMsg("请登录");

User user = userService.findByUsername(username);

return positionService.apply(user.getId(),pId,resumeId);

//收藏职位

@PostMapping("/collect")

@ResponseBody


@Controller

@RequestMapping("/job")

public class JobController {

@Autowired

private JobMapper jobMapper;

@Autowired

private JobService jobService;

@RequiresRoles("admin")

@PostMapping("/add")

@ResponseBody

public ServerResponse add(JobDTO dto) {

public ServerResponse changeRole(String name,int roleId){

return userService.changeRole(name,roleId);

@RequiresRoles("admin")

@DeleteMapping("/admin/delete/{id}")

@ResponseBody

public ServerResponse deleteByName(@PathVariable int id){

return userService.deleteUserById(id);

招聘管理控制层:

@Controller

@RequestMapping("/position")

public class PositionController {

private static final int flag = 1;

@Autowired

private PositionService positionService;


public class UserController {

@Autowired

private UserService userService;

/*-------------------管理员------------------------*/

@RequiresRoles("admin")

@GetMapping("/admin/show")

public String show(Model model){

ServerResponse serverResponse = userService.queryUserByName(null,1,8);

model.addAttribute("user",serverResponse.getData());

return "manage/user";

@RequiresRoles("admin")

@PostMapping("/admin/add")


private JobService jobService;

@RequiresRoles("admin")

@PostMapping("/add")

@ResponseBody

public ServerResponse add(JobDTO dto) {

try {

dto.setCreateTime(new Date());

jobMapper.insertSelective(dto);

} catch (Exception e) {

return ServerResponse.buildErrorMsg("添加失败");

return ServerResponse.buildSuccessMsg("添加成功");

@RequiresRoles("admin")
// @ResponseBody

public ServerResponse findByKeyWord(@RequestParam(value = "keyWord",required = false,defaultValue = "")String keyWord,

@RequestParam(value = "pageIndex",defaultValue = "1",required = false)int pageIndex,

@RequestParam(value = "pageSize",defaultValue = "5",required = false)int pageSize){

ServerResponse serverResponse = positionService.findByKeyWord(keyWord,pageIndex,pageSize,flag);

return ServerResponse.buildSuccessData(serverResponse.getData());

//申请职位

@PostMapping("/apply")

@ResponseBody

public ServerResponse apply(HttpSession session,int pId,int resumeId){

String username =(String) session.getAttribute("username");

if (StringUtils.isEmpty(username)){

return ServerResponse.buildErrorMsg("请登录");
} catch (Exception e) {

return ServerResponse.buildErrorMsg("删除失败");

return ServerResponse.buildSuccessMsg("删除成功");

@RequiresRoles("admin")

@PostMapping("/update")

@ResponseBody

public ServerResponse update(JobDTO dto) {

try {

jobMapper.updateByPrimaryKeySelective(dto);

} catch (Exception e) {

return ServerResponse.buildErrorMsg("修改失败");

return ServerResponse.buildSuccessMsg("修改成功");

@GetMapping("/getById/{id}")


ServerResponse serverResponse = positionService.findAllBySocial(pageIndex,pageSize);

PageInfo pageInfo =(PageInfo) serverResponse.getData();

model.addAttribute("positions",pageInfo);

return "www/position";

@GetMapping("/getDetail")

public String getDetail(@RequestParam("pName")String pName,

Model model){

ServerResponse serverResponse = positionService.getDeatils(pName,flag);

model.addAttribute("detail",serverResponse.getData());

serverResponse = positionService.findByRandom(flag);

model.addAttribute("positions",serverResponse.getData());


String username =(String) session.getAttribute("username");

if (StringUtils.isEmpty(username)){

return ServerResponse.buildErrorMsg("请登录");

return positionService.deleteById(id);

@GetMapping("/user/apply/findByPage")

@ResponseBody

public ServerResponse findByPageOne(

@RequestParam(value = "pageIndex", defaultValue = "1", required = false) int pageIndex,

@RequestParam(value = "pageSize", defaultValue = "5", required = false) int pageSize,HttpSession session) {

String username =(String) session.getAttribute("username");

workSite.add(arr[i]);

ServerResponse serverResponse = positionService.findByCondiction(pClassify,workSite,null,flag,keyWord,pageIndex,pageSize);

return serverResponse;

//关键字搜索

// @GetMapping("/findByKeyWord")

// @ResponseBody

public ServerResponse findByKeyWord(@RequestParam(value = "keyWord",required = false,defaultValue = "")String keyWord,

@RequestParam(value = "pageIndex",defaultValue = "1",required = false)int pageIndex,

@RequestParam(value = "pageSize",defaultValue = "5",required = false)int pageSize){

ServerResponse serverResponse = positionService.findByKeyWord(keyWord,pageIndex,pageSize,flag);

return ServerResponse.buildSuccessData(serverResponse.getData());

//申请职位

@PostMapping("/apply")

请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述

转载请注明出处或者链接地址:https://www.qianduange.cn//article/5464.html
标签
mysql
评论
发布的文章

CSS(8)空间转换 动画

2024-04-29 12:04:29

CSS介绍(4)--背景属性

2024-04-29 12:04:26

Web学习记录---CSS(1)

2024-04-29 12:04:17

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!