wangliang 1 年之前
父節點
當前提交
508726c30a

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

@@ -164,7 +164,7 @@ public class TCFinalScoreController {
         if (Objects.isNull(basicCourse)) {
             throw ExceptionResultEnum.ERROR.exception("未找到课程");
         }
-        return ResultUtil.ok(markPaperService.list(new QueryWrapper<MarkPaper>().lambda().eq(MarkPaper::getExamId, examId).eq(MarkPaper::getCourseCode, basicCourse.getCode()).eq(MarkPaper::getStatus, MarkPaperStatus.FINISH)));
+        return ResultUtil.ok(markPaperService.list(new QueryWrapper<MarkPaper>().lambda().eq(MarkPaper::getExamId, examId).eq(MarkPaper::getCourseId, basicCourse.getId()).eq(MarkPaper::getStatus, MarkPaperStatus.FINISH)));
     }
 
     @ApiOperation(value = "同步期末成绩")