类 PlanUtils

java.lang.Object
org.openurp.edu.program.utils.PlanUtils

public class PlanUtils extends Object
  • 构造器详细资料

    • PlanUtils

      public PlanUtils()
  • 方法详细资料

    • getCourses

      public static List<Course> getCourses(ExecutionPlan plan, int term)
      获得一个专业培养计划中,在terms学期上课的Course
      参数:
      plan -
      term - 要查询的学期,多个学期用逗号分割比如1,2,3
      返回:
    • getPlanCourses

      public static List<ExecutionPlanCourse> getPlanCourses(ExecutionPlan plan)
    • getUnPlannedPlanCourses

      public static List<ExecutionPlanCourse> getUnPlannedPlanCourses(ExecutionPlan plan)
    • getPlannedCourse

      public static List<ExecutionPlanCourse> getPlannedCourse(ExecutionPlan plan)
      根据课程找出课程类型
      参数:
      cb -
      返回:
    • isUnplannedTerm

      public static boolean isUnplannedTerm(Terms terms)
      确定是不是不定开课学期的
      参数:
      term -
      返回:
    • getGroupCredits

      public static float getGroupCredits(CourseGroup group, int term)
    • getPlanCourses

      public static List<ExecutionPlanCourse> getPlanCourses(ExecutionPlan plan, int term)
      获得一个专业培养计划中,在term学期上课的ExecutePlanCourse
      参数:
      plan -
      terms - 要查询的学期,多个学期用逗号分割比如1,2,3
      返回:
    • getPlanCourses

      public static List<PlanCourse> getPlanCourses(CourseGroup group, int term)
      获得一个课程组中,在term学期上课的ExecutePlanCourse
      参数:
      courseGroup -
      term -
      返回:
    • openOnThisTerm

      public static boolean openOnThisTerm(Terms terms, int term)
      根据开课学期字符串来判断是否在这个学期开课
      参数:
      terms - 开课学期字符串
      term - 某个学期
      返回:
    • getPlanCoursesUntilTerm

      public static List<PlanCourse> getPlanCoursesUntilTerm(CourseGroup courseGroup, int term)
      获得一个课程组中,到term为止需要上的所有PlanCourse
      参数:
      courseGroup -
      term -
      返回: