添加班级统计数据统计功能
parent
e3a1821e32
commit
1e03229ac4
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ public class ClassExamPaperServiceImpl implements ClassExamPaperServiceI {
|
|||
return classExamPaperQueryExe.executeGetInfoById(id);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public SingleResponse<ClassExamPaperCO> getInfoByClassId(String classId) {
|
||||
return classExamPaperQueryExe.executeGetInfoByClassId(classId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue