|
@@ -58,7 +58,7 @@ public class ExamRoomController extends BaseController {
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiModelProperty("创建教室")
|
|
|
|
|
|
+ @ApiOperation("创建教室")
|
|
@PostMapping(value = "/createExamRoom")
|
|
@PostMapping(value = "/createExamRoom")
|
|
public HttpResponseResult createExamRoom(@RequestBody ExamRoom examRoom){
|
|
public HttpResponseResult createExamRoom(@RequestBody ExamRoom examRoom){
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
@@ -67,7 +67,7 @@ public class ExamRoomController extends BaseController {
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiModelProperty("更新教室信息")
|
|
|
|
|
|
+ @ApiOperation("更新教室信息")
|
|
@PostMapping(value = "/updateExamRoom")
|
|
@PostMapping(value = "/updateExamRoom")
|
|
public HttpResponseResult<ExamRoom> updateExamRoom(@RequestBody ExamRoom examRoom){
|
|
public HttpResponseResult<ExamRoom> updateExamRoom(@RequestBody ExamRoom examRoom){
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
@@ -82,13 +82,13 @@ public class ExamRoomController extends BaseController {
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiModelProperty("获取教室")
|
|
|
|
|
|
+ @ApiOperation("获取教室")
|
|
@GetMapping(value = "/get")
|
|
@GetMapping(value = "/get")
|
|
public ExamRoom getExamRoom(Long id){
|
|
public ExamRoom getExamRoom(Long id){
|
|
return examRoomService.get(id);
|
|
return examRoomService.get(id);
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiModelProperty("获取考场统计信息")
|
|
|
|
|
|
+ @ApiOperation("获取考场统计信息")
|
|
@GetMapping(value = "/getExamRoomStatisticsInfo")
|
|
@GetMapping(value = "/getExamRoomStatisticsInfo")
|
|
public HttpResponseResult<ExamRoomStatisticsDto> getExamRoomStatisticsInfo(Integer examId){
|
|
public HttpResponseResult<ExamRoomStatisticsDto> getExamRoomStatisticsInfo(Integer examId){
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|