|
@@ -2,19 +2,22 @@ package com.qmth.exam.reserve.controller.admin;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import com.qmth.boot.api.annotation.Aac;
|
|
|
import com.qmth.boot.api.constant.ApiConstant;
|
|
|
import com.qmth.boot.core.collection.PageResult;
|
|
|
import com.qmth.exam.reserve.bean.task.ApplyTaskReq;
|
|
|
-import com.qmth.exam.reserve.bean.task.ApplyTaskVo;
|
|
|
+import com.qmth.exam.reserve.bean.task.ApplyTaskVO;
|
|
|
import com.qmth.exam.reserve.controller.BaseController;
|
|
|
import com.qmth.exam.reserve.service.ApplyTaskService;
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import io.swagger.annotations.ApiParam;
|
|
|
|
|
|
@RestController
|
|
|
@Api(tags = "预约任务相关接口")
|
|
@@ -27,7 +30,13 @@ public class ApplyTaskController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "预约任务查询")
|
|
|
@PostMapping(value = "/page")
|
|
|
- public PageResult<ApplyTaskVo> page(ApplyTaskReq req) {
|
|
|
+ public PageResult<ApplyTaskVO> page(@RequestBody ApplyTaskReq req) {
|
|
|
return applyTaskService.page(req);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "预约任务编辑查询")
|
|
|
+ @PostMapping(value = "/find")
|
|
|
+ public ApplyTaskVO find(@ApiParam("预约任务ID") @RequestParam Long id) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|