基于javaweb的SpringBoot高校竞赛管理系统(java+springboot+maven+mybatis+vue+elementui+mysql)

运行环境

Java≥8、MySQL≥5.7、Node.js≥14

开发工具

后端:eclipse/idea/myeclipse/sts等均可配置运行
前端:WebStorm/VSCode/HBuilderX等均可

❗没学过node.js的不要搞前后端分离项目

适用

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

功能说明

471524062608

481524062608

491524062608

501524062608

511524062608

521524062608

531524062608

551524062608

561524062608

571524062608

基于javaweb的SpringBoot高校竞赛管理系统(java+springboot+maven+mybatis+vue+elementui+mysql)

项目介绍

基于SpringBoot Vue高校竞赛管理系统

角色:管理员、老师、学生

网站首页页面主要包括首页、竞赛项目、公告信息、后台管理、个人中心等内容,并根据需要进行详细操作;

管理员:管理员登录进入高校竞赛管理系统可以对系统首页、个人中心、学生管理、老师管理、竞赛类别管理、竞赛项目管理、学生报名管理、老师报名管理、学生打卡管理、老师打卡管理、学生成果管理、老师成果管理、系统管理等信息

老师:老师登录系统后可以对系统首页、个人中心、老师报名管理、老师打卡管理、老师成果管理等功能进行操作。

学生:学生登录到系统后可以对系统首页、个人中心、学生报名管理、学生打卡管理、学生成果管理等功能进行操作。

技术栈

是否前后端分离项目:是

后端:SpringBoot+Mybatis-Plus

前端:Vue+Vue Router+ELementUI+Axios

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
    * 密码重置
*/
@IgnoreAuth
@RequestMapping(value = "/resetPass")
public R resetPass(String username, HttpServletRequest request){
XueshengEntity u = xueshengService.selectOne(new EntityWrapper<XueshengEntity>().eq("xuehao", username));
if(u==null) {
return R.error("账号不存在");
}
u.setMima("123456");
xueshengService.updateById(u);
return R.ok("密码已重置为:123456");
}


/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,XueshengEntity xuesheng,
HttpServletRequest request){
EntityWrapper<XueshengEntity> ew = new EntityWrapper<XueshengEntity>();

PageUtils page = xueshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuesheng), params), params));

return R.ok().put("data", page);
}

/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,XueshengEntity xuesheng,
HttpServletRequest request){
EntityWrapper<XueshengEntity> ew = new EntityWrapper<XueshengEntity>();

PageUtils page = xueshengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuesheng), params), params));
return R.ok().put("data", page);
}

/**
* 列表
*/
@RequestMapping("/lists")
public R list( XueshengEntity xuesheng){
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("/page")
public R page(@RequestParam Map<String, Object> params,JingsaileibieEntity jingsaileibie,
HttpServletRequest request){
EntityWrapper<JingsaileibieEntity> ew = new EntityWrapper<JingsaileibieEntity>();

PageUtils page = jingsaileibieService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jingsaileibie), params), params));

return R.ok().put("data", page);
}

/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JingsaileibieEntity jingsaileibie,
HttpServletRequest request){
EntityWrapper<JingsaileibieEntity> ew = new EntityWrapper<JingsaileibieEntity>();

PageUtils page = jingsaileibieService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jingsaileibie), params), params));
return R.ok().put("data", page);
}

/**
* 列表
*/
@RequestMapping("/lists")
public R list( JingsaileibieEntity jingsaileibie){
EntityWrapper<JingsaileibieEntity> ew = new EntityWrapper<JingsaileibieEntity>();
ew.allEq(MPUtil.allEQMapPre( jingsaileibie, "jingsaileibie"));
return R.ok().put("data", jingsaileibieService.selectListView(ew));
}

/**
* 查询
*/
@RequestMapping("/query")
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
   @Autowired
private StoreupService storeupService;




/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,JingsaixiangmuEntity jingsaixiangmu,
HttpServletRequest request){
EntityWrapper<JingsaixiangmuEntity> ew = new EntityWrapper<JingsaixiangmuEntity>();

PageUtils page = jingsaixiangmuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jingsaixiangmu), params), params));

return R.ok().put("data", page);
}

/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JingsaixiangmuEntity jingsaixiangmu,
HttpServletRequest request){
EntityWrapper<JingsaixiangmuEntity> ew = new EntityWrapper<JingsaixiangmuEntity>();

PageUtils page = jingsaixiangmuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jingsaixiangmu), params), params));
return R.ok().put("data", page);
}

/**
* 列表
*/
@RequestMapping("/lists")
public R list( JingsaixiangmuEntity jingsaixiangmu){
EntityWrapper<JingsaixiangmuEntity> ew = new EntityWrapper<JingsaixiangmuEntity>();
ew.allEq(MPUtil.allEQMapPre( jingsaixiangmu, "jingsaixiangmu"));
return R.ok().put("data", jingsaixiangmuService.selectListView(ew));
}

/**
* 查询
*/
@RequestMapping("/query")
public R query(JingsaixiangmuEntity jingsaixiangmu){
EntityWrapper< JingsaixiangmuEntity> ew = new EntityWrapper< JingsaixiangmuEntity>();
ew.allEq(MPUtil.allEQMapPre( jingsaixiangmu, "jingsaixiangmu"));
JingsaixiangmuView jingsaixiangmuView = jingsaixiangmuService.selectView(ew);
return R.ok("查询竞赛项目成功").put("data", jingsaixiangmuView);
}

/**
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

/**
* 竞赛项目
* 后端接口
* @email
*/
@RestController
@RequestMapping("/jingsaixiangmu")
public class JingsaixiangmuController {
@Autowired
private JingsaixiangmuService jingsaixiangmuService;

@Autowired
private StoreupService storeupService;




/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,JingsaixiangmuEntity jingsaixiangmu,
HttpServletRequest request){
EntityWrapper<JingsaixiangmuEntity> ew = new EntityWrapper<JingsaixiangmuEntity>();

PageUtils page = jingsaixiangmuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jingsaixiangmu), params), params));

return R.ok().put("data", page);
}

/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JingsaixiangmuEntity jingsaixiangmu,
HttpServletRequest request){
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16




/**
* 老师
* 后端接口
* @email
*/
@RestController
@RequestMapping("/laoshi")
public class LaoshiController {
@Autowired
private LaoshiService laoshiService;


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
   /**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
xueshengService.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<XueshengEntity> wrapper = new EntityWrapper<XueshengEntity>();


项目链接:
https://javayms.github.io?id=421524522608201po
https://javayms.pages.dev?id=421524522608201po