|
@@ -9,6 +9,7 @@ import com.qmth.boot.api.constant.ApiConstant;
|
|
|
import com.qmth.boot.api.exception.ApiException;
|
|
|
import com.qmth.distributed.print.business.bean.excel.ExcelField;
|
|
|
import com.qmth.distributed.print.business.bean.result.EditResult;
|
|
|
+import com.qmth.distributed.print.business.bean.result.ScoreResult;
|
|
|
import com.qmth.distributed.print.business.entity.TCScoreNormal;
|
|
|
import com.qmth.distributed.print.business.service.TCScoreNormalService;
|
|
|
import com.qmth.teachcloud.common.annotation.OperationLogDetail;
|
|
@@ -59,7 +60,7 @@ public class TCScoreNormalController {
|
|
|
@ApiOperation(value = "成绩管理列表")
|
|
|
@RequestMapping(value = "/score/list", method = RequestMethod.POST)
|
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "分页查询", response = Object.class)})
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "分页查询", response = ScoreResult.class)})
|
|
|
public Object scoreList(@ApiParam(value = "学期ID", required = true) @RequestParam Long semesterId,
|
|
|
@ApiParam(value = "考试ID", required = true) @RequestParam Long examId,
|
|
|
@ApiParam(value = "课程编码") @RequestParam(required = false) String courseCode,
|
|
@@ -188,8 +189,12 @@ public class TCScoreNormalController {
|
|
|
@ApiOperation(value = "平时成绩列表")
|
|
|
@RequestMapping(value = "/score/normal/list", method = RequestMethod.POST)
|
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
- @ApiResponses({@ApiResponse(code = 200, message = "导入成功", response = EditResult.class)})
|
|
|
- public Object scoreNormalList(@ApiParam(value = "分页页码", required = true) @RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "分页查询", response = EditResult.class)})
|
|
|
+ public Object scoreNormalList(@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 paperType,
|
|
|
+ @ApiParam(value = "分页页码", required = true) @RequestParam @Min(SystemConstant.PAGE_NUMBER_MIN) Integer pageNumber,
|
|
|
@ApiParam(value = "分页数", required = true) @RequestParam @Min(SystemConstant.PAGE_SIZE_MIN) @Max(SystemConstant.PAGE_SIZE_MAX) Integer pageSize) throws IOException {
|
|
|
return ResultUtil.ok(true);
|
|
|
}
|