|
@@ -121,7 +121,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "命题任务管理-分页查询")
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result list(@RequestParam(required = false) String semesterId,
|
|
|
@RequestParam(required = false) String examId,
|
|
|
@RequestParam(required = false) Boolean enable,
|
|
@@ -146,7 +145,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "试卷编号模糊查询")
|
|
|
@RequestMapping(value = "/paper_number_query", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result paperNumberQuery(@RequestParam(value = "param", required = false) String param,
|
|
|
@RequestParam(value = "printPlanId", required = false) List<String> printPlanId) {
|
|
|
if (Objects.isNull(printPlanId)) {
|
|
@@ -161,7 +159,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "命题老师模糊查询")
|
|
|
@RequestMapping(value = "/user_query", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result userQuery(@RequestParam(value = "param", required = false) String param) {
|
|
|
return ResultUtil.ok(examTaskService.listUser(param));
|
|
|
}
|
|
@@ -273,7 +270,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "入库申请-分页查询")
|
|
|
@RequestMapping(value = "/apply_list", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result taskApplyList(@RequestParam(value = "semesterId", required = false) Long semesterId,
|
|
|
@RequestParam(value = "examId", required = false) Long examId,
|
|
|
@RequestParam(value = "auditStatus", required = false) String auditStatus,
|
|
@@ -310,7 +306,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "根据命题任务ID查询任务详情数据")
|
|
|
@RequestMapping(value = "/exam_task_get_one", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result applyGetOne(@RequestParam(value = "examTaskId") Long examTaskId) {
|
|
|
ExamTaskDto examTaskDto = examTaskService.getByExamTaskId(examTaskId);
|
|
|
return ResultUtil.ok(examTaskDto);
|
|
@@ -324,7 +319,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "根据命题任务ID查询任务详情数据")
|
|
|
@RequestMapping(value = "/apply_get_one", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result applyGetOne(@RequestParam(value = "examTaskId") Long examTaskId,
|
|
|
@RequestParam(value = "source", required = false) String source) {
|
|
|
SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
|
|
@@ -415,7 +409,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "入库审核-查询-未审核")
|
|
|
@RequestMapping(value = "/review_list_unaudited", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result taskReviewListUnaudited(@RequestParam(value = "semesterId", required = false) Long semesterId,
|
|
|
@RequestParam(value = "examId", required = false) Long examId,
|
|
|
@RequestParam(value = "courseCode", required = false) String courseCode,
|
|
@@ -453,7 +446,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "入库审核-查询-已审核")
|
|
|
@RequestMapping(value = "/review_list_audited", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result taskReviewListAudited(@RequestParam(value = "semesterId", required = false) Long semesterId,
|
|
|
@RequestParam(value = "examId", required = false) Long examId,
|
|
|
@RequestParam(value = "reviewStatus", required = false) String reviewStatus,
|
|
@@ -481,7 +473,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "入库审核-查询-已审核数量")
|
|
|
@RequestMapping(value = "/review_list_audited_count", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result taskReviewListAuditedCount() {
|
|
|
int taskReviewAuditedCount = examTaskService.listTaskReviewAudited(null, null, null, null, null, null, null, null, null, null, null, null, SystemConstant.PAGE_NUMBER, SystemConstant.PAGE_SIZE).getRecords().size();
|
|
|
long paperCount = examPaperStructureService.countByPropositionTeacherId(true);
|
|
@@ -582,7 +573,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询")
|
|
|
@RequestMapping(value = "/paper_list", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result taskPaperList(@RequestParam(value = "semesterId", required = false) Long semesterId,
|
|
|
@RequestParam(value = "examId", required = false) Long examId,
|
|
|
@RequestParam(value = "courseCode", required = false) String courseCode,
|
|
@@ -607,7 +597,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "下载")
|
|
|
@RequestMapping(value = "/paper_download", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public void taskPaperDownload(HttpServletResponse response, @RequestParam Long examTaskId) throws Exception {
|
|
|
examTaskService.paperDownload(response, examTaskId);
|
|
|
}
|
|
@@ -669,7 +658,6 @@ public class ExamTaskController {
|
|
|
@ApiOperation(value = "卷库查询-批量下载试卷PDF、题卡")
|
|
|
@RequestMapping(value = "/paper_card_download_pdf", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "返回信息", response = EditResult.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result paperCardDownloadPdf(@RequestParam(value = "semesterId", required = false) Long semesterId,
|
|
|
@RequestParam(value = "examId", required = false) Long examId,
|
|
|
@RequestParam(value = "courseCode", required = false) String courseCode,
|
|
@@ -690,7 +678,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "命题任务管理-命题申请-班级列表")
|
|
|
@RequestMapping(value = "/list_task_apply_class", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskApplyClass(@RequestParam(value = "courseCode") String courseCode) {
|
|
|
return ResultUtil.ok(examTaskPrintService.listExamTaskClass(courseCode));
|
|
|
}
|
|
@@ -784,7 +771,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询-发布印刷任务-查看列表")
|
|
|
@RequestMapping(value = "/list_task_print", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskPrintStudent(@RequestParam(value = "printPlanId") Long printPlanId,
|
|
|
@RequestParam(value = "courseCode") String courseCode,
|
|
|
@RequestParam(value = "paperNumber") String paperNumber) {
|
|
@@ -799,7 +785,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询-发布印刷任务-扩展字段列表")
|
|
|
@RequestMapping(value = "/list_task_print_extend_fields", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskPrintExtendFields() {
|
|
|
return ResultUtil.ok(examTaskPrintService.listTaskPrintExtendFields());
|
|
|
}
|
|
@@ -812,7 +797,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询-发布印刷任务-班级列表")
|
|
|
@RequestMapping(value = "/list_task_print_class", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskPrintClass(@RequestParam(value = "printPlanId") String printPlanId,
|
|
|
@RequestParam(value = "courseCode") String courseCode,
|
|
|
@RequestParam(value = "paperNumber") String paperNumber,
|
|
@@ -827,7 +811,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询-发布印刷任务-印刷室列表")
|
|
|
@RequestMapping(value = "/list_task_print_house", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskPrintHouse() {
|
|
|
return ResultUtil.ok(examTaskPrintService.listHouse());
|
|
|
}
|
|
@@ -868,7 +851,6 @@ public class ExamTaskController {
|
|
|
*/
|
|
|
@ApiOperation(value = "卷库查询-发布印刷任务-查看考生")
|
|
|
@RequestMapping(value = "/list_task_print_student", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result listTaskPrintStudent(@RequestParam(value = "classId") String classId,
|
|
|
@RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
|
@RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) {
|
|
@@ -893,7 +875,6 @@ public class ExamTaskController {
|
|
|
@ApiOperation(value = "题卡标题查询")
|
|
|
@RequestMapping(value = "/find_card_title", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result findCardTitle(@ApiParam(value = "题卡规则id", required = true) @RequestParam String cardRuleId) {
|
|
|
return ResultUtil.ok((Object) examTaskService.findCardTitle(SystemConstant.convertIdToLong(cardRuleId)));
|
|
|
}
|
|
@@ -901,7 +882,6 @@ public class ExamTaskController {
|
|
|
@ApiOperation(value = "命题任务-审批-获取试卷审批表数据")
|
|
|
@RequestMapping(value = "/find_approve_form_json", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result findApproveFormJson(@ApiParam(value = "命题任务id", required = true) @RequestParam String examTaskId) {
|
|
|
return ResultUtil.ok((Object) examTaskService.findExamTaskApprovalForm(SystemConstant.convertIdToLong(examTaskId)));
|
|
|
}
|
|
@@ -909,7 +889,6 @@ public class ExamTaskController {
|
|
|
@ApiOperation(value = "命题任务-审批-获取试卷审批表pdf")
|
|
|
@RequestMapping(value = "/find_approve_form_pdf", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public void findApproveFormPdf(@Valid @RequestBody ApproveFormParams approveFormParams, BindingResult bindingResult) throws Exception {
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
throw ExceptionResultEnum.ERROR.exception(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
@@ -921,7 +900,6 @@ public class ExamTaskController {
|
|
|
@ApiOperation(value = "命题任务-考试对象查询")
|
|
|
@RequestMapping(value = "/find_exam_object", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result findExamObject(@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber) {
|
|
|
return ResultUtil.ok((Object) examTaskService.findExamObjectDtoByPaperNumber(paperNumber));
|
|
|
}
|
|
@@ -930,7 +908,6 @@ public class ExamTaskController {
|
|
|
@RequestMapping(value = "/find_exam_task_student_object", method = RequestMethod.POST)
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "{\"success\":true}", response = Result.class)})
|
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result findExamTaskStudentObject(@RequestParam ExamObjectType examObjectType,
|
|
|
@RequestParam(required = false) String courseCode) throws Exception {
|
|
|
SysUser requestUser = (SysUser) ServletUtil.getRequestUser();
|