——————————DescriptionStart——————————
运行环境
Java≥8、MySQL≥5.7、Node.js≥14
开发工具
后端:eclipse/idea/myeclipse/sts等均可配置运行
前端:WebStorm/VSCode/HBuilderX等均可
❗没学过node.js的不要搞前后端分离项目
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明










基于javaweb的SpringBoot毕业生信息招聘平台(java+springboot+maven+mybaits+vue+elementui+mysql)
项目介绍
基于springboot Vue毕业生信息招聘平台
角色:管理员、企业、毕业生三种角色
毕业生:用户系统,在系统首页可以查看首页,空中宣讲会,招聘岗位查看,求职信息查看,论坛信息查看,试卷列表,招聘咨讯、个人中心等内容
企业:企业登录系统后,可以对首页,个人中心,空中宣讲会管理、招聘岗位管理、信息咨询管理、岗位应聘管理、线上面试管理、面试回复管理、试卷管理、试题管理、考试管理等
管理员:管理员登录进入毕业生信息招聘平台可以查看首页、个人中心、企业管理、空中宣讲会管理、招聘岗位管理、毕业生管理、个人简历管理、求职信息管理、信息咨询管理、岗位应聘管理、线上面试管理、面试回复管理、试卷管理、试题管理、管理员管理、论坛管理、系统管理、考试管理等内容
技术栈
后端:SpringBoot+Mybaits
前端:Vue+ElementUI+Layui+HTML+CSS+JS
——————————CodeStart——————————
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| * 退出 */ @RequestMapping("/logout") public R logout(HttpServletRequest request) { request.getSession().invalidate(); return R.ok("退出成功"); }
@RequestMapping("/session") public R getCurrUser(HttpServletRequest request){ Long id = (Long)request.getSession().getAttribute("userId"); QiyeEntity user = qiyeService.selectById(id); return R.ok().put("data", user); }
@IgnoreAuth @RequestMapping(value = "/resetPass") public R resetPass(String username, HttpServletRequest request){ QiyeEntity user = qiyeService.selectOne(new EntityWrapper<QiyeEntity>().eq("qiyebianhao", username)); if(user==null) { return R.error("账号不存在"); } user.setMima("123456"); qiyeService.updateById(user); return R.ok("密码已重置为:123456"); }
@RequestMapping("/page") public R page(@RequestParam Map<String, Object> params,QiyeEntity qiye, HttpServletRequest request){ EntityWrapper<QiyeEntity> ew = new EntityWrapper<QiyeEntity>(); PageUtils page = qiyeService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, qiye), params), params));
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| * 删除 */ @RequestMapping("/delete") public R delete(@RequestBody Long[] ids){ qiyeService.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<QiyeEntity> wrapper = new EntityWrapper<QiyeEntity>(); if(map.get("remindstart")!=null) { wrapper.ge(columnName, map.get("remindstart")); } if(map.get("remindend")!=null) { wrapper.le(columnName, map.get("remindend")); }
int count = qiyeService.selectCount(wrapper); return R.ok().put("count", count); }
}
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| EntityWrapper<BiyeshengEntity> ew = new EntityWrapper<BiyeshengEntity>(); PageUtils page = biyeshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, biyesheng), params), params));
return R.ok().put("data", page); }
@RequestMapping("/list") public R list(@RequestParam Map<String, Object> params,BiyeshengEntity biyesheng, HttpServletRequest request){ EntityWrapper<BiyeshengEntity> ew = new EntityWrapper<BiyeshengEntity>(); PageUtils page = biyeshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, biyesheng), params), params)); return R.ok().put("data", page); }
@RequestMapping("/lists") public R list( BiyeshengEntity biyesheng){ EntityWrapper<BiyeshengEntity> ew = new EntityWrapper<BiyeshengEntity>(); ew.allEq(MPUtil.allEQMapPre( biyesheng, "biyesheng")); return R.ok().put("data", biyeshengService.selectListView(ew)); }
@RequestMapping("/query") public R query(BiyeshengEntity biyesheng){ EntityWrapper< BiyeshengEntity> ew = new EntityWrapper< BiyeshengEntity>(); ew.allEq(MPUtil.allEQMapPre( biyesheng, "biyesheng")); BiyeshengView biyeshengView = biyeshengService.selectView(ew); return R.ok("查询毕业生成功").put("data", biyeshengView); }
@RequestMapping("/info/{id}") public R info(@PathVariable("id") String id){ BiyeshengEntity biyesheng = biyeshengService.selectById(id); return R.ok().put("data", biyesheng); }
@RequestMapping("/detail/{id}") public R detail(@PathVariable("id") String id){ BiyeshengEntity biyesheng = biyeshengService.selectById(id); return R.ok().put("data", biyesheng); }
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| * 单列求和 */ @IgnoreAuth @RequestMapping("/cal/{tableName}/{columnName}") public R cal(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName) { Map<String, Object> params = new HashMap<String, Object>(); params.put("table", tableName); params.put("column", columnName); Map<String, Object> result = commonService.selectCal(params); return R.ok().put("data", result); }
@IgnoreAuth @RequestMapping("/group/{tableName}/{columnName}") public R group(@PathVariable("tableName") String tableName, @PathVariable("columnName") String columnName) { Map<String, Object> params = new HashMap<String, Object>(); params.put("table", tableName); params.put("column", columnName); List<Map<String, Object>> result = commonService.selectGroup(params); return R.ok().put("data", result); }
@IgnoreAuth @RequestMapping("/value/{tableName}/{xColumnName}/{yColumnName}") public R value(@PathVariable("tableName") String tableName, @PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName) { Map<String, Object> params = new HashMap<String, Object>(); params.put("table", tableName); params.put("xColumn", xColumnName); params.put("yColumn", yColumnName); List<Map<String, Object>> result = commonService.selectValue(params); return R.ok().put("data", result); } }
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
@RestController @RequestMapping("/examquestion") public class ExamquestionController { @Autowired private ExamquestionService examquestionService;
|
——————————PayStart——————————
项目链接:
https://javayms.github.io?id=171524522608201os
https://javayms.pages.dev?id=171524522608201os