添加班级统计数据统计功能
parent
e3a1821e32
commit
1e03229ac4
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue