|
@@ -174,7 +174,7 @@ public class ObeCourseRequirementReportServiceImpl extends ServiceImpl<ObeCourse
|
|
|
BasicCourse basicCourse = basicCourseService.getById(obeCourseOutline.getCourseId());
|
|
|
Objects.requireNonNull(basicCourse, "科目信息为空");
|
|
|
for (CourseRequirementMatrixDto c : courseRequirementMatrixDtoList) {
|
|
|
- if (Objects.equals(c.getCourseCode(), basicCourse.getCode())) {
|
|
|
+ if (c.getCourseId().longValue() == basicCourse.getId().longValue()) {
|
|
|
TRBasicInfo trBasicInfo = trBasicInfoService.queryBasicInfo(obeCourseOutline.getCultureProgramId(), obeCourseOutline.getCourseId(), null);
|
|
|
if (Objects.nonNull(trBasicInfo)) {
|
|
|
ReportCourseEvaluationResultDto reportCourseEvaluationResultDto = Objects.nonNull(trBasicInfo.getCourseEvaluationResult()) ? JSONObject.parseObject(trBasicInfo.getCourseEvaluationResult(), ReportCourseEvaluationResultDto.class) : null;
|