浏览代码

3.0.1-同步云阅卷bug修改

xiaof 3 年之前
父节点
当前提交
1214eadf21

+ 1 - 1
distributed-print/src/main/java/com/qmth/distributed/print/api/TSyncExamStudentScoreController.java

@@ -107,7 +107,7 @@ public class TSyncExamStudentScoreController {
     @RequestMapping(value = "/score/sync", method = RequestMethod.POST)
     public Result sync(@ApiParam(value = "学期ID", required = true) @RequestParam String semesterId,
                        @ApiParam(value = "考试ID", required = true) @RequestParam String examId,
-                       @ApiParam(value = "课程编码", required = false) @RequestParam String courseCode) {
+                       @ApiParam(value = "课程编码", required = false) @RequestParam(required = false) String courseCode) {
         SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
         QueryWrapper<ExamPrintPlan> examPrintPlanQueryWrapper = new QueryWrapper<ExamPrintPlan>();
         examPrintPlanQueryWrapper.select(" DISTINCT third_relate_id ").eq("school_id", sysUser.getSchoolId())