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

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("详情") @ApiOperation("详情")
@GetMapping("/{id}") @GetMapping("/getInfoByClassId/{classId}")
public SingleResponse<ClassExamPaperCO> getInfoById(@PathVariable("id") Long id) { public SingleResponse<ClassExamPaperCO> getInfoByClassId(@PathVariable("classId") String classId) {
return classExamPaperService.getInfoById(id); return classExamPaperService.getInfoByClassId(classId);
} }
@ApiOperation("删除") @ApiOperation("删除")
@DeleteMapping("/{id}") @DeleteMapping("/{id}")
public Response remove(@PathVariable("id") Long id) { public Response remove(@PathVariable("id") Long id) {

View File

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