|
|
|
@ -300,19 +300,17 @@ public class CmsHomeTrainingPlanServiceImpl implements ICmsHomeTrainingPlanServi |
|
|
|
|
courseTotalCredit.updateAndGet(v1 -> v1 + kcXuefen); |
|
|
|
|
|
|
|
|
|
//该课程目标对应的毕业要求(暂时只考虑一个课程目标对就一个毕业要求)
|
|
|
|
|
SeCourseobjectives courseobjectives = seCourseobjectivesService.getById(knowcourse.getKcmbid()); |
|
|
|
|
if (!ObjectUtils.isEmpty(courseobjectives)) { |
|
|
|
|
SeCourseobjectives courseObjective = seCourseobjectivesService.getById(knowcourse.getKcmbid()); |
|
|
|
|
if (!ObjectUtils.isEmpty(courseObjective) && !StringUtils.isEmpty(courseObjective.getRequireid())) { |
|
|
|
|
CourseObjectivesAndGraduationRequirementsVo vo = new CourseObjectivesAndGraduationRequirementsVo(); |
|
|
|
|
if (!StringUtils.isEmpty(courseobjectives.getRequireid())) { |
|
|
|
|
String requireid = courseobjectives.getRequireid(); |
|
|
|
|
vo.setRequireId(requireid); |
|
|
|
|
String requireId = courseObjective.getRequireid(); |
|
|
|
|
vo.setRequireId(requireId); |
|
|
|
|
vo.setCourseId(seCourse.getId()); |
|
|
|
|
vo.setCredit(kcXuefen); |
|
|
|
|
PyGraRequire pyGraRequire = pyGraRequireService.getById(requireid); |
|
|
|
|
PyGraRequire pyGraRequire = pyGraRequireService.getById(requireId); |
|
|
|
|
vo.setRequirePid(pyGraRequire.getPid()); |
|
|
|
|
voList.add(vo); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
log.info("课程:" + seCourse.getName() + ",总学分数:" + courseTotalCredit.get().intValue()); |
|
|
|
|
} |
|
|
|
|