添加班级统计数据统计功能

dev
zhangyue 2026-01-24 14:50:37 +08:00
parent e3a1821e32
commit 1e03229ac4
2 changed files with 4 additions and 4 deletions

View File

@ -59,11 +59,10 @@ public class ClassExamPaperController {
}
@ApiOperation("详情")
@GetMapping("/{id}")
public SingleResponse<ClassExamPaperCO> getInfoById(@PathVariable("id") Long id) {
return classExamPaperService.getInfoById(id);
@GetMapping("/getInfoByClassId/{classId}")
public SingleResponse<ClassExamPaperCO> getInfoByClassId(@PathVariable("classId") String classId) {
return classExamPaperService.getInfoByClassId(classId);
}
@ApiOperation("删除")
@DeleteMapping("/{id}")
public Response remove(@PathVariable("id") Long id) {

View File

@ -68,6 +68,7 @@ public class ClassExamPaperServiceImpl implements ClassExamPaperServiceI {
return classExamPaperQueryExe.executeGetInfoById(id);
}
@Override
public SingleResponse<ClassExamPaperCO> getInfoByClassId(String classId) {
return classExamPaperQueryExe.executeGetInfoByClassId(classId);