大家好,我是java1234_小锋老师,分享一套SpringBoot+Vue学生选课管理系统(高级版) 。
项目简介
随着计算机技术的飞速发展和高等教育体制改革的不断深入,传统教育管理方法、手段以及工作效率已不能适应新的发展需要,无法很好地完成教学管理工作。提高教务管理水平的主要途径是更新管理者的思想,增强对管理活动的科学认识。基于Delphi 7与数据库技术建立一个高校课程管理系统该系统为学生和教师提供了查询、修改、存储、增加记录、选课等功能,功能比较落齐全,基本上能满足学生和老师的要求。
源码下载
链接: pan.baidu.com/s/1AxyA2Bfb…
提取码: 1234
相关截图
核心代码
package com.rainng.coursesystem.controller.admin;
import com.rainng.coursesystem.config.themis.annotation.Admin;
import com.rainng.coursesystem.controller.BaseController;
import com.rainng.coursesystem.model.entity.StudentEntity;
import com.rainng.coursesystem.model.vo.response.ResultVO;
import com.rainng.coursesystem.service.admin.StudentService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@Admin(Admin.STUDENT_MANAGE)
@RequestMapping("/admin/student")
@RestController
public class StudentController extends BaseController {
private final StudentService service;
public StudentController(StudentService service) {
this.service = service;
}
@GetMapping("/{id}")
public ResultVO get(@PathVariable Integer id) {
return service.get(id);
}
@PostMapping
public ResultVO create(@RequestBody @Validated StudentEntity entity) {
return service.create(entity);
}
@DeleteMapping("/{id}")
public ResultVO delete(@PathVariable Integer id) {
return service.delete(id);
}
@PutMapping
public ResultVO update(@RequestBody @Validated StudentEntity entity) {
return service.update(entity);
}
@RequestMapping("/page/count")
public ResultVO getPageCount(String majorName, String className, String name) {
return service.getPageCount(majorName, className, name);
}
@RequestMapping("/page")
public ResultVO getPage(String majorName, String className, String name) {
return service.getPage(1, majorName, className, name);
}
@RequestMapping("/page/{index}")
public ResultVO getPage(@PathVariable Integer index, String majorName, String className, String name) {
return service.getPage(index, majorName, className, name);
}
@Admin
@RequestMapping("/names")
public ResultVO listName() {
return service.listName();
}
}