Class PersonalPlanCompareServiceImpl
java.lang.Object
org.beangle.commons.dao.impl.BaseServiceImpl
org.openurp.edu.program.plan.service.impl.PersonalPlanCompareServiceImpl
- All Implemented Interfaces:
PersonalPlanCompareService
public class PersonalPlanCompareServiceImpl
extends org.beangle.commons.dao.impl.BaseServiceImpl
implements PersonalPlanCompareService
个人计划和专业计划的对比
从eams-3shufe移植
-
Field Summary
Fields inherited from class org.beangle.commons.dao.impl.BaseServiceImpl
entityDao, eventMulticaster, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyCourseGroups(ExecutivePlan fromPlan, StdPlan toPlan, List<Integer> courseTypeIds) 将一个培养计划中的类别,完全复制到另一个培养计划中
注意,另一个培养计划中必须没有那种类别voidcopyPlanCourses(ExecutivePlan fromPlan, StdPlan toPlan, List<Number[]> courseTypePlanCourseIds) 将一个培养计划中的课程,复制到另一个培养计划对应的类别中voiddeleteCourseGroups(StdPlan plan, List<Integer> courseTypeIds) TODO delete不安全 将一个培养计划中的类别删除voiddeletePlanCourses(StdPlan plan, List<Number[]> courseTypePlanCourseIds) TODO delete不安全 将一个培养计划中的课程删除Map<String, List<? extends PlanCourse>[]> diffPersonalAndExecutivePlan(ExecutivePlan executePlan, StdPlan stdPlan) 获得两个培养计划之间的差异voidsetPlanCommonDao(PlanCommonDao planCommonDao) voidsetPlanCompareService(PlanCompareService planCompareService) voidsetPlanCourseCommonDao(PlanCourseCommonDao planCourseCommonDao) voidsetPlanCourseGroupCommonDao(PlanCourseGroupCommonDao planCourseGroupCommonDao) Methods inherited from class org.beangle.commons.dao.impl.BaseServiceImpl
getEntityDao, getEventMulticaster, publish, setEntityDao, setEventMulticaster
-
Constructor Details
-
PersonalPlanCompareServiceImpl
public PersonalPlanCompareServiceImpl()
-
-
Method Details
-
diffPersonalAndExecutivePlan
public Map<String,List<? extends PlanCourse>[]> diffPersonalAndExecutivePlan(ExecutivePlan executePlan, StdPlan stdPlan) Description copied from interface:PersonalPlanCompareService获得两个培养计划之间的差异- Specified by:
diffPersonalAndExecutivePlanin interfacePersonalPlanCompareService- Parameters:
executePlan-stdPlan-- Returns:
- List
[0] 专业培养计划中的课程 List [1]培养计划中的课程
-
copyCourseGroups
public void copyCourseGroups(ExecutivePlan fromPlan, StdPlan toPlan, List<Integer> courseTypeIds) throws PersonalPlanSyncException Description copied from interface:PersonalPlanCompareService将一个培养计划中的类别,完全复制到另一个培养计划中
注意,另一个培养计划中必须没有那种类别- Specified by:
copyCourseGroupsin interfacePersonalPlanCompareService- Parameters:
fromPlan-toPlan-courseTypeIds-- Throws:
PersonalPlanSyncException
-
copyPlanCourses
public void copyPlanCourses(ExecutivePlan fromPlan, StdPlan toPlan, List<Number[]> courseTypePlanCourseIds) throws PersonalPlanSyncException Description copied from interface:PersonalPlanCompareService将一个培养计划中的课程,复制到另一个培养计划对应的类别中- Specified by:
copyPlanCoursesin interfacePersonalPlanCompareService- Parameters:
fromPlan-toPlan-courseTypePlanCourseIds-- Throws:
PersonalPlanSyncException
-
deleteCourseGroups
public void deleteCourseGroups(StdPlan plan, List<Integer> courseTypeIds) throws PersonalPlanSyncException Description copied from interface:PersonalPlanCompareServiceTODO delete不安全 将一个培养计划中的类别删除- Specified by:
deleteCourseGroupsin interfacePersonalPlanCompareService- Parameters:
plan-courseTypeIds-- Throws:
PersonalPlanSyncException
-
deletePlanCourses
public void deletePlanCourses(StdPlan plan, List<Number[]> courseTypePlanCourseIds) throws PersonalPlanSyncException Description copied from interface:PersonalPlanCompareServiceTODO delete不安全 将一个培养计划中的课程删除- Specified by:
deletePlanCoursesin interfacePersonalPlanCompareService- Parameters:
plan-courseTypePlanCourseIds-- Throws:
PersonalPlanSyncException
-
setPlanCourseGroupCommonDao
-
setPlanCourseCommonDao
-
setPlanCompareService
-
setPlanCommonDao
-