|
@@ -34,7 +34,8 @@ public class CourseTargetDegreeController {
|
|
@RequestMapping(value = "/score/template_download", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/score/template_download", method = RequestMethod.POST)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
- public void templateDownload(@ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
|
|
|
|
+ public void templateDownload(@ApiParam(value = "考试id", required = true) @RequestParam Long examId,
|
|
|
|
+ @ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
// Long schoolId = Long.valueOf(ServletUtil.getRequestHeaderSchoolId().toString());
|
|
// Long schoolId = Long.valueOf(ServletUtil.getRequestHeaderSchoolId().toString());
|
|
@@ -88,7 +89,8 @@ public class CourseTargetDegreeController {
|
|
@RequestMapping(value = "/score/end_exam/template_download", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/score/end_exam/template_download", method = RequestMethod.POST)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
- public void endExamTemplateDownload(@ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
|
|
|
|
+ public void endExamTemplateDownload(@ApiParam(value = "考试id", required = true) @RequestParam Long examId,
|
|
|
|
+ @ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
// Long schoolId = Long.valueOf(ServletUtil.getRequestHeaderSchoolId().toString());
|
|
// Long schoolId = Long.valueOf(ServletUtil.getRequestHeaderSchoolId().toString());
|
|
@@ -141,8 +143,8 @@ public class CourseTargetDegreeController {
|
|
|
|
|
|
@ApiOperation(value = "期末成绩试卷蓝图保存")
|
|
@ApiOperation(value = "期末成绩试卷蓝图保存")
|
|
@RequestMapping(value = "/score/end_exam/paper_positive/save", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/score/end_exam/paper_positive/save", method = RequestMethod.POST)
|
|
- @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.ADD)
|
|
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "试卷蓝图保存", response = EditResult.class)})
|
|
|
|
|
|
+ @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.UPDATE)
|
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "试卷蓝图保存", response = Object.class)})
|
|
public Object scoreEndExamPaperPositive(@ApiParam(value = "试卷蓝图结构", required = true) @RequestBody Object body) throws IOException {
|
|
public Object scoreEndExamPaperPositive(@ApiParam(value = "试卷蓝图结构", required = true) @RequestBody Object body) throws IOException {
|
|
return ResultUtil.ok(true);
|
|
return ResultUtil.ok(true);
|
|
}
|
|
}
|
|
@@ -162,17 +164,28 @@ public class CourseTargetDegreeController {
|
|
@RequestMapping(value = "/report/view", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/report/view", method = RequestMethod.POST)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查看报告", response = Object.class)})
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查看报告", response = Object.class)})
|
|
- public Object reportView(@ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
|
|
|
|
+ public Object reportView(@ApiParam(value = "考试id", required = true) @RequestParam Long examId,
|
|
|
|
+ @ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) {
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) {
|
|
return ResultUtil.ok(true);
|
|
return ResultUtil.ok(true);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "保存报告")
|
|
|
|
+ @RequestMapping(value = "/report/save", method = RequestMethod.POST)
|
|
|
|
+ @OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.UPDATE)
|
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "保存报告", response = Object.class)})
|
|
|
|
+ public Object reportSave(@ApiParam(value = "保存报告结构", required = true) @RequestBody Object body) {
|
|
|
|
+ return ResultUtil.ok(true);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
@ApiOperation(value = "导出报告")
|
|
@ApiOperation(value = "导出报告")
|
|
@RequestMapping(value = "/report/export", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/report/export", method = RequestMethod.POST)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.EXPORT)
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
@ApiResponses({@ApiResponse(code = 200, message = "下载成功", response = Object.class)})
|
|
- public void reportExport(@ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
|
|
|
|
+ public void reportExport(@ApiParam(value = "考试id", required = true) @RequestParam Long examId,
|
|
|
|
+ @ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber,
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
@ApiParam(value = "试卷类型", required = true) @RequestParam String paperType) throws IOException {
|
|
|
|
|