源码获取:关注文末gongzhonghao,输入009领取下载链接
开发工具:IDEA
服务器:Tomcat9.0, jdk1.8
项目构建:maven
数据库:mysql5.7
系统分前后台,采用前后端分离
前端技术:vue+elementUI等框架实现
服务端技术:springboot+mybatis+Redis
项目功能描述:
项目分前台和后台,分学生、企业、管理员三个角色
1.学生功能:
2.企业功能:
3.管理员/用户功能:
文档截图:
前台截图:
学生截图:
企业截图:
管理员截图:
package top.ludonghuang.controller;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import top.ludonghuang.entity.Experience;
import top.ludonghuang.entity.Resume;
import top.ludonghuang.service.ExperienceService;
import top.ludonghuang.service.ResumeService;
import top.ludonghuang.service.UserDataService;
import top.ludonghuang.utils.Result;
import top.ludonghuang.vo.UserData;
import java.util.Map;
@RestController
@RequestMapping("/experience")
public class ExperienceController {
@Autowired
private ExperienceService experienceService;
@Autowired
private ResumeService resumeService;
@Autowired
private UserDataService userDataService;
@PostMapping("/create")
public Result create(@RequestBody Experience experience) {
int flag = experienceService.create(experience);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/delete")
public Result delete(String ids) {
int flag = experienceService.delete(ids);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/update")
public Result update(@RequestBody Experience experience) {
int flag = experienceService.update(experience);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/detail")
public Result detail(Integer id) {
return Result.success(experienceService.detail(id));
}
@PostMapping("/query")
public Map<String, Object> query(@RequestBody Experience experience) {
UserData user = userDataService.getUser();
Resume resumeParam = resumeService.detail(user.getId());
if(resumeParam == null) {
return Result.success(new PageInfo<>());
}
experience.setResumeId(resumeParam.getId());
PageInfo<Experience> pageInfo = experienceService.query(experience);
pageInfo.getList().forEach(item -> {
Resume resume = resumeService.detail(item.getResumeId());
item.setResume(resume);
});
return Result.success(pageInfo);
}
}
package top.ludonghuang.controller;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import top.ludonghuang.entity.Intention;
import top.ludonghuang.entity.Resume;
import top.ludonghuang.service.IntentionService;
import top.ludonghuang.service.ResumeService;
import top.ludonghuang.service.UserDataService;
import top.ludonghuang.utils.Result;
import top.ludonghuang.vo.UserData;
import java.util.Map;
@RestController
@RequestMapping(“/intention”)
public class IntentionController {
@Autowired
private IntentionService intentionService;
@Autowired
private ResumeService resumeService;
@Autowired
private UserDataService userDataService;
@PostMapping("/create")
public Result create(@RequestBody Intention intention) {
int flag = intentionService.create(intention);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/delete")
public Result delete(String ids) {
int flag = intentionService.delete(ids);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/update")
public Result update(@RequestBody Intention intention) {
int flag = intentionService.update(intention);
if (flag > 0) {
return Result.success();
} else {
return Result.error();
}
}
@PostMapping("/detail")
public Result detail(Integer id) {
return Result.success(intentionService.detail(id));
}
@PostMapping("/query")
public Map query(@RequestBody Intention intention) {
UserData user = userDataService.getUser();
Resume resumeParam = resumeService.detail(user.getId());
if(resumeParam == null) {
return Result.success(new PageInfo<>());
}
intention.setResumeId(resumeParam.getId());
PageInfo pageInfo = intentionService.query(intention);
pageInfo.getList().forEach(item -> {
Resume resume = resumeService.detail(item.getResumeId());
item.setResume(resume);
});
return Result.success(pageInfo);
}
}