Class ExecutionPlanCourseServiceImpl
java.lang.Object
org.beangle.commons.dao.impl.BaseServiceImpl
org.openurp.edu.program.plan.service.impl.ExecutionPlanCourseServiceImpl
- All Implemented Interfaces:
ExecutionPlanCourseService
public class ExecutionPlanCourseServiceImpl
extends org.beangle.commons.dao.impl.BaseServiceImpl
implements ExecutionPlanCourseService
-
Field Summary
Fields inherited from class org.beangle.commons.dao.impl.BaseServiceImpl
entityDao, eventMulticaster, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlanCourse(ExecutionPlanCourse planCourse, ExecutionPlan plan) 添加培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分voidremovePlanCourse(ExecutionPlanCourse planCourse, ExecutionPlan plan) 删除培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分voidsetPlanCourseCommonDao(PlanCourseCommonDao planCourseCommonDao) voidupdatePlanCourse(ExecutionPlanCourse planCourse, ExecutionPlan plan) 更新培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分Methods inherited from class org.beangle.commons.dao.impl.BaseServiceImpl
getEntityDao, getEventMulticaster, publish, setEntityDao, setEventMulticaster
-
Constructor Details
-
ExecutionPlanCourseServiceImpl
public ExecutionPlanCourseServiceImpl()
-
-
Method Details
-
addPlanCourse
Description copied from interface:ExecutionPlanCourseService添加培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
addPlanCoursein interfaceExecutionPlanCourseService
-
removePlanCourse
Description copied from interface:ExecutionPlanCourseService删除培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
removePlanCoursein interfaceExecutionPlanCourseService
-
updatePlanCourse
Description copied from interface:ExecutionPlanCourseService更新培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
updatePlanCoursein interfaceExecutionPlanCourseService
-
setPlanCourseCommonDao
-